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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
4416
瀏覽次數
yes, using widget="date" with the corresponding field.
example:
<field name="your_datetime_field_name" widget="date"/>
Thank you!
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
Datetime in Odoo
已解決
|
|
2
7月 18
|
6970 | |
|
3
8月 20
|
9866 | ||
|
3
6月 25
|
890 | ||
|
0
4月 24
|
1827 | ||
|
4
11月 23
|
5870 |