I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?
此問題已被標幟
1
回覆
5966
瀏覽次數
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
|
8931 | |
|
|
3
8月 20
|
12053 | ||
|
|
0
6月 26
|
3 | ||
|
|
0
6月 26
|
995 | ||
|
|
0
6月 26
|
1 |