Monday, May 18, 2026
1 change · master
New functionality added to Odoo
This update establishes the foundational setup for processing payroll in Oman, aligning with local labor laws. It includes a demo company, employee data, a standard working schedule, and a new salary structure with rules for bonuses, allowances, and social contributions. This provides a base for future payroll enhancements and testing within the Omani market.
Original PR description
[ADD] l10n_om_hr_payroll: base setup for Oman payroll localization [ADD] l10n_om_hr_payroll: accrual plan, SPF, Overtime, & EOS salary rules Introduce the foundational setup for the Oman payroll…
[ADD] l10n_om_hr_payroll: base setup for Oman payroll localization
[ADD] l10n_om_hr_payroll: accrual plan, SPF, Overtime, & EOS salary rules
Introduce the foundational setup for the Oman payroll localization based on Oman's Labor Law. This serves as the base for subsequent enhancements and related tasks.
The setup includes demo data, a standard working schedule, and an Omani salary structure with standard and specific rules aligned with local requirements.
The goal of this change is to establish an initial framework for the Omani localization, enabling consistent development and functional testing. Providing demo data for the company and employees facilitates immediate use and demonstration of payroll features, while the defined 9–5 working schedule (Sunday–Thursday, Asia/Oman timezone) reflects local business practices.
Technical summary:
- **Added demo company:** “My Omani Company”.
- **Added demo employees:** Linked to the company with localized education and contract data.
- **Defined standard working schedule:** (9:00–17:00, split morning/afternoon, Sunday–Thursday, Asia/Oman timezone).
- **Introduced salary structure “Oman: Monthly Pay”:** Includes standard salary rules and the following additions:
- **Bonus:** Added as an Other Input.
- **Other Allowance:** Salary input at employee level with a corresponding rule under category “Allowances”.
- **Total Wage:** New parent category grouping “Allowances” and “Basic Salary”.
- **Expenses Reimbursement:** Added as an Other Input.
- **Renamed “Taxable Salary” to “Gross”:** To align with local terminology.
- **Social Protection Fund (SPF):** Added fields and logic for Employee and Employer contributions covering Old Age, Disability and Death , Unemployment, Work Injury, Sick Leave, and Maternity.
- **End of Service (EOS):** Introduced an EOS eligibility toggle on the employee record and a "Provision Payout" salary rule category.
- **Leave Accrual:** Added an "Oman Employee Plan" with a monthly accrual of and annual sick leaves.
- **Overtime Rules:** Defined rules for Daytime, Nighttime, and Rest Day overtime within the attendance and work entry.
task-5189116
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr