diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-06-15 12:37:42 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-06-16 11:14:16 +0200 |
| commit | 8859d25bc5b719734b7d02bc26adfd38dca79e56 (patch) | |
| tree | 6106160ae2da305999149bbc141950442d802e26 /addons/web/static/tests/views/basic_model_tests.js | |
| parent | 1fa67917ba648bc15f5a895f6bdcea173e2a7258 (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/tests/views/basic_model_tests.js')
0 files changed, 0 insertions, 0 deletions
