Daily updates from Odoo
Monday, July 13, 2026
4 changes · master
Enhancements to existing features
Saudi payroll run reports now show Total Cost based on net cost and replace the gross section with Total GOSI Contribution. This gives payroll teams clearer, localization-specific totals for reviewing employer and employee social insurance costs, with tests added to protect the calculation.
Original PR description
[IMP] l10n_sa: adjustments in costs of payrun
For Saudi Localization:
1 - In payrun costs section, the label of employer cost became Total Cost and its value became NETCOST (We show the sum of NETCOST in there)
2 - Gross section is removed and we are showing Total GOSI Contribution and its value is the summation of abs(GOSI_COMP) + abs(GOSI_EMP)
task - 6326336Belgian payroll now uses one company number field instead of multiple overlapping entries, reducing confusion during setup. Existing data is preserved during upgrade, and DMFA reporting uses the same BCE company number consistently.
Original PR description
The Belgian payroll configuration exposed three overlapping "numbers" that were confusing and poorly documented: - ONSS Company ID (onss_company_id) - ONSS Registration Number (onss_registration_number) - Company Number (l10n_be_company_number) `onss_company_id` was labelled "ONSS Company ID" but its tooltip described the BCE (Crossroads Bank for Enterprises) enterprise number, and its placeholder looked like an ONSS matricule. It was in fact a redundant duplicate of `l10n_be_company_number`: in the DMFA, the <CompanyID> element is the BCE enterprise number. Remove the redundant `onss_company_id` field and make `l10n_be_company_number` the single source of truth, including for the DMFA <CompanyID>. Document it with the help "A 10 digits number issued by BCE" and surface the Company Number in the payroll settings page. Data is preserved in an upgrade script: where the two values differ, `onss_company_id` is copied into `l10n_be_company_number`. task-6352367
Resolved issues and error corrections
This fixes the setup used to import ONSS rates for Belgian payroll. It helps ensure payroll calculations use the correct social security rate configuration, reducing the risk of incorrect payroll processing.
Original PR description
task-6370115
Attendance administrators without Payroll or Employees permissions can now open the Attendances app and view overtime rule details without access errors. This ensures the right managers can manage attendance-related settings without needing broader employee or payroll access.
Original PR description
Issue ======== Currently, a user with Attendances administration rights and no Payroll/Employees rights is unable to access the app attendances, and even inside the app, they cannot view the individual rules of the Overtime Rulesets menu. Fix ======== - Allow attendance admins to access `hr.version` fields (`contract_date_start` and `contract_date_end`) with the new custom group rights created in `hr` and `hr_attendance`, to prevent access errors when viewing overtime rules. TaskID-6128198