odoo/enterprise#33083

Created by Accounting, Paolo Gatti (pgi)
Closed
label
odoo-dev:14.0-l10n-it-edi-ritenuta-pgi
head
bdaa7e293b59c2b21daca25eab6f9f6164f9070e
odoo/odoo odoo/enterprise
14.0 #96930 #33083

[IMP] account_reports: tax reports should take default taxes, not first

The "search" function looks for the first sale/purchase tax it founds ordered by sequence, instead of using the default set on the company. This goes against both common sense and l10n_it's implementation that requires withholding taxes to have a lower sequence than the default one.

Community PR: odoo/odoo#96930