截至目前,openerp 中的日历默认为 24 小时格式,但我想更改日历的 12 小时格式。提前致谢。
user1393412
问问题
741 次
2 回答
0
Do you mean to display only 12 hrs ? Or you want the 24 hrs but with a range of 2 hrs ?
if you want the first solution, simply put day_length attribute to your calendar tag with an integer to specify how many hrs you want to display (actually, it only permits to create records on those 12 hrs, it's consided as a "working day length".).
example :
<calendar day_length="12" ....... >
<!-- some fields -->
<calendar />
Otherwise, i think you have to override default calendar view, but i can't help you to do that.
Regards,
Nonow Dev
于 2013-02-12T10:18:34.080 回答
0
日历视图中有三种类型的类别。
- 天
- 星期
- 月
当您单击日期按钮时,您的数据将以 12 小时的方式分叉。
于 2013-01-08T11:04:01.627 回答