diff options
| author | tfr@openerp.com <> | 2011-06-23 11:52:04 +0200 |
|---|---|---|
| committer | tfr@openerp.com <> | 2011-06-23 11:52:04 +0200 |
| commit | ce83ebde3a2f8142a6a50876f81c2ff7403dcec5 (patch) | |
| tree | 04f889dbe469b67a0fa48b4320c0b18023dfbda0 /addons/project_long_term | |
| parent | 37039e8a38a8ba43970690a91cd6b9dc75a1ad38 (diff) | |
| parent | 227d5cd6550621a4b287b7e636abd48736a62abd (diff) | |
[MERGE] TRUNK
bzr revid: tfr@openerp.com-20110623095204-m8vun8bun9yww43p
Diffstat (limited to 'addons/project_long_term')
| -rw-r--r-- | addons/project_long_term/project_long_term.py | 12 |
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 |
