This question has been flagged
1 Reply
4675 Views

Domain on one2many field on the xml view not working?

Avatar
Discard
Best Answer

Odoo allows you to have a domain in one2many field. So, please post your Code, there is probably something wrong on it.

Avatar
Discard
Author

<firld name="foelds_o2m" domain="[('code','=','OP')]">

<tree>

<field name="name"/>

<field name="message"/>

</tree>

</field>