diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-12-22 10:16:54 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-12-22 10:37:38 +0100 |
| commit | dae737eca119227cdc4f341c0766cab9caec48bb (patch) | |
| tree | e63e284fbd9373564f9cbc2c2465b80f30701d81 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | a552a74f4f5b14505b3ce8cd2add8dd8420f0cb4 (diff) | |
[IMP] pos: better default start date
1;2802;0c
now() was bad as it excluded the orders of the latest session
midnight is not good either because
- midnight server != midnight user (timezone)
- some restaurant, bars start in the evening and finish after midgnight
With this default, with 4 sessions:
- POS A, start 2016-12-21 08:05:36
- POS B, start 2016-12-21 08:08:11
- POS A, start 2016-12-22 08:17:51
- POS B, start 2016-12-21 08:19:23
The default start date will be 2016-12-22 08:17:51 to include all orders of
both sessions.
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
