跳至内容
菜单
此问题已终结
2 回复
2822 查看

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

形象
丢弃
最佳答案

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


形象
丢弃
最佳答案

Hi,

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

Thanks

形象
丢弃

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

相关帖文 回复 查看 活动
2
1月 24
2549
2
6月 22
4478
2
6月 18
6039
2
11月 16
13637
2
2月 24
12525