From 28cf1a046a9db9228ff5df4852ddd5530046dd06 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Thu, 22 Dec 2016 17:06:21 +0100 Subject: [PATCH] [FIX]account: Selecting all the taxes on "account.reconcile.model" As we can select all the taxes on bank statement reconciliation, we apply this logic on account.reconcile.model opw:779940 --- addons/account/models/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/account.py b/addons/account/models/account.py index 1a4609b3cb7..cf0dcc4a605 100644 --- a/addons/account/models/account.py +++ b/addons/account/models/account.py @@ -1022,7 +1022,7 @@ class AccountReconcileModel(models.Model): ('percentage', 'Percentage of balance') ], required=True, default='percentage') amount = fields.Float(digits=0, required=True, default=100.0, help="Fixed amount will count as a debit if it is negative, as a credit if it is positive.") - tax_id = fields.Many2one('account.tax', string='Tax', ondelete='restrict', domain=[('type_tax_use', '=', 'purchase')]) + tax_id = fields.Many2one('account.tax', string='Tax', ondelete='restrict') analytic_account_id = fields.Many2one('account.analytic.account', string='Analytic Account', ondelete='set null') second_account_id = fields.Many2one('account.account', string='Second Account', ondelete='cascade', domain=[('deprecated', '=', False)])