Daily updates from Odoo
Thursday, May 28, 2026
2 changes · master
Enhancements to existing features
This update enhances the quality control process within purchase orders by clearly identifying product variants when checking items, resolving a previous ambiguity. Additionally, the quality point search functionality now uses the title instead of the internal reference, providing a more intuitive and user-friendly experience.
Original PR description
1) Product Attributes in QC Wizard The quality check wizard within purchase orders does not display sufficient information when dealing with product variants. For example, if a company purchases tables in two colors -white and black- and needs to perform a quality check upon receipt, the wizard currently does not indicate which variant is being checked, as both products share the same name. This commit resolves this ambiguity by displaying the product's 'display_name' insted of just its name. 2) Quality Points: Search By Title Previously, when searching for a QP by title in the search view, the system relied on the 'reference' column internally. For improved clarity, this has been changed to a title filter. task: 4277084
This update streamlines Australian payroll by consolidating penalty rates into a single, global rate field. This eliminates confusion and ensures consistent overtime calculations in payslips. The change also simplifies the system by removing redundant fields and updating calculations for various work entry types.
Original PR description
Purpose: - The new global Rate field now provides a unified way to define pay rates for work entry types across all countries, making the AU-specific Penalty Rate redundant. - Remove duplicate rate…
Purpose:
- The new global Rate field now provides a unified way to define pay rates for work entry types across all countries, making the AU-specific Penalty Rate redundant.
- Remove duplicate rate definitions in AU payroll by merging Penalty Rate into the global Rate field, avoiding user confusion and ensuring consistent overtime computation in payslips.
- Ensure AU logic fully relies on the global Rate while preserving existing behavior for STP Code, casual loading, and leave loading.
This PR includes:
- Removed Penalty Rate field from model and views.
- Updated computation logic to rely on global Rate while preserving AU-specific behavior based on STP Code.
- Preserved STP-based logic and loading behaviors.
- Hidden the 'Add on Monthly Wage' checkbox for AU because its behavior is
already fully handled via STP code logic, making the field redundant/confusing.
- Added upgrade script to migrate existing Penalty Rate values into Rate to maintain backward compatibility.
- Converted Penalty Rate into Rate format during upgrade: Penalty Rate stores only the extra percentage (e.g., +50%), while Rate represents the full multiplier (100% base(Default) + extra), so where penalty rate is 50%, it becomes 150% (1.5) in Rate.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Note: Brief overview of AU payslip computation behavior.
Example: hourly wage = 10, Rate = 1.5, leave loading = 17.5%, casual loading = 0.25
1) For normal work entries, the global Rate value is combined with the employee
casual loading. In AU payroll, casual loading is additive and must be added
directly on top of the Rate multiplier instead of being multiplied separately.
- Example:
final calculation = 1.5 + 0.25 = 1.75
amount = 10 * hours * 1.75
2) For AU paid time off entries (AU.PT), the leave loading percentage must be applied
separately and the computation must stop after applying leave loading, meaning
casual loading must not be added on top of it.
- Example:
final calculation = 1.175
amount = 10 * hours * 1.175
3) For overtime work entries using STP code 'T', casual loading must also be
ignored. These entries should only use the Rate multiplier configured on the
work entry type.
- Example:
final calculation = 1.5
amount = 10 * hours * 1.5
- Related Upgrade PR: https://github.com/odoo/upgrade/pull/9557
task-5406660