Skip to Content
Menú
This question has been flagged
2 Respostes
2803 Vistes

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

Avatar
Descartar
Best Answer

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
Descartar
Best Answer

Hi,

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

Thanks

Avatar
Descartar

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

Related Posts Respostes Vistes Activitat
2
de gen. 24
2523
2
de juny 22
4464
2
de juny 18
6033
2
de nov. 16
13619
2
de febr. 24
12515