diff options
| author | Martin Geubelle <mge@odoo.com> | 2017-10-19 18:05:17 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2017-10-20 11:25:32 +0200 |
| commit | 2455350c40df86266eabd614ceab451159d67be3 (patch) | |
| tree | a08b76d02a4413633d8280ccc447496f3c38059d /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 1312ee72cf35e3887721ac56472f1188f636ec61 (diff) | |
[FIX] web: deal with `date` widget on datetime
This use case was not correctly managed as the function evaluating if the
value has changed compares datetime and date.
This triggered an issue if the widget `date` was set on the field `date_order`
on a purchase order for example ; it was not possible to create a record as
the datapoint was set `dirty`.
This rev. ensures that a `field_changed` is not triggered if the day is the same
on a date widget.
This rev. also adds support of `datetime` fields on date widget, which appears
to be a valid use case.
Fixes https://github.com/odoo/odoo/issues/20311
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
