diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-01-24 09:56:33 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-01-28 12:14:30 +0000 |
| commit | 4a5862a492fff66a474b7069cb5ba45836249a0e (patch) | |
| tree | 32322c810733ec2791efcddbef9e49242a345a06 /addons/web_editor/static/lib/summernote/src/js/EventHandler.js | |
| parent | dc751f20a2da5017644794f68af3cb0f161f77b5 (diff) | |
[FIX] point_of_sale: offline invoicing => backend printing
In a pos session:
OFFLINE
make an order with invoicing , try to validate
The order stays there because it needs to be validated by the server
make another non invoiced order, validate
ONLINE
make another order
At validation, all orders will be pushed to the server
Before this commit, when trying to validate the invoiced order
the report download couldn't find the order id, and crashed
This was because the order in question was already pushed
but treated as a non invoiced order
After this commit, an "warning" message is displayed to the customer
saying he/she has to print the invoice from the backend.
In most cases it is enough and acceptable, since a customer would actually leave the premises
and come back later for the invoice
It is also safer in terms of data consistency to keep pushing all orders once the connection is back
OPW 1918044
closes odoo/odoo#30485
Diffstat (limited to 'addons/web_editor/static/lib/summernote/src/js/EventHandler.js')
0 files changed, 0 insertions, 0 deletions
