openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27287
[Bug 1280984] [NEW] hr_analytic_timesheet crashes on second task item
Public bug reported:
Running Version 7.0-20140209-002657 on local Ubuntu server; Firefox
27.0.1.
1. Create a project and a task.
2. Display the task.
3. Edit. Add an item. Save. All OK at this point. Task item shows up in timesheet as expected.
4. Edit again. Add a new item. Save. Error message displayed; task item
not saved.
Error message ---
Server Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/openerp/osv/osv.py", line 190, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/server/openerp/osv/osv.py", line 132, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/osv/osv.py", line 199, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/openerp/osv/osv.py", line 187, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/openerp/addons/project_timesheet/project_timesheet.py", line 256, in write
return super(task,self).write(cr, uid, ids, vals, context)
File "/opt/openerp/server/openerp/addons/timesheet_task/project_task.py", line 96, in write
res = super(ProjectTask, self).write(cr, uid, ids, vals, context=context)
File "/opt/openerp/server/openerp/addons/project/project.py", line 1154, in write
result = super(task, self).write(cr, uid, ids, vals, context=context)
File "/opt/openerp/server/openerp/addons/mail/mail_thread.py", line 290, in write
result = super(mail_thread, self).write(cr, uid, ids, values, context=context)
File "/opt/openerp/server/openerp/addons/pad/pad.py", line 83, in write
return super(pad_common, self).write(cr, uid, ids, vals, context=context)
File "/opt/openerp/server/openerp/osv/orm.py", line 4201, in write
result += self._columns[field].set(cr, self, id, field, vals[field], user, context=rel_context) or []
File "/opt/openerp/server/openerp/osv/fields.py", line 574, in set
cr.execute("select 1 from {0} where id=%s and {1}=%s".format(_table, self._fields_id), (act[1], id))
File "/opt/openerp/server/openerp/sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "/opt/openerp/server/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
ProgrammingError: column "task_id" does not exist
LINE 1: ...elect 1 from hr_analytic_timesheet where id=24 and task_id=6
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/1280984
Title:
hr_analytic_timesheet crashes on second task item
Status in OpenERP Addons (modules):
New
Bug description:
Running Version 7.0-20140209-002657 on local Ubuntu server; Firefox
27.0.1.
1. Create a project and a task.
2. Display the task.
3. Edit. Add an item. Save. All OK at this point. Task item shows up in timesheet as expected.
4. Edit again. Add a new item. Save. Error message displayed; task
item not saved.
Error message ---
Server Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/openerp/osv/osv.py", line 190, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/server/openerp/osv/osv.py", line 132, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/osv/osv.py", line 199, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/openerp/osv/osv.py", line 187, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/openerp/addons/project_timesheet/project_timesheet.py", line 256, in write
return super(task,self).write(cr, uid, ids, vals, context)
File "/opt/openerp/server/openerp/addons/timesheet_task/project_task.py", line 96, in write
res = super(ProjectTask, self).write(cr, uid, ids, vals, context=context)
File "/opt/openerp/server/openerp/addons/project/project.py", line 1154, in write
result = super(task, self).write(cr, uid, ids, vals, context=context)
File "/opt/openerp/server/openerp/addons/mail/mail_thread.py", line 290, in write
result = super(mail_thread, self).write(cr, uid, ids, values, context=context)
File "/opt/openerp/server/openerp/addons/pad/pad.py", line 83, in write
return super(pad_common, self).write(cr, uid, ids, vals, context=context)
File "/opt/openerp/server/openerp/osv/orm.py", line 4201, in write
result += self._columns[field].set(cr, self, id, field, vals[field], user, context=rel_context) or []
File "/opt/openerp/server/openerp/osv/fields.py", line 574, in set
cr.execute("select 1 from {0} where id=%s and {1}=%s".format(_table, self._fields_id), (act[1], id))
File "/opt/openerp/server/openerp/sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "/opt/openerp/server/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
ProgrammingError: column "task_id" does not exist
LINE 1: ...elect 1 from hr_analytic_timesheet where id=24 and task_id=6
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1280984/+subscriptions
Follow ups
References