diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-01-24 16:29:51 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-01-24 16:29:51 +0000 |
| commit | d8eb0f2555981df0729e46d06b1523e3c34b0b9b (patch) | |
| tree | 13c7db146189929478e990806f6852b4f6e6e781 /addons/web/static/src/js/fields/relational_fields.js | |
| parent | 3d52704296a9b40ba336452c1b06368b3fc3a414 (diff) | |
[FIX] web: fix image placeholder size
Following commit c4e0e5461c0ac39ffee3bb3031cc2615758d22ad
Before the current commit the placeholder was used at the end of the logic, so
it ignored the parameters such as width, height, crop, ...
Now the image is correctly replaced by the placeholder before we try to apply
the rest of the logic.
One example of such problem was in website_sale_comparison, on the comparison
page, if we tried to compare a product which had no image, the placeholder image
was bigger than expected.
task-1929646
closes odoo/odoo#30525
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
