mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Remove internal_type=other restriction for transfer account (#311)
This commit is contained in:
committed by
Pedro M. Baeza
parent
9bc158679f
commit
5f576a6d3f
@@ -67,6 +67,7 @@ Contributors
|
||||
* Raphaël Valyi
|
||||
* Sandy Carter
|
||||
* Angel Moya <angel.moya@domatix.com>
|
||||
* Jose María Alzaga <jose.alzaga@aselcis.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
# © 2013-2014 ACSONE SA (<http://acsone.eu>).
|
||||
# © 2014-2016 Tecnativa - Pedro M. Baeza
|
||||
# © 2016 Akretion (<http://www.akretion.com>).
|
||||
# © 2016 Aselcis (<http://www.aselcis.com>).
|
||||
# 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, "
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user