summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-04-23 14:33:33 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-04-23 15:18:43 +0000
commitc8fdf32db130c4c452ac402ff37260496185ba41 (patch)
treed3b5ccbe2dd84c3da59599eab3358ea88d56b0fe /addons/web/static/src
parenta2d71ce0eacfc90706e55ef09e34e0426ff5fd0b (diff)
[FIX] point_of_sale: handle failed push of invoiceable order
The use case is a bit complicated so brace yourself: OFFLINE - Make an order, invoiceble with a partner - Pay it, validate it - An error popup is shown => Before this commit, the payment screen was still on => After this commit, the receipt screen is shown proposing to print the invoice ONLINE - Make another order, non invoiceable. - Pay it, validate it - Both orders are now pushed to the server => Before this commit, it was still possible to click on "Back" and add some products. The result of this will be that the order in DB (server) would not have the newly added product, whereas the ticket would state that there was a new product => After this commit, we basically block the edition of a paid and validated order, even if the invoice printing failed OPW 1971028 closes odoo/odoo#32885 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions