From ba448655ba6ee97569b0e3388992d63670aff963 Mon Sep 17 00:00:00 2001 From: Jose Maria Alzaga Date: Sun, 13 Nov 2016 01:01:55 +0100 Subject: [PATCH 1/2] Remove internal_type=other restriction for transfer account --- account_payment_order/__manifest__.py | 4 +++- account_payment_order/models/account_payment_mode.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index c40bc502025..bd18dbdc5e5 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -4,16 +4,18 @@ # © 2013-2014 ACSONE SA (). # © 2014-2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Akretion (). +# © 2016 Aselcis (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'Account Payment Order', - 'version': '10.0.1.1.0', + 'version': '10.0.1.1.1', 'license': 'AGPL-3', 'author': "ACSONE SA/NV, " "Therp BV, " "Tecnativa, " "Akretion, " + "Aselcis, " "Odoo Community Association (OCA)", 'website': 'https://github.com/OCA/bank-payment', 'category': 'Banking addons', diff --git a/account_payment_order/models/account_payment_mode.py b/account_payment_order/models/account_payment_mode.py index bd97fe5bd71..b41e46e3710 100644 --- a/account_payment_order/models/account_payment_mode.py +++ b/account_payment_order/models/account_payment_mode.py @@ -61,9 +61,9 @@ class AccountPaymentMode(models.Model): ], string='Offsetting Account', default='bank_account') transfer_account_id = fields.Many2one( 'account.account', string='Transfer Account', - domain=[('internal_type', '=', 'other'), ('reconcile', '=', True)], + domain=[('reconcile', '=', True)], help="Pay off lines in 'file uploaded' payment orders with a move on " - "this account. You can only select accounts of type regular " + "this account. You can only select accounts " "that are marked for reconciliation") transfer_journal_id = fields.Many2one( 'account.journal', string='Transfer Journal', From 42fab8bf3b49eec6d9135efafc8c66eac829b250 Mon Sep 17 00:00:00 2001 From: Jose Maria Alzaga Date: Sun, 13 Nov 2016 16:57:04 +0100 Subject: [PATCH 2/2] set contributors --- account_payment_order/README.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/account_payment_order/README.rst b/account_payment_order/README.rst index 44afd8afe81..b546bfb071a 100644 --- a/account_payment_order/README.rst +++ b/account_payment_order/README.rst @@ -67,6 +67,7 @@ Contributors * Raphaël Valyi * Sandy Carter * Angel Moya +* Jose María Alzaga Maintainer ----------