Daily updates from Odoo
Wednesday, January 22, 2025
1 change
Code cleanup and technical improvements
Work schedule fields previously tied to Payroll are now available from the shared resource model, so other apps can use them without requiring Payroll to be installed. This makes staffing and time-related features easier to reuse across modules while keeping behavior consistent.
Original PR description
Different modules could use the fields defined in hr_payroll/resource_calendar. However, these modules shouldn't require the payroll app to be installed in order to be able to use those fields. Hence the fields hours_per_week, full_time_required_hours, is_fulltime, work_time_rate over are moved to the base resource model. task-4448549