port to 17.0 bemade_multiple_billing_contacts

This commit is contained in:
Benoît Vézina 2024-03-04 13:38:02 -05:00
parent 25e5ac4657
commit 731007f1b3

View file

@ -8,8 +8,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="partner_id" position="after"> <field name="partner_id" position="after">
<field name="billing_contacts" <field name="billing_contacts"
attrs="{'invisible': [('move_type', 'not in', invisible="move_type not in ('out_invoice', 'out_refund')"
('out_invoice', 'out_refund'))]}"
widget="many2many_checkboxes" widget="many2many_checkboxes"
domain="['|', '|', ('id', 'in', billing_contacts), domain="['|', '|', ('id', 'in', billing_contacts),
('parent_id', '=', partner_id), ('parent_id', '=', partner_id),