diff options
| author | Laurent Stukkens (LTU) <ltu@odoo.com> | 2020-09-08 14:48:27 +0000 |
|---|---|---|
| committer | Laurent Stukkens (LTU) <ltu@odoo.com> | 2020-09-11 08:46:09 +0000 |
| commit | 18d4e3327c7152b4c3a86ba377e3357f213b703c (patch) | |
| tree | 81f78f3b5077c4a88304a4b480df7147d2b63488 /addons/mail/static/src/models/thread/thread.js | |
| parent | 00c1c9a7258cf53f1a40938e3a928151b188de64 (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/mail/static/src/models/thread/thread.js')
0 files changed, 0 insertions, 0 deletions
