web/web_widget_remaining_days_e.../readme/USAGE.rst

9 lines
289 B
ReStructuredText

If in any case the exact date doesn't need to be displayed, we can disable the
functionality by adding `options="{'exact_date': False}"` to the field that has the
widget.
**Example**
.. code:: xml
<field name="date_deadline" widget="remaining_days" options="{'exact_date': False}"/>