Odoo Help

0

From Datetime to Date

By
Uillino
on 8/7/15, 6:23 AM 578 views

I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?

2

Temur

--Temur--
2932
| 6 5 7
Tbilisi, Georgia
--Temur--
Programmer
Temur
On 8/7/15, 6:44 AM

yes, using widget="date" with the corresponding field.

example:

<field name="your_datetime_field_name" widget="date"/>
 

Thank you!

Uillino
on 8/7/15, 7:39 AM

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.

Register

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)

Stats

Asked: 8/7/15, 6:23 AM
Seen: 578 times
Last updated: 8/7/15, 7:38 AM