summaryrefslogtreecommitdiff
path: root/addons/project_long_term
diff options
context:
space:
mode:
authorMustufa Rangwala <mra@mra-laptop>2011-06-28 17:43:58 +0530
committerMustufa Rangwala <mra@mra-laptop>2011-06-28 17:43:58 +0530
commitca6a1a7e61a0ff8de0d7f509439db781e9847a8b (patch)
tree75c26566b1af32a905406de845db55a0894ab6b7 /addons/project_long_term
parent12f87010029b2616145bd97cc037bbc27d86ed57 (diff)
parenteedefe1ebc30005bb1939b748acc06a2ace2cc19 (diff)
[MERGE] merge from main branch trunk
bzr revid: mra@mra-laptop-20110628121358-idgt9r6jf4z4zgmj
Diffstat (limited to 'addons/project_long_term')
-rw-r--r--addons/project_long_term/project_long_term.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/addons/project_long_term/project_long_term.py b/addons/project_long_term/project_long_term.py
index 4620fc81a7a..779c7f6d062 100644
--- a/addons/project_long_term/project_long_term.py
+++ b/addons/project_long_term/project_long_term.py
@@ -379,8 +379,8 @@ def Phase_%d():
end_date = task.end.to_datetime()
task_pool.write(cr, uid, [task_id], {
- 'date_start': start_date.strftime('%Y-%m-%d'),
- 'date_end': end_date.strftime('%Y-%m-%d')
+ 'date_start': start_date.strftime('%Y-%m-%d %H:%M:%S'),
+ 'date_end': end_date.strftime('%Y-%m-%d %H:%M:%S')
}, context=context)
return True
project_phase()
@@ -570,8 +570,8 @@ def Project_%d():
phase_pool.write(cr, uid, [phase_id], {
- 'date_start': start_date.strftime('%Y-%m-%d'),
- 'date_end': end_date.strftime('%Y-%m-%d')
+ 'date_start': start_date.strftime('%Y-%m-%d'),
+ 'date_end': end_date.strftime('%Y-%m-%d')
}, context=context)
return True
@@ -695,8 +695,8 @@ def Project_%d():
end_date = task.end.to_datetime()
task_pool.write(cr, uid, [task_id], {
- 'date_start': start_date.strftime('%Y-%m-%d'),
- 'date_end': end_date.strftime('%Y-%m-%d')
+ 'date_start': start_date.strftime('%Y-%m-%d %H:%M:%S'),
+ 'date_end': end_date.strftime('%Y-%m-%d %H:%M:%S')
}, context=context)
return True