summaryrefslogtreecommitdiff
path: root/addons/project_long_term/project_long_term.py
diff options
context:
space:
mode:
authorpsi (Open ERP) <psi@tinyerp.co.in>2011-05-19 11:17:12 +0530
committerpsi (Open ERP) <psi@tinyerp.co.in>2011-05-19 11:17:12 +0530
commit169cd227c0e5796050f01f1b356c074851bfbd05 (patch)
tree91fe9b9a482285009471d9ac3a2b1d064ef89d72 /addons/project_long_term/project_long_term.py
parentd14b3cd7f5f949852e91943e8730487b500ce093 (diff)
parent2a86a9d12d880ad5705822892e7f334015fbc2ed (diff)
[MERGE] Merge with main addons branch
bzr revid: psi@tinyerp.co.in-20110519054712-uzpthv0dw1hbtj0t
Diffstat (limited to 'addons/project_long_term/project_long_term.py')
-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