diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-07-01 13:02:54 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-07-01 13:09:38 +0000 |
| commit | 6020f4baf27d3750d0c49a26f7a039062ac04f40 (patch) | |
| tree | cb7ae9cf72aec124600d0c207c43c0cbdc7772e0 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | eedb1bd8d2b7dd83943f7836091b116e9cecc87b (diff) | |
[FIX] base_import: support import url images with manual fields
Create a Binary field through the interface.
Try to import records through CSV like file, with a url as the value of that new image field
Before this commit, the url was saved in DB, leading to an error when trying to get
the image at read time (/web/image)
This is due to the fact that before 66f0e26f6f3f2155fcfcc55e84f2e76cbfdb2c1d (saas-12.2) , Binary fields
were not attachments by default, thus did not enter the condition that db403e6dd70e14e7275a955a84e8aab607c4711d
introduced
After this commit, the special case of manual fields with url at import is correctly handled
OPW 2024822
closes odoo/odoo#34489
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
