Wednesday, April 2, 2025
3 changes · saas-18.1
Enhancements to existing features
Payroll salary rule categories can now share the same code, which prevents upgrade issues when customers have customized these categories manually. This gives businesses more flexibility to keep their payroll setup aligned with their own rules without being blocked by duplicate code checks.
Original PR description
Issue: As Salary Rule Category could be updated by hand, it will viloate the constrain at upgrade Improve: remove constaint will marking dup rules So customers can cuztomize thier own rules with the same code - drop the tests where the constrain was tested closes odoo/enterprise#81978 Task: 4626756
Resolved issues and error corrections
Selling event tickets in Point of Sale no longer loads unnecessary event registration records. This avoids potential errors linked to order lines and helps keep the sales flow more reliable.
Original PR description
Before this commit, selling an event in PoS would trigger the loading of all event registrations linked to the event. This was unnecessary and caused issues, as it also attempted to load the related PoS order lines, leading to potential errors. opw-4613669 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The German financial reports now calculate annual profit and loss using the correct fiscal-year date range. This prevents prior-year results from being incorrectly included on the balance sheet, improving accuracy for year-end reporting.
Original PR description
Backport of https://github.com/odoo/enterprise/pull/82548 Profit and loss from previous year was not well calculated on the balance sheet. With this commit, we change the date scope for the `Net profit/loss for the year` line from `normal` to `from_fiscalyear`. We also change the way we calculate `Profit carried forward/loss carried forward` and `Net income/loss for the year` lines. opw-3663626