diff options
| author | len-odoo <len@odoo.com> | 2018-10-12 08:29:09 +0000 |
|---|---|---|
| committer | len-odoo <len@odoo.com> | 2018-10-12 10:13:50 +0000 |
| commit | ad79cc09c6f33da54de47ab3a9a15aacb61bb3fd (patch) | |
| tree | bdf2a90b3ed510ff20ed6b31d4ed4acc8e8ee988 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | fc1ba68c6a5935b4e86c2709de049aac9867f56d (diff) | |
[FIX] web: don't allow reference widget to be set on char fields
The reference widget is expecting a models list as selection attribute
in the field declaration.
It does not exist in the case of the char field.
Support for char fields was added to allow for external identifiers,
but it only works in readonly.
As a consequence, it tracebacks in Edit mode when used in studio.
We thusly remove char field from the list of supported fields.
opw 1892602
closes odoo/odoo#27708
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
