Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3678 Zobrazení

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.



Avatar
Zrušit

Hi dean , please describe your method clearly so we can solve your problem if we know

Nejlepší odpověď

. 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... )

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvn 15
4113
0
zář 24
1249
2
kvě 24
9228
1
dub 23
5137
7
dub 23
19155