Wednesday, October 6, 2021
4 changes · master
Enhancements to existing features
This update removes shared Latin American invoice calculation fields from the common module and moves the logic into the Argentina and Chile localization modules where it is actually used. Business impact is limited to maintaining correct invoice reports for those countries while reducing unnecessary shared complexity.
Original PR description
**Description of the issue/feature this PR addresses:** Fields removed from l10n_latam: * l10n_latam_amount_untaxed * l10n_latam_tax_ids * l10n_latam_price_unit * l10n_latam_price_subtotal * l10n_latam_price_net Methods removed from l10n_latam: * compute_l10n_latam_prices_and_taxes * compute_l10n_latam_amount_and_taxes * _compute_invoice_taxes_by_group Move the removed methods to l10n_ar and l10n_cl and now it returns a dictionary with the removed fields as the keys. Also, adapt the invoices reports to get the required values from the new methods for each localization. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This update corrects several point of sale issues involving refunds, taxes, discounts, and coupon rewards. It helps cashiers process refunds more accurately, prevents mistaken removal of active promotions, and ensures eligible products still receive the right promotional discounts.
Original PR description
Forward port of https://github.com/odoo/odoo/pull/75929 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes several Point of Sale issues around refunds, discounts, taxes, coupons, and invoice payment details. It helps cashiers process refunds more accurately, prevents accidental coupon removal, and avoids duplicate or incorrect payment information on invoices.
Original PR description
Forward port of: * https://github.com/odoo/odoo/pull/75844 * https://github.com/odoo/odoo/pull/75929 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects how electronic invoicing data is converted for transmission, preventing formatting errors caused by Base64 handling. It helps ensure Italian e-invoices and proxy registration data are prepared correctly and sent more reliably.
Original PR description
When encoding a string or bytes with base64, the resulting byte string must be decoded to get the string back. * `addons/account_edi_proxy_client/models/account_edi_proxy_user.py` AccountEdiProxyUser._register_proxy_user() * `addons/l10n_it_edi/models/account_invoice.py` AccountMove._prepare_fatturapa_export_values() * `addons/l10n_it_edi_sdicoop/models/account_edi_format.py` AccountEdiFormat._l10n_it_post_invoices_step_1()