diff options
| author | Denis Ledoux <dle@odoo.com> | 2018-01-11 15:13:28 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2018-01-11 15:48:08 +0100 |
| commit | 78d0a32470794104f0f6ff4f2ae84d318147df24 (patch) | |
| tree | 457140bf14d3df87d622305322b57a2a44827d03 /addons/web/static/src | |
| parent | bc1c72f9afe80b4cecace5f9672484aee978096d (diff) | |
[FIX] web: force a determinist installed modules order for the assets
The backend assets includes a list of the installed modules with:
```
odoo._modules = <t t-raw="get_modules_order()"/>;
```
Because of the randomization of Python 3.5 in the dict keys,
the order of the installed modules could change from time to
time, therefore making the assets being regenerated unnecessarily
This revision is a bit linked to the below one:
f3bb9ae679c665b4747ed9f52d47015a5d87f120
In addition to have the dict keys always in the same
order, it's important for the values to always be
the same, and it was not the case for this list
which was in the content of the backend assets,
in various order.
opw-804747
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
