Daily updates from Odoo
Friday, May 2, 2025
11 changes
1 change
Resolved issues and error corrections
This update improves how the point-of-sale payment screen handles removable zero-quantity order lines, reducing the chance of incorrect cleanup during due settlement. It also streamlines related automated test steps so future changes can be validated more consistently.
Original PR description
- Introduced `canBeRemoved` property in `PosOrderline` to simplify zero-qty line removal logic. - Updated payment screen to use `canBeRemoved` for cleaner filtering. - Added reusable tour helpers: `clickDropDownItemText` and `clickSettleOrderName`. See also: odoo/enterprise#84117 Task [link](https://www.odoo.com/odoo/project/967/tasks/4751971) task-4751971
1 change
Resolved issues and error corrections
The contract salary workflow no longer shows a "partially signed" status when a contract template only requires one signature. This avoids confusion for HR teams and employees by showing a more accurate contract status.
Original PR description
- displaying a "partially signed" state in the contract state even when the contract PDF template requires only one signature. Task: 4592653
9 changes
Resolved issues and error corrections
This fix prevents errors when resetting certain company-paid expenses or related journal entries after analytic accounting has been turned off. It ensures Odoo handles missing analytic distribution data safely, improving reliability for sales-project expense workflows.
Original PR description
This fix solves a specific corner case where the analytic distribution could False by defaulting to an empty list. To reproduce the issue: - Enable analytic accounting. - Create an expense paid by the company with a linked SO. - Disable Analytic Accounting (also ensure the analytic distribution in the journal entry is False at this point) - Try to reset the Expense or its journal entry back to draft. This issue happens because the code assumes that the analytic distribution is always a list, which might not since analytic accounting is disabled. opw-4710518
Timesheet users can now select the appropriate sales order item even when it uses manual delivered-quantity invoicing. This removes an inconsistency where an automatically filled item could disappear from search lists after being changed manually.
Original PR description
**Steps to reproduce:** - Create a service with "Create on Order" = `Project & Task` and "Invoicing Policy" = `Based on Delivered Quantity (Manual)`. - Create a quotation using this service as a product. - Create a new line in Timesheet with the Project of the service. - The Sales Order Item field updates automatically. - If manually modified, the item no longer appears in the lists of `name_search` or `web_search_read`. **Issue:** Inconsistent behavior on the domain used for the Sale Order Item showed in the Timesheet app. **Fix:** Removed `qty_delivered_method` domain filtering to allow sale order line with any `qty_delivered_method` to be used in the Timesheet app. opw-4710840 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Project updates will no longer show the cost of goods sold section unless there are actual COGS lines tied to the project. This prevents misleading financial information from appearing on project dashboards and keeps behavior consistent with prior versions.
Original PR description
Problem: When viewing the project update of a project that timesheets on a service product with standard valuation, the 'cost_of_goods_sold' section is displayed when it should not be. Purpose: The…
Problem: When viewing the project update of a project that timesheets on a service product with standard valuation, the 'cost_of_goods_sold' section is displayed when it should not be. Purpose: The COGS section should only be displayed in the project updates if COGS lines exists in relation to the project. The behavior should stay consistent with v17.0 as with this commit: #203936 Steps to reproduce the issue: 1. Install Purchase, Sales, Project,sale_project, Inventory, Timesheets 2. Create a service product with standard valuation and creates project & task on order 3. Create a sales order with the service product 4. Invoice the sales order and confirm 5. Create another invoice not linked to the sales order but contains project's analytic account 6. Load the project update or dashboard of the project and notice there's a COGS section displayed despite no related COGS invoice line opw-4684445 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
After a delivery order is signed, the Sign button is now hidden so users cannot sign the same document again. This makes the delivery status clearer and prevents duplicate signatures on completed delivery documents.
Original PR description
**Steps to reproduce:** - Install Sales + Stock apps - Activate `Signature : Require a signature on your delivery orders` in the settings - Create and confirm a quotation with a product. - Go to the delivery order. - Sign the document. - 'Sign' button remains visible and active after the document is signed. **Issue:** Delivery document can be signed more than once. The button state seems to imply that the transaction is not finalized. **Fix:** Hide 'Sign' button after signature validation using the `is_signed` field value. This prevents users from signing multiple time the same delivery document. opw-4700124 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix stops users from saving a timesheet line when its project has been removed. It helps keep timesheet records accurate and avoids entries that appear incomplete or inconsistent.
Original PR description
Currently it's possible for a timesheet user to set and write the project to False in the timesheet list view. The UI will say the project is missing but the analytic line is changed anyway. This PR add check that the project is set before writing to the analytic line record. opw-4649817
Belgian Intrastat XML exports no longer fail when an invoice includes a line without a product. The export now excludes those productless lines, matching what users already see in the report and allowing compliant files to be generated reliably.
Original PR description
How to reproduce: - Select a Belgian company - Create an invoice for a EU country - Add a line with no product - Display the intrastat report for the invoice period - Export the xml The default sql query allows the selection of account move lines with no product to be able to trigger a warning. Those lines are then filtered out when displayed in the web interface. Those lines were not filtered out when getting data for file exports. An error would trigger rendering the xml as the weight would be None where an integer is required. This commit adds a condition to only select move lines with a product_id when querying data for a file. Task 4763185 See opw-4671512, opw-4735439, opw-4642781
After a delivery order is signed in the Barcode app, the Sign button is now hidden. This prevents duplicate signatures and makes it clearer that the delivery document has already been finalized.
Original PR description
**Steps to reproduce:** - Install Sales + Stock apps - Activate `Signature : Require a signature on your delivery orders` in the settings - Create and confirm a quotation with a product. - Go to the delivery order in the Barcode app. - Go to the settings in the top-right corner to find the 'Sign' button. - Sign the document. - 'Sign' button remains visible and active after the document is signed. **Issue:** Delivery document can be signed more than once. The button state seems to imply that the transaction is not finalized. **Fix:** Hide 'Sign' button after signature validation using the `record.signature` field value. This prevents users from signing multiple time the same delivery document. opw-4700124
This fixes an unnecessary error that could prevent HR document share links from being sent when a company workspace setting was not configured. The sharing process no longer depends on that setting, so users can continue sending document links without extra setup.
Original PR description
This reverts FW #82587. The functionality of `action_send_documents_share_link` was changed as of #65655 in 18+, which no longer requires the`company.documents_hr_folder` setting. opw-4559772
Payroll payment reports now use the company linked to the payslip batch instead of the company currently selected by the user. This prevents incorrect company details from appearing when working with multiple companies.
Original PR description
Steps to reproduce: - install payroll and create a batch - generate payslips - select multiple companies. - Click on "Create Payment Report." - create any payment method issue: - The report displays the currently selected company instead of the one associated with the payslip batch. reason - the default company is given on the field which is self.env.company fix - now the company field is computed to the payslip company task-4643306