diff options
| author | Adrian Torres <adt@odoo.com> | 2019-02-18 14:28:57 +0000 |
|---|---|---|
| committer | Adrian Torres <adt@odoo.com> | 2019-02-26 13:12:05 +0000 |
| commit | 5f5bb5e26b0cf49dc48d00eeac80fa25bca315c5 (patch) | |
| tree | 3d251f45233fae8183af480e7d4b5674a1466fa5 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 21a95bae505d5589c4f5801e4c24681418b99e16 (diff) | |
[FIX] ir_model_fields: register selection options
Before this commit:
-> Debug mode
-> Settings
-> Database structure
-> Fields
-> Any selection field
=> The field `selection` of the ir.model.fields form view does not
display the selection options of the field being viewed, this is because
the selection field is not registered at `_reflect_field_params` of
`ir.model.fields`.
After this commit:
The field is properly registered; for Selection fields with static
options, these are shown as-is, for fields with a lambda function as
options, the string 'function' is displayed, and for fields using a
function name as a string, the same string will be displayed.
Fixes #28360
closes odoo/odoo#31207
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
