Tuesday, September 24, 2024
4 changes · saas-17.4
Resolved issues and error corrections
When restaurant staff clear all items from a table order and release the table, the empty draft order is now cancelled. This prevents old empty orders from reappearing when the table is opened again, reducing confusion during service.
Original PR description
Before this commit, clearing all orderlines and releasing a table did not cancel the draft order, leaving it accessible upon reopening the table. opw-4167214 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale closing popup now correctly displays cash differences when users enter amounts using comma decimal separators. This avoids confusion for teams working in languages or regions where commas are the standard decimal format.
Original PR description
Before this commit, when decimal separators were commas (,) instead of (.), entering a float number for the opening amount would result in the difference not being displayed in the closing popup. This issue occurred because the response from getDifference was not parsed as a float, causing checks with isValidFloat to return false. opw-4170777 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A tax report calculation could fail because one value was treated as text instead of a number. The fix converts that value correctly, helping users generate tax reports without interruption.
Original PR description
We were trying to divide a float by a string. We make sure that the string `net_value` is converted to a float.
When the point of sale is offline, staff will no longer see repeated preparation display send-failure alerts after every validated order. This reduces unnecessary interruptions while keeping the initial offline warning visible.
Original PR description
Before this commit, validating an order in PoS while offline would trigger a "send failed" alert for the preparation display each time an order was validated. This was redundant if the offline message had already been shown once. opw-4198324