diff --git a/account_payment_mode/security/account_payment_mode.xml b/account_payment_mode/security/account_payment_mode.xml new file mode 100644 index 000000000..609bc0f79 --- /dev/null +++ b/account_payment_mode/security/account_payment_mode.xml @@ -0,0 +1,10 @@ + + + + + Payment mode multi-company rule + + ['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])] + + + diff --git a/account_payment_order/security/payment_security.xml b/account_payment_order/security/payment_security.xml index cb5ce34f2..54c749ef8 100644 --- a/account_payment_order/security/payment_security.xml +++ b/account_payment_order/security/payment_security.xml @@ -14,13 +14,6 @@ - - - Payment mode multi-company rule - - ['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])] - -