diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-09-13 14:30:13 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-09-13 14:30:13 +0000 |
| commit | f6d56afba0ea96529b1419bf2ed4ac12fc5e98c1 (patch) | |
| tree | 1d6dea2ae9d3c08d597311ee29b4224b42f8f839 /addons/pos_cache | |
| parent | f35fa53c8862a71017ced50f4f008030c09514d5 (diff) | |
[IMP] http: rollback from checked_call only if necessary
The rollback clears the cache, which lose all data that have been fetched before
arriving in the route method.
This lost cache includes some website data that was used during the dispatch and
that will be used again in the route.
By keeping it we reduce the number of queries on every request by at least 2.
Part of task-2061122
closes odoo/odoo#36245
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/pos_cache')
0 files changed, 0 insertions, 0 deletions
