Odoo Help


On_change domain on one2many field

on 4/11/15, 6:46 PM 782 views

Is there a way to add domain on one2many field? So far I am returning:

return {





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

Ajeng Shilvie
on 4/13/15, 11:24 AM



| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 6/9/15, 6:47 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/11/15, 6:46 PM
Seen: 782 times
Last updated: 6/9/15, 6:47 AM