Monday, December 16, 2024
5 changes · 17.0
Resolved issues and error corrections
When users click to calculate the full total in large list or kanban views, Odoo now uses the same viewing settings as the page itself. This prevents incorrect totals when filters or visibility options affect which records should be counted.
Original PR description
Have a list or kanban views with more than 10k records such that the count limit is reached, and the pager displays something like "1-80/10000+". Click on "10000+" to compute the real count. Before this commit, the context wasn't given to that call, which could obviously return a wrong result, for instance if the context has the "active_test" key set to false. task~4331708 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Valid Spanish electronic invoice certificates no longer fail just because the Organizational Unit field is missing. This prevents unnecessary errors when using otherwise valid certificates for Facturae invoicing.
Original PR description
The 'OU' (Organizational Unit) field is not required for valid certificates. Requiring it will result in a traceback even when a certificate is considered valid. This PR makes the 'OU' field optional. opw-4325514
Fixed an eCommerce product page layout issue where the Buy Now button could appear excessively large when quantity selection was disabled. This keeps the purchase area looking consistent and professional for shoppers.
Original PR description
Versions -------- - 17.0+ Steps ----- 1. Edit a product page in eCommerce; 2. enable "Buy Now" button; 3. disable "Select Quantity". Issue ----- The "Buy Now" button becomes comically large. Cause ----- In 16.0, this specific configuration also enlarged the "Add to Cart" button, so a conditional was added to keep the "Buy Now" button the same size. With the UI changes in 16.3+, the cart button no longer changes size, but doing the same for the "Buy Now" button was overlooked. Solution -------- No longer change the button size on `not hasQuantities or not hasBuyNow` opw-4404060
Fixes an issue where custom gradient backgrounds set on website headers did not appear in the mobile navigation menu. This keeps the mobile website design consistent with the desktop version and with the branding configured in the Website Editor.
Original PR description
Since commits [1] and [2], the gradient background colors for headers in the mobile version were not applied. This commit resolves the issue. Steps to reproduce: - Open the Website Editor. - Click on the header. - Change the background color of the header and select a custom gradient. - Exit edit mode. - Click on the mobile icon to view the mobile version. - Click the hamburger icon. - Observe that the gradient background is not applied. opw-4329423 [1]: https://github.com/odoo/odoo/commit/2dc3b28e570492b0484d185eb656e74df9c59d68 [2]: https://github.com/odoo/odoo/commit/bc13176de8d66bbdc1c536017b1f046c5fd31a86
This update corrects a formatting issue within the WhatsApp composer, ensuring phone numbers are correctly displayed without spaces or dashes. Previously, incorrect formatting caused errors preventing message delivery and channel linking. Now, users can reliably send WhatsApp templates from within Odoo.
Original PR description
**Before this Commit :** - When using the whatsapp composer on a record to send a whatsapp template, the number (phone/mobile) taken from the partner comes with the phone widget format (including spaces and dashes). - This would cause an error when linking the response received to the associated record, thus not creating an associated whatsapp channel, printing a link to the related SO,lead,etc and not posting a message on the record with a link to the whatsapp channel. **With this Commit :** - The composer phone field has the correct format when opened, preventing this behaviour to occur.