I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
3657
Views
yes, using widget="date" with the corresponding field.
example:
<field name="your_datetime_field_name" widget="date"/>
Thank you!
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
Datetime in Odoo
Solved
|
|
2
Jul 18
|
5973 | |
|
3
Aug 20
|
8848 | ||
|
0
Apr 24
|
399 | ||
|
4
Nov 23
|
4246 | ||
|
0
Oct 23
|
378 |