summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/view_dialogs.js
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2018-10-11 17:02:47 +0000
committerChristophe Simonis <chs@odoo.com>2018-11-06 18:37:29 +0100
commitae3997b8bf7e539f91a64870ced76868550bae12 (patch)
tree793dab7381b2de5d72a4b8e955a8bccf55626fba /addons/web/static/src/js/views/view_dialogs.js
parenteaa93d1bd491b41b92d50fb1c0f6f6a5e1596557 (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/view_dialogs.js')
0 files changed, 0 insertions, 0 deletions