Monday, December 29, 2025
2 changes · master
Enhancements to existing features
This update aligns Odoo's Thailand localization with the specific requirement for 5-digit Branch Codes. The change clarifies how Branch Codes are used and validates them correctly, ensuring accurate reporting and compliance within the Thai market. This improves the reliability of financial data for Thai businesses using Odoo Enterprise.
Original PR description
The related community PR substitutes 'Branch Code' for 'Company ID' (company_registry). Since Thailand uses strictly 5 digit Branch Code, the validation is applied and the test case has been adjusted accordingly in this commit. task-5402592
This update ensures all work entries are consistently set to 'draft' status, streamlining payroll processing. The change was made to centralize work entry management within the core HR payroll module. This improves data accuracy and simplifies workflows for HR administrators.
Original PR description
-The action_set_to_draft should set any work entry to draft regardless of the situation. -The record has been moved inside hr_payroll module.