Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3784 Переглядів

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.



Аватар
Відмінити

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

Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
черв. 15
4209
0
вер. 24
1346
2
трав. 24
9430
1
квіт. 23
5292
7
квіт. 23
19307