Saturday, September 26, 2026
4 changes · saas-19.2
Resolved issues and error corrections
Fixed an issue where certain Point of Sale loyalty discounts could be calculated too low when an order included products with different taxes and a negative-priced item. The discount is now distributed proportionally so reward lines add up correctly, preventing customers from being overcharged.
Original PR description
Steps to reproduce: - Product A with a price-included tax, product B with a negative price and another tax (or none) - Promotion with a fixed amount discount on specific products (or on the order),…
Steps to reproduce: - Product A with a price-included tax, product B with a negative price and another tax (or none) - Promotion with a fixed amount discount on specific products (or on the order), both products eligible - Add both products to a PoS order Issue: The discount is split per tax group with a common factor, so the negative line gets a positive reward line, which is expected. But the reward lines add up to less than the discount and the customer pays too much. Cause: Since 7280f3597ece each tax group is capped with `Math.min(get_total_with_tax(), amount)`. A single tax group is compared with the total of the whole order: here the total includes the negative line, so the positive group is lowered while the negative one is kept as is. Fix: Apply the cap proportionally: every tax group is scaled by the ratio between the order total and the discountable amount when the total is lower. The scenario of 7280f3597ece gives the same result, and the reward lines add up to the discount whatever the number of tax groups. opw-6567973 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#288985 Forward-Port-Of: odoo/odoo#288853
Indian e-Way Bill calculations now account for global discounts applied to invoices or orders. This helps ensure the generated e-Way Bill values match discounted transaction totals, reducing reporting mismatches and manual corrections.
Original PR description
Before this commit- We didn't consider, global discount for ewaybill After this commit- We consider the global discount for ewaybill opw-6592878 task-[6596257](https://www.odoo.com/odoo/project/967/tasks/6596257) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#290217
The Swiss payroll employee form now includes the work permit expiration date on the Personal Information page. This ensures HR contract status updates can use the required date consistently, helping avoid incorrect contract processing for employees with work permits.
Original PR description
…_date in employee form Add work_permit_expiration_date in Personnal Information page field is added in the standard view here: https://github.com/odoo/odoo/blob/18.0/addons/hr/views/hr_employee_views.xml#L184 this module override standard employee form view by making the entire Personal Information page invisible if CH and rewriting it: https://github.com/odoo/enterprise/blob/18.0/l10n_ch_hr_payroll_elm_transmission/views/l10n_ch_hr_payroll_employee_views.xml#L23 standard module hr_contract use this field in method [update_state](https://github.com/odoo/odoo/blob/18.0/addons/hr_contract/models/hr_contract.py#L184) called by cron [ir_cron_data_contract_update_state](https://github.com/odoo/odoo/blob/18.0/addons/hr_contract/data/hr_contract_data.xml#L53) Forward-Port-Of: odoo/enterprise#129875
Documentation and clarification updates
A contributor has signed the required Odoo Individual Contributor License Agreement. This clears the legal requirement for accepting their related contribution and helps keep the project’s licensing records complete.
Original PR description
Signature of the Odoo Individual Contributor License Agreement v1.0 for @mmircoli-nexapp, needed for the fix related to #290493. I confirm I have read the [CLA](https://github.com/odoo/odoo/blob/18.0/doc/cla/icla-1.0.md) and that the committer email matches the one used in my contributions. Forward-Port-Of: odoo/odoo#290549