diff options
| author | Thomas Dieuzeide <tdi@odoo.com> | 2020-05-22 12:52:25 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2020-06-03 10:36:17 +0000 |
| commit | 72087777acf570b4ab8c7593c295d8f7f0a8832c (patch) | |
| tree | 7d92fae9d679334c3203516754e4be24a25a8987 /addons/web/static/src/xml/debug.xml | |
| parent | 4b0925570980292e08dff074e39fc5478ef0314f (diff) | |
[FIX] sale_margin: compute fields performance at install
Installing sale_margin module on a db with a lot of sale.order was impossible.
This commit significantly improves performances.
Went from many hours (forecasted) to 15 minutes on a db with 300k orders
For sale.order:
- Duplicating logic between edit mode and non edit mode
- Edit mode logic stays the same as before
- Non edit mode uses read_group to speed up the computation
X-original-commit: 9f1ea7427cdb6984f175f5111e4c9a4c5f013af2
Diffstat (limited to 'addons/web/static/src/xml/debug.xml')
0 files changed, 0 insertions, 0 deletions
