Skip to content

Commit

Permalink
Remove internal_type=other restriction for transfer account (OCA#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
jalzaga authored and wpichler committed Oct 25, 2022
1 parent bf338cd commit f9a9638
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions account_payment_order/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Contributors
* Raphaël Valyi
* Sandy Carter
* Angel Moya <[email protected]>
* Jose María Alzaga <[email protected]>

Maintainer
----------
Expand Down
3 changes: 2 additions & 1 deletion account_payment_order/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, "
Expand Down
4 changes: 2 additions & 2 deletions account_payment_order/models/account_payment_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit f9a9638

Please sign in to comment.