Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3724 Vizualizări

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.



Imagine profil
Abandonează

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

Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 15
4164
0
sept. 24
1290
2
mai 24
9311
1
apr. 23
5208
7
apr. 23
19198