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.
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... )
Create an account today to enjoy exclusive features and engage with our awesome community!
साइन अप करें| Related Posts | Replies | डेटा देखने का तरीका | ऐक्टिविटी | |
|---|---|---|---|---|
|
1
जून 15
|
5673 | |||
|
0
सित॰ 24
|
2973 | |||
|
dynamic domain in one2many
Solved
|
2
मई 24
|
11751 | ||
|
1
अप्रैल 23
|
7261 | |||
|
7
अप्रैल 23
|
21171 |
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