[FIX] account: avoid traceback when using the 'with tax' filter of reconciliation models
Field tax_id has been replaced by tax_ids by commit https://github.com/odoo/odoo/commit/4d7f0526122084e7be08212bd5ef9935603605ff . The filter had not been adapted properly and raised a traceback, as tax_id did not exist anymore. closes odoo/odoo#32231 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
@@ -962,7 +962,7 @@
|
||||
<field name="model">account.reconcile.model</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Bank Reconciliation Move preset">
|
||||
<filter string="With tax" name="withtax" domain="[('tax_id','!=',False)]"/>
|
||||
<filter string="With tax" name="withtax" domain="[('tax_ids','!=',False)]"/>
|
||||
<field name="amount_type"/>
|
||||
<field name="journal_id"/>
|
||||
</search>
|
||||
|
||||
Reference in New Issue
Block a user