Sunday, September 21, 2025
1 change · 18.0
Resolved issues and error corrections
Spanish Mod 347 tax reports now include withholding tax lines when calculating report totals. This prevents understated amounts in relevant sales and services lines, helping businesses submit more accurate Spanish tax declarations.
Original PR description
Withholding taxes should be taken into account in mod347 tax report. Steps: - Create a bill for a spanish customer - Set the amount of 40000, tax 21% and 15% withholding tax - Go to mod347 tax report -> Line "B - Sales of goods and services greater than 3.005,06 €" is showing 42,400.00 instead of 48,400.00 (same goes for other lines with similar configuration) Before this commit, custom engines domains were only including aml with payable or receivable account. With this commit, we include tax lines that are of type 'retencion' in the custom engines domains. opw-4448662 Forward-Port-Of: odoo/enterprise#94338