Thursday, May 2, 2024
3 changes · saas-17.1
Enhancements to existing features
Mexican electronic invoicing now uses a shared helper to determine UNSPSC product codes and corrects the default unit-of-measure code. This improves consistency and helps reduce invoice validation issues for Mexican localization users.
Resolved issues and error corrections
Early bill printing in Point of Sale no longer produces multiple empty pages. This improves the checkout experience by ensuring printed bills contain only the expected content and avoids wasted paper.
Original PR description
Before this commit, if you print the bill early, there will be several empty pages. The problem is that the Bill printing screen is inside the `o-main-components-container` and causing the issue. This commit fixes the issue by adjusting the CSS rules to hide all elements inside `o-main-components-container` except for the `render-container-parent` and `render-container` during print, preventing the printing of empty pages. opw-3878695 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Updates Colombian electronic invoicing so documents pass DIAN's Anexo 1.9 validations introduced on May 1. Exchange-rate information is now only included when needed, and credit/debit notes without a referenced invoice include the required new fields.
Original PR description
Issue: DIAN activated the changes of Anexo 1.9 on May 1st. Currently our documents fail some (new) validations: * The TDC section should only be exported when the invoice is not in COP (since it is used for exchange rate information) * New tags ENC_11 and ENC_12 are needed in case there is no referenced invoice on a debit or credit note. (example discounts for early payments or discounts for rebates) Fix: This commit fixes these issues s.t. the validation passed again. * The TDC section is only displayed if invoice is not in company currency (assumed to be 'COP' anyway in more places) * The new ENC_11 and ENC_12 tags are added (conditionally) **manual forward port** of https://github.com/odoo/enterprise/pull/61841