From 647ac78a2a3ff1bf3eb9a1ed432dac399643dc40 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 5 Jul 2016 15:37:05 +0200 Subject: [PATCH] Move the account_payment_mode ir.rule in account_payment_mode module --- account_payment_mode/security/account_payment_mode.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 account_payment_mode/security/account_payment_mode.xml 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])] + + +