summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-06-10 09:02:09 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-06-12 12:26:37 +0000
commit2d10bcb9b0064f6a0e1320b63d9c474bbd58ad78 (patch)
treea749ad2d1f4005aae9bcbf59e50bb4ff238112c9 /addons/web/static/src/js
parentb16843230d9c62606550c061934f319fee23d3c5 (diff)
[FIX] pos_reprint: Avoid new order after reprint
Configure POS with automatic receipt printing, IOTBox with receipt printer and possibility of reprinting on request Go to POS session, create an order, pay. Now on the new order add some items. Reprint the old receipt. Go back to the order. Add products. The order will be automatically cleaned as the user attempt to add new products. This occur because the add_product function will check if the current order receipt has been printed, using a flag which was set when reprinting the receipt. Reset the flag after going back to the order fix the issue. opw-2258992 closes odoo/odoo#52785 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions