Skip to content
Snippets Groups Projects
Commit cff6ce2b authored by Trịnh Ngọc Hưng's avatar Trịnh Ngọc Hưng Committed by william-andre
Browse files

[FIX] account: Domain fields transfer_account_id with deprecated is


False

closes odoo/odoo#122375

X-original-commit: 8754284f
Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 0314edf0
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,11 @@ class ResConfigSettings(models.TransientModel):
'Bank transactions are then reconciled on the Outstanding Payments Account rather the Payable Account.')
transfer_account_id = fields.Many2one('account.account', string="Internal Transfer Account",
related='company_id.transfer_account_id', readonly=False,
domain="[('reconcile', '=', True), ('account_type', '=', 'asset_current')]",
domain=[
('reconcile', '=', True),
('account_type', '=', 'asset_current'),
('deprecated', '=', False),
],
help="Intermediary account used when moving from a liquidity account to another.")
module_account_accountant = fields.Boolean(string='Accounting')
group_warning_account = fields.Boolean(string="Warnings in Invoices", implied_group='account.group_warning_account')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment