← Back to team overview

credativ team mailing list archive

[Bug 898980] Re: [Extra-Trunk] Project_Event: Project 's Done button gives a error.

 

** Branch linked: lp:openobject-addons/extra-trunk

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

Title:
  [Extra-Trunk] Project_Event: Project 's Done button gives a error.

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  Steps:
  1) install project_event.
  2) Go to Project/Configuration/Projects and Stages/Projects.
  3) Open project "Integrate a Sale and Warehouse Management.' 
  4) Press "Done" button Which gives a following error.

  Traceback (most recent call last):
    File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/amp/workspace/trunk6/addons/project/project.py", line 189, in set_done
      task_obj.write(cr, uid, task_ids, {'state': 'done', 'date_end':time.strftime('%Y-%m-%d %H:%M:%S'), 'remaining_hours': 0.0})
    File "/home/amp/workspace/trunk6/addons/project_timesheet/project_timesheet.py", line 222, in write
      return super(task,self).write(cr, uid, ids, vals, context)
    File "/home/amp/workspace/trunk6/addons/project_event/project_event.py", line 176, in write
      task = self.browse(cr, uid, ids)[0]
  IndexError: list index out of range

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


References