Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
13707 Prikazi

I would like to show the date but not time of a quotation.

for variable doc.date_order, it shows something like 11/18/2016 18:07:43, but I only want the date to be shown.

Any idea how to set the date format?

Avatar
Opusti
Best Answer

Hi Robert

I have explained to Damian

https://www.odoo.com/forum/help-1/question/change-date-format-from-date-time-to-just-date-110791#answer-110806

May cause problem at all references  if you change the field type.

I shall explained you another solution. You make invisible the existing field. Then add an additional Date field in form.

Then pass the value of new field to old field by overriding create and write method.

All the best !


Avatar
Opusti
Best Answer

You could just set the widget date for that field in the view and I think that you will be ok

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
jan. 24
2600
2
jun. 22
4545
2
jun. 18
6090
2
feb. 24
12575
0
okt. 23
2929