Wednesday, April 2, 2025
3 changes · 18.0
Resolved issues and error corrections
Global invoices in Mexico now use the payment method tied to the largest paid amount, rather than the largest order. This helps ensure invoice details better match the actual payments received, reducing reporting errors and correction work.
Original PR description
We need to use the payment method linked to the biggest paid amount, not the payment method linked to the biggest order.
The Mexican Chart of Accounts report now formats the certificate number correctly so it meets the required 20-character standard. This helps companies generate valid XML reports for tax compliance and keeps the value consistent with CFDI reporting.
Original PR description
After the refactor by https://github.com/odoo/enterprise/commit/84cc09959d82dbceb4fe673b85464ef3d8630606 the noCertificado field in the COA (Chart of Accounts) report became invalid. - On a Mexican company, generate the COA report from the Trial Balance. - In the generated XML, the noCertificado tag exceeds 20 characters. This tag should contain exactly 20 characters and match the noCertificado from the CFDI report. This commit applies the same string manipulation for the COA repoart as the cfdi report (in the _add_certificate_cfdi_values method in the l10n_mx_edi module) source: http://www.sat.gob.mx/esquemas/ContabilidadE/1_1/BalanzaComprobacion/BalanzaComprobacion_1_1.xsd opw-4644489
Files in the Finance document area are now organized and managed through folders instead of tags. This makes finance document handling clearer and aligns related automated actions with the new folder-based structure.
Original PR description
Files inside Finance folder are now managed in folders instead of tags. Changed the server actions to use the created folders.