Friday, November 29, 2024
104 changes
Resolved issues and error corrections
This update corrects a potential error in the UPS integration that could occur when adding a ReferenceNumber to delivery requests. By validating the origin and destination pairs beforehand, the system now ensures accurate request creation and avoids disruptions to the shipping process. This improves the reliability of our UPS delivery functionality.
Original PR description
…ing ReferenceNumber to the request opw-4358458 Forward-Port-Of: odoo/enterprise#74751
This update resolves an issue where account line labels could display as either empty strings or False, leading to inconsistent search results. The fix standardizes label handling to False when a value is empty, aligning with expected database behavior and improving search accuracy. This ensures consistent reporting and data retrieval.
Original PR description
**[FIX] account_asset: fix empty string and False/None inconsistencies** (adapting tests)
When empty, the name field of account.move.line could inconsistently hold either an empty string or False. This inconsistency led to different results when searching for lines with an empty label, as label->not set and label == "" yielded different outcomes. The latter behavior aligns with expected ORM operations.
This fix ensures the name field is set to False whenever the computed result is an empty string, standardizing search behavior. We also adapt some tests to the new behavior in enterprise.
opw-4167139
[community PR](https://github.com/odoo/odoo/pull/186079)
Forward-Port-Of: odoo/enterprise#73256This update corrects a minor error in how payroll calculations are processed when multiple input values are involved. This ensures more accurate and reliable payroll processing for employees, particularly those with complex compensation structures. The change improves the overall stability and accuracy of the HR payroll module.
This update fixes a technical issue in the payroll module that caused a traceback error when an employee was removed from a payslip. The fix ensures that the system correctly handles changes to employee records, preventing errors and maintaining data integrity. This improves the reliability of payroll processing.
Original PR description
…ayslip form Steps: • Install the payroll app. • Install l10n_au_hr_payroll module. • Open payslip and remove the employee from the form and click outside to apply changes. • It will cause the traceback error. Cause of the issue: • After removing the employee name corresponding contract will become empty. • The issue is due to empty record set of contract. Fix: • Added a check to ensure contract is present. task-4341523