Thursday, June 6, 2024
4 changes · saas-17.1
Resolved issues and error corrections
Mass production now checks whether generated serial numbers already exist before creating them. This helps avoid duplicate serial records, improving traceability and reducing cleanup work for manufacturing teams.
Original PR description
When the user performs a mass produce, the generated serial numbers will only be created if they do not already exist in the database
Point of Sale users can now refund products sold in small fractional quantities, such as items measured by weight below 0.5 units. This prevents refund blockers for businesses selling weighted or fractional goods and improves accuracy in return handling.
Original PR description
Problem: Product with quantity less than 0.5 can't be refunded Steps to reproduce: - Install "Point of Sale" and "Sales" apps - Go to Sales settings and enable "Units of Measure" - Create a product and set an UoM (eg. kg) - Go to the shop, sell 0.4 units of the product - Refund the last order - You won't be able to refund the product Cause: Compare if the quantity is zero with a "decimal.precision" as precision which is interpreted as a precision of zero. Solution: Use the digits of "decimal.precision" as precision opw-3945427 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update refreshes Odoo's spreadsheet engine with several bug fixes that make spreadsheet editing, formulas, chart pasting, and Excel exports more reliable. Users should see fewer errors when working with complex formulas, renamed sheets, charts, and exported files.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/7dedb2f91 [REL] 17.1.17 Task: 0 https://github.com/odoo/o-spreadsheet/commit/9e6dbe8c2 [FIX] clipboard: cannot paste…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/7dedb2f91 [REL] 17.1.17 Task: 0 https://github.com/odoo/o-spreadsheet/commit/9e6dbe8c2 [FIX] clipboard: cannot paste chart with deleted ranges Task: 3618758 https://github.com/odoo/o-spreadsheet/commit/a666fd487 [FIX] functions: throw errors with formula that return range Task: 3918882 https://github.com/odoo/o-spreadsheet/commit/56ca00f87 [FIX] module array: accept negative index on choose cols/rows Task: 3918882 https://github.com/odoo/o-spreadsheet/commit/a91c51e73 [FIX] functions: Conditional functions now handle ranges with different size Task: 3918882 https://github.com/odoo/o-spreadsheet/commit/b7765617f [FIX] functions: correctly handle simple arguments on conditional functions Task: 3918882 https://github.com/odoo/o-spreadsheet/commit/d0d08ec6e [FIX] FigureComponent: Stop Ctrl+A propagation Task: 3863300 https://github.com/odoo/o-spreadsheet/commit/c7e5c5ecb [FIX] xlsx: Skip non-exported formula with no result Task: 3491974 https://github.com/odoo/o-spreadsheet/commit/bebe98d94 [FIX] BottomBarSheet: give focus back to grid after sheet name edition Task: 3945145 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>
This fix prevents an error when customers pay through Viva Wallet in Point of Sale. The payment flow now uses the correct POS session information, helping cashiers complete card payments without interruption.
Original PR description
Steps to reproduce: - Open POS - Go to configuration > Payment methods - Create new > Journal > Bank - Integration select viva wallet - Use any fake credential - Use this payment method in any active POS - Open POS and pay using viva wallet Issue: Throws traceback while payment request. Cause: Used to fetch POS session id from undefined session. FIX: Fetched the session id of the pos model using the this.pos.session (correct position of data). task- 3883584