Tuesday, August 12, 2025
2 changes
Enhancements to existing features
The Documents sharing panel is now easier to use and supports sharing multiple documents at once. Users can also find shared documents more quickly with new search options and filters for shared links, media files, and URLs.
Original PR description
[IMP] documents{_hr|_spreadsheet}: improve share panel We convert the share panel in a wizard and improve it by allowing sharing multiple documents at once. Technical notes: - if we set partner_id…
[IMP] documents{_hr|_spreadsheet}: improve share panel
We convert the share panel in a wizard and improve it by allowing sharing multiple documents at once.
Technical notes:
- if we set partner_id and documents_share_id fields as required in documents_share_access, it doesn't work (ex.: wizard button not updated when deleting an access).
- if we set original_role as required in documents_share_access, it cause a validation error when updating the role when the wizard is saved (original_role is empty while it has been initialized with a value). We cannot set it readonly either (cause "format requires a mapping" error).
[IMP] documents: improve document search
We add a "shared with" in quick search to easily look for all documents/folders shared with a contact.
And we add the following filters:
- to display all files and folder in anyone with the link.
- to display only images and videos
- to display only URL
[IMP] documents: add an option to avoid propagate rights
As we want to avoid propagating rights when updating rights on files and folders at the same time. We add an option to avoid propagating rights on the method action_update_access_rights of documents.document.
Task-4848234Saudi payroll now includes updated salary rule calculations, annual leave setup, and employee/contract fields for common local costs such as Iqama, medical insurance, work permits, and exit re-entry. This helps businesses in Saudi Arabia calculate payroll obligations and leave-related compensation more accurately within one consolidated payroll structure.
Original PR description
- Added a new option in settings to set the "Annual Leave" time-off type. - Added new fields in `hr.contract` for: - Iqama Annual Amount - Medical Insurance Annual Amount - Work Permit Annual Amount…
- Added a new option in settings to set the "Annual Leave" time-off type. - Added new fields in `hr.contract` for: - Iqama Annual Amount - Medical Insurance Annual Amount - Work Permit Annual Amount - Added new fields in `hr.payslip` for: - Include Exit-Re-Entry - Exit Re-Entry Amount - Added Rule Parameters for: - Saudi GOSI Company Contribution - Non-Saudi GOSI Company Contribution - Saudi Arabia Overtime Rate - Added new field in `hr.employee` to calculate number of remaining annual leave days. - Merged "Saudi Employees Payroll Structure" and "Expat Employees Payroll Structure" into a single "Saudi Employees Payroll Structure" with updated salary rules. - Updated salary rules - Out of Contract Days - Sick Leave Calculation - Remaining leave days compensation - Company contributions for Medical Insurance, Iqama, and work permit - Exit re-entry - Annual Leave Provision - Unpaid Leave [Amendment] - Overtime Calculation task-4460705