Daily updates from Odoo
Wednesday, April 15, 2026
7 changes · master
Resolved issues and error corrections
This update corrects the employment bonus calculations in Odoo's Belgian payroll module (l10n_be_hr_payroll) to reflect the latest regulations from Partena Professional, effective April 1, 2026. This ensures accurate payroll processing for Belgian employees and maintains compliance with local tax laws.
Original PR description
https://www.partena-professional.be/fr/le-bonus-lemploi-au-1er-avril-2026?utm_source=sfmc&utm_medium=email&utm_campaign=InfoFlash+Daily+Mail+-+FR&utm_content=article-read-more-cta&utm_term=All%20Subscribers&utm_id=81873&sfmcContactKey=litom@odoo.com Forward-Port-Of: odoo/enterprise#112970
This update resolves an issue where ticket submissions with emails in different cases (e.g., 'Partner@mail.com' vs. 'partner@mail.com') incorrectly created a new partner. Now, the system correctly identifies and uses the intended partner, preventing duplicate entries and ensuring accurate ticket assignment.
Original PR description
**Steps to reproduce** - Create a first partner (name: "Partner", email: "partner@mail.com", phone: "123"). - Go to the website form of a helpdesk team, and submit a ticket using "Partner@mail.com"…
**Steps to reproduce**
- Create a first partner (name: "Partner", email: "partner@mail.com", phone: "123").
- Go to the website form of a helpdesk team, and submit a ticket using "Partner@mail.com" as email (notice the different capitalization) and "456" as phone number.
Behavior without this fix: a new partner is created, but the ticket is assigned to the orignal partner ("partner@mail.com") and its phone number is updated.
Behavior after this fix: no partner is created.
**Causes**
- the partner search was case sensitive
- the created partner was not used as the `partner_id` of the ticket as it was added to the params but needs to be in the kwargs passed to `handle_website_form` in order to be found used by `extract_data`. The original partner was found in `_find_or_create_partner` by the call to
`_mail_find_partner_from_emails` (case-insensitive)
Note: this commit also ensures consistency between the partner's company and the ticket's company (same as in `_find_or_create_partner` of `helpdesk.ticket`).
Also, avoid allowing modifying existing partner's phone via this form.
opw-5914064
Forward-Port-Of: odoo/enterprise#113613
Forward-Port-Of: odoo/enterprise#109393This update fixes an issue where subscription discounts were incorrectly calculated due to how the base plan price was used. The fix ensures accurate discount calculations by dividing the base plan price by its unit, leading to more reliable pricing on subscription product pages. This improves the consistency and accuracy of subscription offerings.
Original PR description
### Steps to reproduce: - Install Subscriptions and eCommerce modules - Create 3 recurring plans (3 months, 6 months, Yearly) - Create a service subscription product with the created recurring plans - Check the product's page on website - Notice each pricing has a discount tag and with incorrect numbers ### Cause: When calculating the discount we normally use the fixed price of the base plan as the price to compare with. This sometimes introduce inconsistencies if the base plan is not just one unit from the period (>1 week/month/year) ### Fix: We divide the base_plan_price by the unit of the plan so we can get the price of just one plan unit. opw-6048278 Forward-Port-Of: odoo/enterprise#112305
This update resolves an issue where bank statement lines were incorrectly defaulting to 'upload bills.' Now, the system accurately distinguishes between positive and negative bank statements, presenting the appropriate 'upload bills' or 'upload invoices' option. This ensures accurate reconciliation processes.
Original PR description
Fixed an issue where the default for positive and negative bank statement lines were upload bills, now it distinguishes between positive and negative bank statement lines and shows upload bills/invoices accordingly.
This update fixes a calculation error in the employment bonus payments for Belgian businesses. The change ensures that the bonus calculations now fully comply with the specific rounding requirements outlined by Belgian social security regulations, as detailed in the official documentation. This ensures accurate and compliant bonus payments for employees.
Original PR description
The employment bonus computation was missing two roundings steps that are explicitely asked for in the following documentation: https://www.socialsecurity.be/employer/instructions/dmfa/fr/latest/instructions/deductions/workers_reductions/workbonus.html Forward-Port-Of: odoo/enterprise#113776
This update fixes an issue where global invoices generated from customer invoices weren't correctly incorporating the issued address's zip code into the XML file. The change ensures that the 'LugarExpedicion' field in the XML accurately reflects the customer's shipping address, improving compliance with Mexican tax regulations. This resolves a reported problem (opw-5956837) and ensures accurate invoice data.
Original PR description
**STEP TO REPRODUCE** 1. install l10n_mx_edi_extended. 2. Add an issued address on the customer invoice journal, with a zip code. 3. Create invoices, and create a global invoice with them. 4. download the xml, and notice the field LugarExpedicion is not using the zip from the issued address while it should. opw-5956837 Forward-Port-Of: odoo/enterprise#112523 Forward-Port-Of: odoo/enterprise#108732
A recent update removed essential COA buttons from the l10n_mx_reports trial balance report for Mexican businesses. This fix restores these buttons, ensuring users can generate required COA documents as mandated by Mexican accounting regulations. This resolves a critical issue impacting report functionality.
Original PR description
After https://github.com/odoo/enterprise/pull/103445, the multiple mx modules reports were merged into one, on that transition it seems that the buttons required to print the COA documents were removed. As these are a necessary documents in MX localization, we add them again since they should not be removed. How to reproduce: - Install l10n_mx_reports module with demo data - Change to INNOVACION VALOR Y DESARROLLO SA SA company - Go to accounting app and select Trial Balance under reporting menu - Click on gear button. - COA SAT and SAT buttons don't appear. target: master