For Quotation Date in a Sales Order, we don't need the time portion.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Thanks for the info
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
sty 24
|
1877 | ||
|
2
cze 22
|
3720 | ||
How can I use date format only without time?
Rozwiązane
|
|
2
cze 18
|
5495 | |
|
2
lis 16
|
12730 | ||
|
2
lut 24
|
11795 |