Thursday, November 14, 2024
2 changes · saas-17.2
Resolved issues and error corrections
This update brings the spreadsheet component up to the latest version for this Odoo release. It fixes date-based line charts and improves the color picker by only showing the reset option when it is relevant, making spreadsheet reports more reliable and easier to use.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/19b7478cf [REL] 17.2.26 Task: 0 https://github.com/odoo/o-spreadsheet/commit/31a9ad664 [FIX] chart: date line chart Task: 4268977 https://github.com/odoo/o-spreadsheet/commit/d4d8a43a4 [FIX] color_picker: conditionally hide reset button Task: 4102704 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
Refunds in Point of Sale no longer incorrectly block normal loyalty-program products as if they were gift cards or eWallets. This prevents unnecessary refund errors when loyalty rules are tied to specific products, improving checkout support and customer service workflows.
Original PR description
When adding a rules in loyalty program that had a product set, if you try to refund an order containing this product you would get an error Steps to reproduce: ------------------- * Create a loyalty program with a rules that has product_ids set to any product. * Open PoS and make an order with the product set on the loyalty program * Validate the order * Try to refund the order > Observation: You get an error saying you cannot refund giftcards or eWallets Why the fix: ------------ This was happening because `trigger_product_ids` is related to `rule_ids.product_ids`. And when checking if a product is a giftcard or eWallet we first checked that `trigger_product_ids` was set. Now we only check the type of the program linked to a product. opw-4206226 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr