openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23196
[Bug 1104287] Re: [trunk/7.0]Error Scheduling Projects (long_term_planning)
If you have several project phases that are dependend on each other
(constraints) and close one of them you get the same error as well.
This also happens if the tasks within a project phase have no relation
to tasks in another project phase.
It is also not possible no reactivate (in progress) a project phase if
you accidentally click "done".
Actually the project planing in OpenERP 7.0 is currently absolutely
useless because nothing works as expected!
--
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