diff options
| author | svs-odoo <svs@odoo.com> | 2018-10-02 13:08:18 +0000 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-10-09 12:34:23 +0000 |
| commit | 078b31dc7f67f3893bcbe5a3b76936490add0e38 (patch) | |
| tree | 97314d700ebf33e3a75ac4575262e323b4ff8a24 /doc/reference | |
| parent | b732ab3dc9698e65d55402c4a3ee499ced6af59b (diff) | |
[FIX] web: Make datetimepicker configurable in datetime fields
The datetimepicker option was introduced to be able to customize the
datetime picker widget in date/datetime fields. However, due to the way
the _makeDatePicker function was coded, it did not work in datetime
fields.
Thank to Yajo for the initial fix
closes odoo/odoo#27541
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/javascript_reference.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/javascript_reference.rst b/doc/reference/javascript_reference.rst index 053f0fe6bbb..d7fb8de399a 100644 --- a/doc/reference/javascript_reference.rst +++ b/doc/reference/javascript_reference.rst @@ -1348,7 +1348,7 @@ order. .. code-block:: xml - <field name="datefield" options='{"datepicker": {"daysOfWeekDisabled": [0, 6]}}'/> + <field name="datetimefield" options='{"datepicker": {"daysOfWeekDisabled": [0, 6]}}'/> - monetary (FieldMonetary) This is the default field type for fields of type 'monetary'. It is used to |
