Is there a way to add domain on one2many field? So far I am returning:
return {
'domain':{
'mrp_stock_line_ids':[('id','=',product_id)]
}
}
but it is not doing anything, also I get no error.
Is there a way to add domain on one2many field? So far I am returning:
return {
'domain':{
'mrp_stock_line_ids':[('id','=',product_id)]
}
}
but it is not doing anything, also I get no error.
. you are setting domain on mrp_stock_line_ids field, and want to show (line) id = product_id... .try
[('product_id','=',product_id)] for a domin...
(guess you want to show only lines wich has selected product... )
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
1
cze 15
|
5658 | |||
|
0
wrz 24
|
2947 | |||
|
dynamic domain in one2many
Rozwiązane
|
2
maj 24
|
11729 | ||
|
1
kwi 23
|
7237 | |||
|
7
kwi 23
|
21141 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Hi dean , please describe your method clearly so we can solve your problem if we know