summaryrefslogtreecommitdiff
path: root/addons/project_long_term/project.py
diff options
context:
space:
mode:
authorRvo (Open ERP) <rvo@tinyerp.co.in>2010-03-02 19:11:19 +0530
committerRvo (Open ERP) <rvo@tinyerp.co.in>2010-03-02 19:11:19 +0530
commitf9a593a862ac7b2bb12b26852db96b3978411db4 (patch)
tree996935e1b6250a12694b5cb443f92b2e30780c68 /addons/project_long_term/project.py
parent85ff1c55616528d2310460fe39371f049e93e3ca (diff)
[IMP]:view inheritance of project.task,on_change on tasks
bzr revid: rvo@tinyerp.co.in-20100302134119-vii5t2aw2vo5nwd1
Diffstat (limited to 'addons/project_long_term/project.py')
-rw-r--r--addons/project_long_term/project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project_long_term/project.py b/addons/project_long_term/project.py
index cd928d908e2..94e82b593eb 100644
--- a/addons/project_long_term/project.py
+++ b/addons/project_long_term/project.py
@@ -187,7 +187,6 @@ class project_phase(osv.osv):
uom_pool = self.pool.get('product.uom')
resource_id = False
calendar_id = phase.project_id.resource_calendar_id.id
-
resource_id = resource_pool.search(cr, uid, [('user_id','=',phase.responsible_id.id)])
if resource_id:
calendar_id = resource_pool.browse(cr, uid, resource_id[0]).calendar_id.id
@@ -373,6 +372,7 @@ class task(osv.osv):
for next_task in tasks.child_ids:
self.constraint_date_end(cr, uid, next_task, dt_end)
+
return super(task, self).write(cr, uid, ids, vals, context=context)
task()