summaryrefslogtreecommitdiff
path: root/addons/project_long_term
diff options
context:
space:
mode:
authortfr@openerp.com <>2011-05-13 14:37:15 +0200
committertfr@openerp.com <>2011-05-13 14:37:15 +0200
commit9b34b68a6b9d6cadcaf653ca9754a7cb602d7223 (patch)
tree9568bcca8c4bfbd749928187427eebda676ec3ba /addons/project_long_term
parenta270b417aab84551bb0c974934e30ec6fc494f06 (diff)
parent1a3d923003768a27ad85634968929a0646c3617e (diff)
[MERGE] fix lp:771161
bzr revid: tfr@openerp.com-20110513123715-ny01khiqg7jva9qr
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