Wednesday, March 11, 2026
3 changes · 19.0
New functionality added to Odoo
This update introduces a 'Net Cost' salary rule specifically for Saudi Arabia payroll, addressing complexities in employer contributions. It adjusts how employee and employer costs are calculated, particularly for rules like GOSI, ensuring accurate deductions and contributions. This change improves payroll accuracy for Saudi businesses using Odoo Enterprise.
Original PR description
This PR introduces a new salary rule 'Net Cost' since setting appears_on_employee_cost_dashboard as True on the salary rule considers the sign on the rule, and for cases like the GOSI Employee Rule we need the sign to be negative to deduct from the employee but also increase the employer contribution amount. - adjusted provision rules to be part of a new category - adjusted remaining days to be allowance instead of company contribution - NET salary doesn't contribute to employer cost - New salary rule 'net cost' contributes to employer cost. Task-5894405
Resolved issues and error corrections
This update resolves an issue preventing users from setting up Amazon accounts in environments with multiple companies. Previously, the onboarding process was limited to the website company, causing errors when the Amazon account didn't match. Now, users can access all their companies during the setup, ensuring a smoother and more reliable experience.
Original PR description
The onboarding return route is a website route with access restricted to the website company only. This causes an error when the company doesn't match the Amazon account being connected. This commit allows users to access all their companies during Amazon account setup to avoid this mismatch error. opw-5944078 Forward-Port-Of: odoo/enterprise#109882 Forward-Port-Of: odoo/enterprise#109590
This update corrects a bug that prevented automatic matching of bank transactions with invoices when 'Outstanding Receipts' accounts were configured in the bank journal. The fix allows for amount matching, ensuring payments are correctly reconciled, improving financial accuracy. This resolves a previous issue impacting payment reconciliation workflows.
Original PR description
Steps to reproduce - Have a Bank journal with Outstanding Receipts accounts set - Create and confirm an invoice with a payment reference - Create the payment - Create a bank transaction with: - Label: any label - Partner: invoice partner - Amount: invoice full amount Issue: Transaction won't be matched automatically Analysis: Transaction will be automatically matched if the outstanding receipts account is not set. It occurs because in case it is set, the sytem will only try to match the communication pattern against the journal item of the payment, without trying amount matching Note: another solution could be to relax the communication matching. In the user case the invoice payment reference is something like `TEST-12345` and the payment communication `AAAAAAAAAAA /BBBBBBBBBBB TEST 12345` opw-5872387 Forward-Port-Of: odoo/enterprise#108564