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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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... )
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
1
июн. 15
|
4705 | |||
|
0
сент. 24
|
1961 | |||
|
dynamic domain in one2many
Решено
|
2
мая 24
|
10146 | ||
|
1
апр. 23
|
5992 | |||
|
7
апр. 23
|
19920 |
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