summaryrefslogtreecommitdiff
path: root/addons/website_sale_comparison
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2020-01-31 08:22:25 +0000
committerJoseph Caburnay <jcb@odoo.com>2020-02-03 12:15:32 +0000
commitdf0c60ccc7cb86e00b7d4000de6aa59186968818 (patch)
treec06538aeb60604972d87d66121b01bdf035bea39 /addons/website_sale_comparison
parent3fd7b2009ec1f16c56c6d0ae87004011c90e204c (diff)
[FIX] point_of_sale: invoiced receipt screen not shown if offline
The following steps will reproduce the issue: 1. Activate invoicing in the pos config 2. Start a new session 3. Switch browser to offline mode (or stop the odoo server) 4. Make an order 5. Invoice the order during payment 6. Validate 7. Error shows (which is okay) 8. The problem is that the receipt screen is not shown after validation. The intended behavior is that the receipt screen will show with an additional Print Invoice button above the receipt. The problem is caused by wrong signature of the thrown error when the _save_to_server is called. The signature understood by the error handlers is the one by `error` and not by `reason`. See _handleFailedPushForInvoice which is the main consumer of the error thrown by the _save_to_server call. closes odoo/odoo#44392 X-original-commit: 5d593eb31ce7d545a57cb93bc9834e4cebadea19 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/website_sale_comparison')
0 files changed, 0 insertions, 0 deletions