Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2804 Weergaven

For Quotation Date in a Sales Order, we don't need the time portion.

Avatar
Annuleer
Beste antwoord

Odoo leverages the Bootstrap Tempus Dominus datepicker.


The best option is to use field options to change the format used:

options="{'datepicker': {'format': 'L'}}"


Although you can change the widget used to DATE instead of DATETIME you will encounter issues if you are not in the UTC timezone, see https://github.com/odoo/odoo/issues/55827


Avatar
Annuleer
Beste antwoord

Hi,

Add widget="date" along with the field by inheriting the view.

Thanks

Avatar
Annuleer

If you are in a timezone which has a negative UTC offset, you will encounter the problem I reference.

Gerelateerde posts Antwoorden Weergaven Activiteit
2
jan. 24
2523
2
jun. 22
4464
2
jun. 18
6033
2
nov. 16
13620
2
feb. 24
12515