I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?
此问题已终结
1
回复
5973
查看
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
|
8942 | |
|
|
3
8月 20
|
12057 | ||
|
|
0
6月 26
|
3 | ||
|
|
0
6月 26
|
995 | ||
|
|
0
6月 26
|
1 |