diff options
| author | Joren Van Onder <jov@odoo.com> | 2015-10-29 09:59:35 +0100 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2015-10-29 15:56:25 +0100 |
| commit | 87a3fe92de43dd7fce7e3364a5ca8dbb417ca7f8 (patch) | |
| tree | 19b3b620d4fdc415a4d898140a94d2635cb1648e /addons/web/static/src/js/framework/utils.js | |
| parent | 05381a8bedb6b4abf44a915c10626da854206fb4 (diff) | |
[FIX] point_of_sale: forward port of 35e9fa5c410db78fbad9492afc57b5e7c05a9cb4
Non-trivial port because 9.0 has rescue sessions that kind of try to
solve the same problems, however:
- they do not automatically put orders into a compatible, newly opened
session because it explicitly searches for rescue sessions. So if
you open a new session and create a new order in a POS associated to
a closed session you will end up with two open sessions (one rescue,
one regular).
- they throw exceptions with cash control enabled
- they're a bit more complicated because they introduce the idea of
'rescue' sessions, which the 8.0 fix does not (it just uses regular
sessions).
So this reverts bed409322d71935903f6c2e9880bc6462c58b78e without
changing the database and while still ensuring that databases with
existing POS rescue sessions don't break.
Diffstat (limited to 'addons/web/static/src/js/framework/utils.js')
0 files changed, 0 insertions, 0 deletions
