summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-06-15 12:37:42 +0200
committerAaron Bohy <aab@odoo.com>2017-06-16 11:14:16 +0200
commit8859d25bc5b719734b7d02bc26adfd38dca79e56 (patch)
tree6106160ae2da305999149bbc141950442d802e26 /addons/web/static/src/js/views/basic/basic_model.js
parent1fa67917ba648bc15f5a895f6bdcea173e2a7258 (diff)
[FIX] web: FieldWidgets: use correct format/parse functions
Field widgets must format and parse values according to the widget type, not to the field type. For example, if a monetary field is inserted in a form view with widget="float", the field's value must be formatted with the float formatter, not the montetary one. This wasn't the case before this rev.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions