summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpso <pso@tinyerp.com>2010-11-02 15:44:27 +0530
committerpso <pso@tinyerp.com>2010-11-02 15:44:27 +0530
commit4f1ddce0fb8afff4f8d128dcfbd352acdbbadfe2 (patch)
tree7ee94d81a01f63b561c3dc18a371fc9ad1e59265
parent4416148ab68579c735dea0a8dd869091af28793d (diff)
[FIX] hr_timesheet_sheet: Fixed overlapping error of timesheet
lp bug: https://launchpad.net/bugs/669360 fixed bzr revid: pso@tinyerp.com-20101102101427-gpjgxlj6fuo8q3pf
-rw-r--r--addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml
index daaa55fc6a1..3ffa2cf0d1a 100644
--- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml
+++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml
@@ -6,9 +6,7 @@
<field name="name">Sheet 1</field>
<field name="user_id" ref="base.user_root"/>
<field name="employee_id" ref="hr.employee1" />
- <field eval="time.strftime('%Y-%m-01', time.localtime(time.mktime(time.localtime()[0:2] + (0,)*7)-1))" name="date_from"/>
- <field eval="time.strftime('%Y-%m-15', time.localtime(time.mktime(time.localtime()[0:2] + (0,)*7)-1))" name="date_current"/>
- <field eval="time.strftime('%Y-%m-%d', time.localtime(time.mktime(time.localtime()[0:2] + (0,)*7)-1))" name="date_to"/>
+ <field eval="time.strftime('%Y-%m-%d')" name="date_current"/>
</record>
</data>