← Back to team overview

openerp-india team mailing list archive

[Bug 1104287] Re: Error Scheduling Projects (long_term_planning)

 

** Attachment added: "phase.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/1104287/+attachment/3499597/+files/phase.ogv

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

** Summary changed:

- Error Scheduling Projects (long_term_planning)
+ [trunk/7.0]Error Scheduling Projects (long_term_planning)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1104287

Title:
  [trunk/7.0]Error Scheduling Projects (long_term_planning)

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  openerp v7

  As described here http://forum.openerp.com/forum/topic30189.html the
  problem is as next:

  First i created a project (corporate website) with a few tasks and 1
  project phase. I give the project phase a resource (Niko) and set 1
  task to the project phase.

  Then i want to schedule the tasks and project phase but i get always
  the next error, why?

  By phase scheduling I get this error:
  Traceback (most recent call last):
  File "/home/mia/Mia/lib/python2.6/site-packages/openerp-server/netsvc.py", line 489, in dispatch
  result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/mia/Mia/lib/python2.6/site-packages/openerp-server/service/web_services.py", line 599, in dispatch
  res = fn(db, uid, *params)
  File "/home/mia/Mia/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 122, in wrapper
  return f(self, dbname, *args, **kwargs)
  File "/home/mia/Mia/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 176, in execute
  res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/mia/Mia/lib/python2.6/site-packages/openerp-server/osv/osv.py", line 167, in execute_cr
  return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/mia/Mia/lib/python2.6/site-packages/openerp-server/addons/project_long_term/wizard/project_compute_phases.py", line 40, in check_selection
  return self.compute_date(cr, uid, ids, context=context)
  File "/home/mia/Mia/lib/python2.6/site-packages/openerp-server/addons/project_long_term/wizard/project_compute_phases.py", line 57, in compute_date
  project_pool.schedule_phases(cr, uid, project_ids, context=context)
  File "/home/mia/Mia/lib/python2.6/site-packages/openerp-server/addons/project_long_term/project_long_term.py", line 559, in schedule_phases
  temp = eval("phase.Task_%s"%task.id)
  File "<string>", line 1, in <module>
  File "/home/mia/Mia/lib/python2.6/site-packages/openerp-server/addons/resource/faces/task.py", line 2003, in __getattr__
  raise exception
  AttributeError: 'Task_239' is not a valid attribute of 'root.Phase_3'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1104287/+subscriptions


References