Odoo Help


[SOLVED] How can I hide the time of Datetime field of a quotation (doc.date_order)?

on 11/17/16, 9:38 PM 665 views

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?

Shameem Babu @ iWesabe
On 11/18/16, 1:18 AM

Hi Robert

I have explained to Damian


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 !

Axel Mendoza
On 11/18/16, 3:22 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/17/16, 9:38 PM
Seen: 665 times
Last updated: 11/18/16, 3:25 AM