From 10ff42e0a2e1656f36f86d5b87b2734b59a89f13 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/__manifest__.py | 2 +- account_payment_order/security/payment_security.xml | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/account_payment_order/README.rst b/account_payment_order/README.rst index f257e59a3..391730823 100644 --- a/account_payment_order/README.rst +++ b/account_payment_order/README.rst @@ -71,6 +71,7 @@ Contributors * Angel Moya * Jose MarĂ­a Alzaga * Meyomesse Gilles +* Carlos Dauden Maintainer ---------- diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index c72235076..2aad83c3a 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -8,7 +8,7 @@ { 'name': 'Account Payment Order', - 'version': '11.0.1.1.2', + 'version': '11.0.1.2.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 04f3561d5..931d4dbd1 100644 --- a/account_payment_order/security/payment_security.xml +++ b/account_payment_order/security/payment_security.xml @@ -26,6 +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])] + +