Daily updates from Odoo
Tuesday, April 21, 2026
5 changes · master
Resolved issues and error corrections
This change reverses a previous update so payment tolerance is managed from each journal's settings again. This matters for accounting teams because tolerance behavior can be configured where journal-related payment and reconciliation options are handled, supporting clearer setup and upgrade consistency.
Original PR description
This reverts commit https://github.com/odoo/enterprise/commit/db1240d56f0311531bc01a68582f135221214cee see: https://github.com/odoo/upgrade/pull/9995
This fix prevents time off calendar entries from appearing as suggested timesheet items, reducing confusion for employees recording work. It also makes Belgian payroll warning tests more stable by avoiding fixed dates that can cause false failures over time.
Original PR description
runbot error:- . https://runbot.odoo.com/odoo/runbot.build.error/242427/runbot.build.error/242427 . https://runbot.odoo.com/runbot/build/107183635 . Adjust the seniority and age below-scale warning tests to use relative dates instead of absolute ones task-6117457
Fixed an issue where users could no longer reopen a document after changing its name from the full-screen document view. This prevents an error screen and keeps document access working smoothly after edits.
Original PR description
Steps to reproduce: 1. Install `documents` 2. Open a document in full screen and click on info icon on top right 3. Edit the name and close full screen document and chatter 4. Try to open the same document Issue: - Traceback occures `TypeError: Cannot read properties of undefined (reading 'insert')` Cause: - In file document_service `this.store.Attachment` was used instead of `this.store["ir.attachment"]` After this commit https://github.com/odoo/odoo/commit/70153559c34ffd18c67b83c39ee397ecb0a90b4a we renamed the Attachment model opw-5483625 Forward-Port-Of: odoo/enterprise#110315 Forward-Port-Of: odoo/enterprise#105602
Validating product receipts in the Barcode app no longer causes an error when label printing is configured. This ensures warehouse users can complete receipts and print labels without interruption.
Original PR description
Given a printer is configured to print a label for product receipts, when the receipt is validated from the barcode app, then a traceback appears. A filter on action.context.active_ids was introduced in https://github.com/odoo/enterprise/pull/106277. When validating the receipt from the purchase app, active_ids is set to the id of the purchase order and the behavior is as expected. When validating the receipt in the barcode app , it is not set (nor was it set in 17.0). The filter therefore crashes because it cannot work on undefined. An optional chaining operator is added to apply the filter only if active_ids is set. The barcode app does not raise a traceback anymore when validating a receipt and the label can be printed. Forward-Port-Of: odoo/enterprise#113146
The Luxembourg FAIA XML export now reports invoice line debit and credit amounts as positive values while keeping their correct debit or credit classification. This prevents validation errors when totals are checked against individual invoice lines, improving reliability for compliance reporting.
Original PR description
This is one of several commits fixing the FAIA xml export: - #113452 - #113455 - #113846 - #113720 When an invoice line has a negative `price_unit`, the `Invoice/Line/InvoiceLineAmount/Amount` element has a negative value. This causes validation errors when comparing the total debit or credit values (such as `SalesInvoices/TotalDebit`) to the individual amounts, as the sum of individual "debit" lines will include some credit amounts and vice versa. Solution: record if the line is actually a debit or a credit, then use the absolute value of the balance in the Amount element. opw-5427296 [Link](https://www.odoo.com/odoo/unassigned-tasks/5427296) Forward-Port-Of: odoo/enterprise#113606 Forward-Port-Of: odoo/enterprise#113316