From 50fb7cd6b4a473820594fd5648a3b573aae64c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Sun, 14 Feb 2016 19:42:34 +0100 Subject: [PATCH] Mandates multicompany error #242 The restriction rule Banking Mandate multi-company, gives an error when editing a partner bank account from a company A when that account has created a mandate from another company B. So it is impossible to create a mandate for each company without disabling the rule. Solution: Uncheck the rule writte in Banking Mandate multi-company. But i'm not sure this is correct. --- account_banking_mandate/security/mandate_security.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/account_banking_mandate/security/mandate_security.xml b/account_banking_mandate/security/mandate_security.xml index 889413a84b12..5ca991c0bdca 100644 --- a/account_banking_mandate/security/mandate_security.xml +++ b/account_banking_mandate/security/mandate_security.xml @@ -13,6 +13,10 @@ Banking Mandate multi-company ['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])] + + + +