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)])