summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorLaurent Stukkens (LTU) <ltu@odoo.com>2020-09-08 14:48:27 +0000
committerLaurent Stukkens (LTU) <ltu@odoo.com>2020-09-11 08:46:09 +0000
commit18d4e3327c7152b4c3a86ba377e3357f213b703c (patch)
tree81f78f3b5077c4a88304a4b480df7147d2b63488 /addons/web/static/src/js/fields/basic_fields.js
parent00c1c9a7258cf53f1a40938e3a928151b188de64 (diff)
[IMP] website: add image widget support for urls char fields
* Prior to this commit, images were only managed when being an image field. No widget were used either. * After this commit, image stored in model as url (as res.country.image_url) can be used when specifying ':image' after the field name. The fields are now rendered using their corresponding default widget. If there is a need to force another widget and if the developer is sure that it is compatible, he/she can specify it using the notation: 'field_name:widget_name'. closes odoo/odoo#57482 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions