Thursday, March 27, 2025
3 changes · saas-17.4
Resolved issues and error corrections
This update adjusts an automated test so it no longer depends on a field that is only available in Odoo Enterprise. It helps keep Community edition validation reliable without changing customer-facing manufacturing or purchasing behavior.
Original PR description
### Issue: The community runs of the test: `test_portal_subcontractor_record_production_with_dropship` fail since the field `backorder_ids` of the mrp.production model is part of the `stock_barcode_mrp` module (part of the entreprise repo). runbot-build-error-159951 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The purchase order screen no longer shows the forecast icon for products that are not kept in inventory, such as services. This avoids showing irrelevant stock information and reduces confusion when buyers create purchase orders.
Original PR description
Steps to reproduce: - Create a non-storable product (e.g. a service) - Create a new RFQ - Add that product to a PO line Issue: The forecast icon is visible, even though the product is non-storable and the forecast doesn't make any sense. 73170f0 was a bit too optimistic on the invisible condition, as it needs a field directly on the model to be able to check these clauses. So we add a related as it's done for other. opw-4672513 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixes an issue in the website form editor where changing an empty linked field from a dropdown list to radio buttons could trigger an error. This makes form editing more stable and prevents interruptions while configuring website forms.
Original PR description
Steps to reproduce: 1. Drop the website_form snippet. 2. Select name field & change with the many2one field having no record. 3. Switch the type: "dropdown list" => "radio" --> It will throw a traceback : This commit, fix the uncaught promise by adding validation before using variable. task-3932086