diff --git a/account_banking_payment_transfer/README.rst b/account_banking_payment_transfer/README.rst index 31bb64483..78fe749d7 100644 --- a/account_banking_payment_transfer/README.rst +++ b/account_banking_payment_transfer/README.rst @@ -63,6 +63,7 @@ Contributors * Matt Choplin * Alexandre Fayolle * Danimar Ribeiro +* Jose Maria Alzaga Maintainer ---------- diff --git a/account_banking_payment_transfer/__openerp__.py b/account_banking_payment_transfer/__openerp__.py index d40827f7f..059731901 100644 --- a/account_banking_payment_transfer/__openerp__.py +++ b/account_banking_payment_transfer/__openerp__.py @@ -2,11 +2,12 @@ # © 2009 EduSense BV () # © 2011-2013 Therp BV () # © 2013-2014 ACSONE SA (). +# © 2016 Aselcis Consulting (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'Account Banking - Payments Transfer Account', - 'version': '8.0.0.3.0', + 'version': '8.0.0.3.1', 'license': 'AGPL-3', 'author': "Banking addons community,Odoo Community Association (OCA)", 'website': 'https://github.com/OCA/banking', diff --git a/account_banking_payment_transfer/model/payment_mode.py b/account_banking_payment_transfer/model/payment_mode.py index a6aaebe01..b83cb6b5c 100644 --- a/account_banking_payment_transfer/model/payment_mode.py +++ b/account_banking_payment_transfer/model/payment_mode.py @@ -2,6 +2,7 @@ # © 2009 EduSense BV () # © 2011-2013 Therp BV () # © 2014 Akretion (www.akretion.com) +# © 2016 Aselcis (www.aselcis.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import models, fields @@ -12,7 +13,7 @@ class PaymentMode(models.Model): transfer_account_id = fields.Many2one( 'account.account', string='Transfer account', - domain=[('type', '=', 'other'), ('reconcile', '=', True)], + domain=[('type', '!=', 'view'), ('reconcile', '=', True)], help='Pay off lines in sent orders with a move on this ' 'account. You can only select accounts of type regular ' 'that are marked for reconciliation') diff --git a/account_banking_payment_transfer/view/payment_mode.xml b/account_banking_payment_transfer/view/payment_mode.xml index 63cafb4bc..c19549f36 100644 --- a/account_banking_payment_transfer/view/payment_mode.xml +++ b/account_banking_payment_transfer/view/payment_mode.xml @@ -13,11 +13,10 @@