diff options
| author | Géry Debongnie <ged@odoo.com> | 2018-04-19 14:11:40 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-04-19 17:15:26 +0200 |
| commit | 6c97aeee8de0ba495d48e659c9e50a5b4ca33d40 (patch) | |
| tree | 44204112c428cc262c0c35aca64856d9854d533a /addons/project/controllers | |
| parent | 841f3914cc68ca9e58e0565383980912326a2fd7 (diff) | |
[FIX] web: use FieldText as fallback for html fields
Currently, the default field widget of type html is not defined in the
web addon, but in the web_editor addon. It uses the summernote library
and different assets.
The web_editor addon is defined with auto_install=true, so it is usually
not an issue. However, it could happen that there is some issue with
the web_editor asset bundles. In that case, any form view with a field
of type html will crash.
With this commit, we define a default widget of type html in the web
addon. This will render as text (so, not exactly what one might
expect), but it is still better than making the web client unusable.
Diffstat (limited to 'addons/project/controllers')
0 files changed, 0 insertions, 0 deletions
