diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-02-06 13:20:39 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-02-06 13:20:39 +0000 |
| commit | f78b7a76d62d6b5f3e82f2f4a02b14981859df1f (patch) | |
| tree | e556e1995821fa20af2adc93c346e059f99cdc84 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 724504ec1b930a18595021f359e2c9ed9e239baf (diff) | |
[FIX] web: fix kanban_image for binary data
`.value` is always bin size. By using `.raw_value` we allow the condition to be
true when actually using binary data.
This solves an issue when trying to display the image for a model being created
since at that time the URL does not work yet since the model does not exist.
Eg. website_sale extra images on product.
This also prevents (potentially a lot of) unnecessary GET to fetch images for
which we already have the binary data downloaded.
Part of task 34045
PR: #30881
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
