Friday, November 29, 2024
6 changes · saas-17.4
Resolved issues and error corrections
Restaurant point-of-sale users can now split floating orders without triggering an error. This helps staff handle table or temporary orders more reliably during service.
Original PR description
Before this commit, splitting a floating order would cause an error. opw-4348537 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents an error when changing item quantities in Point of Sale setups where local rules restrict direct quantity changes, such as Germany. It helps cashiers complete sales more reliably without unexpected interruptions.
Original PR description
Before this commit, updating the quantity in localizations with disallowLineQuantityChange, such as Germany, would result in an error. opw-4367694 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Attachments added to one bill of materials now remain linked only to that specific bill, rather than appearing on other bills for the same product. This prevents confusion and helps teams keep manufacturing documentation organized correctly.
Original PR description
Steps to reproduce the issue: - Create a storable product “P1” with two BoMs - Open one of the BoMs and add an attachment - Open the second BoM Problem: The attachment is added to all the BoMs. opw-4263943
The product purchase view now only shows units of measure that are compatible with the product's sales unit category. This prevents users from selecting options that would be silently rejected, reducing confusion when setting vendor bill units.
Original PR description
In the purchase tab of the sale view, the user can see UoMs of all categories for the vendor bill, but can only pick the one in the same category as the sales price unit, as other options will get silently reverted by an onchange. This is logical, but confusing for the user. The addition of a domain for the UoM category prevents units of other categories from appearing in the view. Partial backport of 33d7474b07abf8ae161364bcf29ae72cd04384ba opw: [4212814](https://www.odoo.com/odoo/project/966/tasks/4212814)
This fix prevents an error when a duplicated subscription upsell has its start date changed. Sales teams can adjust upsell dates without interruption, helping keep subscription updates moving smoothly.
Original PR description
Version: - saas-17.4 Steps to reproduce: 1. Install sale_subscription. 2. Create a Sales Order and invoice it. 3. Click on upsell. 4. Duplicate the upsell. 5. Change the start date. Issue: - When duplicating the upsell and changing the start date, an error occurs due to a missing next_invoice_date value. Solution: - Added a condition to retrieve next_invoice_date if it's missing, preventing the error. task:4325916
This fix prevents the Gantt view from crashing when certain time scales, such as month or year, are not available but still selected. Users can continue opening and using affected planning views reliably, even with customized scale settings.
Original PR description
The attribute scales of the gantt view specifies which scales are available in the view. This means that for instance "year" or "month" can be absent from scales. If that happens and that "year" or "month" is the selected range, a crash occurs when rendering the GanttRendererControls component:
TypeError: Cannot read properties of undefined (reading 'groupHeaderFormatter')
Here we assign to each range a function groupHeaderFormatter so that we can call it independently from the available scales.