diff options
| author | Nicolas Seinlet <nse@odoo.com> | 2017-05-18 14:58:18 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2017-05-18 16:17:50 +0200 |
| commit | 12808c512da78f7efb357e19b68fd5c9645190cf (patch) | |
| tree | e695dbf5fd703815c1ad9437951675b5ca5a8a58 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | f4ce2c7c2aab7fa1d53c424cd997cceec245affe (diff) | |
[FIX] point_of_sale: speedup order creation
When creating orders from the interface, all the orders of the current session
are in the cache and slow compute methods are recomputed.
Clear the cache before evaluating to execute _compute_amount_all on the current
order only.
The cache mechanism has changed in v10 and no longer contrains all orders.
opw-741442
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
