diff options
| author | Aaron Bohy <aab@odoo.com> | 2018-04-13 12:20:55 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2018-04-13 14:59:48 +0200 |
| commit | 52cd52e624d987916ea62e566cc777505c13e469 (patch) | |
| tree | 3064cd57b6d14e14bef4588664893dd901a362c0 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | baeb7432513a8820f6ed878cd3ecdc4a4b0a6812 (diff) | |
[FIX] web: BasicModel: default_get on o2m with date field
Before this rev., a crash occured when a default_get returned a
command 0 (CREATE) for a one2many, with a value for a date(time)
field (e.g. [0, false, {some_date_field: '2018-12-08'}]). This
was because the related values (inside the commands) weren't
parsed. This only impacted date and datetime fields, for which the
parsing converts the string into a moment instance.
Fixes #23672
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
