[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
This commit is contained in:
Adrien Peiffer (ACSONE)
2017-11-21 15:25:58 +01:00
committed by Goffin Simon
parent 454febcc7f
commit 28cf1a046a
+1 -1
View File
@@ -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)])