Daily updates from Odoo
Friday, August 2, 2024
2 changes
Resolved issues and error corrections
Fixed a bug where AvaTax fixed tax amounts were incorrectly being interpreted as percentage-based taxes. When computing taxes for invoices using AvaTax, fixed fees (like a $0.29 delivery fee) were being displayed as percentages (29.0000%), causing incorrect tax calculations. This fix ensures that fixed taxes from AvaTax are properly recognized and applied as fixed amounts rather than percentages.
Original PR description
To reproduce: Activate Avatax (in Sandbox mode) Create an invoice to a partner from Colorado Put the 0F4000000 code on the Avatax Category of a product Create a line with this product Click on "Compute Taxes" => A tax named "Retail Delivery Fee [08] (29.0000 %)" is created The issue is that if you look on Avatax, it's supposed a fixed 0.29 tax. opw-4036105 Forward-Port-Of: odoo/enterprise#66973
This update fixes multiple compliance issues in Ecuador's ATS (Anexo Transaccional Simplificado) tax report to align with SRI (tax authority) requirements. The changes remove unsupported document types that cause validation errors, correct how sales transactions are filtered and reported by commercial partner and establishment location, and update related test cases to ensure accurate tax reporting.
Original PR description
### Fixes in ATS report:
- Remove foreign documents '15' and '110'. SRI DIMM returns a validation error

- In sales, filter by commercial partner and not by partner because there may be different addresses (the ATS validates by ID number).
- In sales, change the emission point to entity point (tag "codEstab" and "numEstabRuc"). As it says the Technical Sheet of ATS

- In sales, Get all the establishments registered at the SRI (tag "ventasEstablecimiento"). As it says the Technical Sheet of ATS

- Fix Unit tests