diff --git a/account_payment_mode/views/res_partner.xml b/account_payment_mode/views/res_partner.xml index 9aef62a24..61a1618e4 100644 --- a/account_payment_mode/views/res_partner.xml +++ b/account_payment_mode/views/res_partner.xml @@ -12,7 +12,7 @@ which prevents the selection of a contact --> - {'invisible': [('parent_id', '!=', False)]} + {'invisible': [('parent_id', '!=', False), ('is_company', '=', False)]}