Daily updates from Odoo
Thursday, April 3, 2025
5 changes · master
Enhancements to existing features
This update improves how manufacturing work orders handle dependencies, preventing circular scheduling relationships that can disrupt planning. It should make production workflows more reliable and reduce the risk of blocked or confusing work order sequences.
BACS payments can now use UK account numbers and sort codes directly instead of relying only on IBAN details. This makes UK bank setup more flexible and prevents an error when creating a new direct debit mandate.
Original PR description
BACS was only supporting IBAN account type and extracting account number and sort code from it. Added support for BACS to handle account number and sort code(clearing number field) separately. task-4630586
Resolved issues and error corrections
The sale stock renting module now keeps the standard information needed to show product availability on sales order lines. This restores the forecast widget for storable products, helping sales users see stock availability when preparing orders.
Original PR description
Steps to reproduce: - Create a sale order - Add a line using a storable product Issue: There is no forecast widget on the line. Previous commit [1] replaced the base `fieldDependencies` of the widget when patching it instead of replacing them. Thus, since none of the expected fields where in the props, the widget was not displayed at all. [1] b90bbde
Payslip calculations now use the same ordering as the lines shown to payroll users. This prevents cases where a salary rule appeared before Net Salary but was not included in that displayed total, improving consistency and confidence in payroll results.
Original PR description
Before this commit, the computation for hr.payslip.lines was done in a different order from how they are displayed, leading to UI inconsistencies. Steps to reproduce ----- 1. On the Salary Structure, add a new rule with the same sequence as Net Salary (200) but a lexicographically lower code (< NET) 2. Create a new payslip with this structure and select Compute Sheet 3. In the payslip lines list view, the line corresponding to the new rule will be before Net Salary but not factored into the Net Salary Cause ----- The `_order` of `hr.payslip.line` is by contract_id, sequence, code. But when they are computed from the rules in `_get_payslip_lines`, the rules are only sorted by sequence. This can result in a computation order different from the order displayed on the payslip, depending on the code and rule id. Solution ----- Update the sorting to match the payslip lines, and update `_order` of `hr.salary.rule` to reflect this as well. opw-4619598
Finance-related documents are now organized using folders instead of tags. This keeps automated finance actions aligned with the folder structure, making document handling more consistent for users.
Original PR description
Files inside Finance folder are now managed in folders instead of tags. Changed the server actions to use the created folders.