diff --git a/views/res_partner.xml b/views/res_partner.xml index fc8d2a685eb03e29e9c6be317c03bd33ced7dba9..9194aae4761a72520c98b16a09cc42756281e320 100644 --- a/views/res_partner.xml +++ b/views/res_partner.xml @@ -82,7 +82,7 @@ </field> <field name="parent_id" position="attributes"> <attribute name="options">{'no_create': True}</attribute> - <attribute name="domain">[('is_company', '=', True)]</attribute> + <attribute name="domain">[('is_company', '=', True), ('ur_id', '=', ur_id)]</attribute> <attribute name="placeholder">Société</attribute> </field> <xpath expr="//div[hasclass('oe_title')]" position="attributes">