diff options
| author | Jeremy Kersten <jke@odoo.com> | 2018-10-11 17:02:47 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2018-10-11 17:21:53 +0000 |
| commit | c4e0e5461c0ac39ffee3bb3031cc2615758d22ad (patch) | |
| tree | e7a8f4f9164032799520c7f76c49d379d5b51f5a /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | c7f72248a9619a38cf91d8d35a10dc94b0c7e5a5 (diff) | |
[FIX] web: guess resize placeholder
Before this commit, if you ask for a small image, you was waiting a picture of
64x64 but in case this image was not found, a placeholder with an other size
was returned.
Now, we try to guess the asked size, and return a resized placeholder.
This bug appear since we change the default placeholder picture with a big one
This will fix several issue and avoid to hard code size everywhere in the code
Eg: commit 92f837c and commit https://github.com/odoo/odoo/commit/154fc7d9dd550d35b7266af024e54c20e18938fc#diff-9af1af2039d16d6b544d481b4ee1ed7cR144
closes odoo/odoo#27695
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
