Closed GoogleCodeExporter closed 9 years ago
参与:
Jeff
mrshelly
大小鱼
步科
等!!!!!!!!!!!!!!!!
结论:
1 html_view 中可以比较录活地使用HTML相关标签,
并可以灵活控制, 可以用于报表的一些渲染处理.
2 dayofweek 的数据就是迎合python
时间对象对每周第几天的处理. 同时间对象保持一致. 而
isoweekday 又是另一种标准..
附件为频道录音..
(14:26:03)
http://www.openerp-china.org/index.php?page=account.financial.report
Jeff (14:33:14)
http://code.google.com/p/openerp-china/source/browse/branches/openerp-6.1-1/open
erp/addons/R/resource/resource.py
Jeff (14:33:43)
cr.execute("select hour_from,hour_to from resource_calendar_attendance where
dayofweek='%s' and calendar_id=%s order by hour_from desc",
(dt_from.weekday(),id))
Jeff (14:34:18)
if (int(working_day.dayofweek) + 1) == day.isoweekday():
mrshelly (14:36:00)
time.strftime('%Y-%m-%d')
mrshelly (14:36:27)
datetime.datetime(2012,9,2,14,36,0)
Jeff (14:41:38)
http://code.google.com/p/openerp-china/source/browse/branches/openerp-6.1-1/open
erp/addons/R/resource/resource.py
Jeff (14:42:32)
http://code.google.com/p/openerp-china/source/browse/branches/openerp-6.1-1/open
erp/addons/R/resource/resource.py
Jeff (14:42:45)
cr.execute("select hour_from,hour_to from resource_calendar_attendance where
dayofweek='%s' and calendar_id=%s order by hour_from", (dt_from.weekday(),id))
mrshelly (14:44:08)
88
宅丶 在家 (14:44:10)
听听的
Original comment by mrshe...@gmail.com
on 3 Sep 2012 at 9:34
Attachments:
Original issue reported on code.google.com by
mrshe...@gmail.com
on 2 Sep 2012 at 5:53