Skip to Content
Menu
This question has been flagged
2 Replies
2009 Views

I have two many2one field pointing to contacts, 

I would like the selection of the second one to be restricted to the contact "owned" by the first one.

For example, on an order I would like the selection of a "customer reference person" that has to be a contact of the customer company.

I found the solution setting the domain for older Odoo releases, but not for the newest ones.

Avatar
Discard
Author Best Answer

Thans, the correct domain is

[("parent_id","=",partner_id)]



Avatar
Discard
Related Posts Replies Views Activity
2
Jul 22
2812
1
Sep 21
2498
3
Sep 21
7268
2
Sep 21
7710
1
Sep 21
1890