Daily updates from Odoo
Monday, January 12, 2026
4 changes · master
Resolved issues and error corrections
This update prevents users from deleting visitors who are currently Checked-In or Checked-Out, safeguarding visitor tracking data and ensuring accurate records. The system now displays a 'Set as Planned' button for these visitor states and provides a clear error message if deletion is attempted. This improves data integrity and operational efficiency.
Original PR description
Purpose: - The purpose of this change is to prevent accidental deletion of visitors who are currently Checked-In or Checked-Out, ensuring data integrity and proper tracking of visitor activity. This PR includes: - Prevented deletion of visitors unless they are in Planned or Cancelled state. - Added a clear error message when deleting Checked-In or Checked-Out visitors. - Displayed the 'Set as Planned' button for Checked-In, Checked-Out, and Cancelled states. - Added test cases for visitor deletion restrictions. task-5380323
This update resolves a technical error that was preventing users from correctly accessing and editing sign templates linked to certain templates. The fix corrects record rules within the sign.item.role module, ensuring proper access rights are enforced. This improves the usability and reliability of the sign template functionality.
Original PR description
Fix record rules on sign.item.role that prevented users from reading and creating item roles linked to accessible templates, causing access errors when opening or editing sign templates. task-5428886
This update corrects a problem with importing WinBooks tax data. Previously, the import process incorrectly included tax tags with signs, leading to inaccurate tax reporting. This change removes the sign from tax tags during import, ensuring correct tax calculations and reporting.
Original PR description
Import a WinBooks file on a fresh database (a sample can be found in the test files of test_winbooks_import). In the imported taxes, we can see that the tax_tags contain signs. However, since https://github.com/odoo/odoo/pull/225252 , tax tags should no longer store a sign. This causes issues with imported entries in the tax reports: they are not included. This commit adapts the import for WinBooks tax_tags to remove their sign before importing them. opw-5345933 Forward-Port-Of: odoo/enterprise#103691 Forward-Port-Of: odoo/enterprise#101459
This update adjusts how taxes are processed on sales orders and invoices, specifically aligning with fiscal position requirements. Previously, taxes not directly linked to the fiscal position were retained; now, they are automatically removed. This change ensures accurate reporting and compliance with tax regulations, primarily impacting financial reporting modules.
Original PR description
In linked community commit, if a tax is set on a sale order or invoice, and the tax is not an original or replacement tax on the fiscal position of the SO or invoice, the tax is removed. Therefor : - Addapt nl xaf & gt test cases to reflect FP behavior change. Tests had a case where : > a tax_a with fiscal_pos_a, > a tax_b with fiscal_pos_b replace tax_a, > an invoice with fiscal_pos_a with a line with taxes tax_a & tax_b. Before both taxes were kept, now tax_b is removed. As we see no reason to support the previous behavior, the expected result of the test is changed. - Update cls.tax_sale_b fp in TestGtFlow to prevent removal of tax_sale_b Task: 5017278