0 编辑 关闭 删除 标记 Date field format 编辑 关闭 删除 标记 odoo 21 十月 2022 退订 订阅 评论 分享 1 备注 贴子评论 丢弃 odoo - 21 十月 2022 删除 转换为答案 It is in the form of YYYY/MMM/D/h/m.Field Informationdate = fields.Datetime()<field name="date"/> 2 答案 0 odoo 28 十月 2022 最佳答案 Go to -> Settings -> Translation -> LanguagesOpen your activated languagesChange the date format 备注 分享 贴子评论 丢弃 0 odoo 28 十月 2022 最佳答案 Hi,Instead of creating new widget can you try the following way.Go to Settings-> Translations-> Languages Choose your preferred language and Edit the Date format and Time Format to your required one and Save. Regards 备注 分享 贴子评论 丢弃
It is in the form of YYYY/MMM/D/h/m.
Field Information
date = fields.Datetime()
<field name="date"/>