From bd24c046b940b013c74e78a2ccc8dc92c3509421 Mon Sep 17 00:00:00 2001 From: Carlos Dauden Date: Thu, 3 May 2018 19:11:58 +0200 Subject: [PATCH] [FIX] account_payment_order: Add bank payment line multi-company rule --- account_payment_order/README.rst | 1 + account_payment_order/__openerp__.py | 2 +- account_payment_order/security/payment_security.xml | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/account_payment_order/README.rst b/account_payment_order/README.rst index 155cd61e5..4a4a00bb4 100644 --- a/account_payment_order/README.rst +++ b/account_payment_order/README.rst @@ -68,6 +68,7 @@ Contributors * Sandy Carter * Angel Moya * Jose Maria Alzaga +* Carlos Dauden Maintainer ---------- diff --git a/account_payment_order/__openerp__.py b/account_payment_order/__openerp__.py index d23d9c172..44ebb40ca 100644 --- a/account_payment_order/__openerp__.py +++ b/account_payment_order/__openerp__.py @@ -9,7 +9,7 @@ { 'name': 'Account Payment Order', - 'version': '9.0.1.3.0', + 'version': '9.0.1.4.0', 'license': 'AGPL-3', 'author': "ACSONE SA/NV, " "Therp BV, " diff --git a/account_payment_order/security/payment_security.xml b/account_payment_order/security/payment_security.xml index 095059f2a..a30ed36da 100644 --- a/account_payment_order/security/payment_security.xml +++ b/account_payment_order/security/payment_security.xml @@ -26,5 +26,12 @@ ['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])] + + Bank payment line multi-company rule + + ['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])] + + +