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... )
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Jun 15
|
4103 | ||
|
0
Sep 24
|
1246 | ||
dynamic domain in one2many
Diselesaikan
|
|
2
Mei 24
|
9223 | |
|
1
Apr 23
|
5134 | ||
onchange return domain for one2many product ID Field
Diselesaikan
|
|
7
Apr 23
|
19151 |
Hi dean , please describe your method clearly so we can solve your problem if we know