Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove internal_type=other restriction for transfer account #311

Merged
merged 2 commits into from
Dec 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 3 additions & 1 deletion account_payment_order/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@
# © 2013-2014 ACSONE SA (<http://acsone.eu>).
# © 2014-2016 Serv. Tecnol. Avanzados - 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, "
"Tecnativa, "
"Akretion, "
"Aselcis, "
"Odoo Community Association (OCA)",
'website': 'https://github.com/OCA/bank-payment',
'category': 'Banking addons',
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