← Back to team overview

openerp-india team mailing list archive

[Bug 1179827] Re: Project Task Work Timesheet can't be stored

 

** Changed in: openobject-addons
       Status: Expired => Invalid

-- 
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/1179827

Title:
  Project Task Work Timesheet can't be stored

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Good Morning,

  this bug refers to the actual nightly build V7.0:

  Setup a new database with demo data.
  Install Projectmanagement.
  Enable Record timesheet lines per tasks.
  Try to record times on a task.

  Traceback:
  Client Traceback (most recent call last):
    File "/srv/openerp7/openerp/addons/web/http.py", line 204, in dispatch
      response["result"] = method(self, **self.params)
    File "/srv/openerp7/openerp/addons/web/controllers/main.py", line 1129, in call_kw
      return self._call_kw(req, model, method, args, kwargs)
    File "/srv/openerp7/openerp/addons/web/controllers/main.py", line 1121, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/srv/openerp7/openerp/addons/web/session.py", line 43, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/srv/openerp7/openerp/addons/web/session.py", line 31, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/srv/openerp7/openerp/addons/web/session.py", line 104, in send
      raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/srv/openerp7/openerp/addons/web/session.py", line 90, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/srv/openerp7/openerp/netsvc.py", line 293, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/srv/openerp7/openerp/service/web_services.py", line 626, in dispatch
      res = fn(db, uid, *params)
    File "/srv/openerp7/openerp/osv/osv.py", line 188, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/srv/openerp7/openerp/osv/osv.py", line 131, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/srv/openerp7/openerp/osv/osv.py", line 197, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/srv/openerp7/openerp/osv/osv.py", line 185, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/srv/openerp7/openerp/addons/project_timesheet/project_timesheet.py", line 256, in write
      return super(task,self).write(cr, uid, ids, vals, context)
    File "/srv/openerp7/openerp/addons/project/project.py", line 1133, in write
      result = super(task, self).write(cr, uid, ids, vals, context=context)
    File "/srv/openerp7/openerp/addons/mail/mail_thread.py", line 264, in write
      result = super(mail_thread, self).write(cr, uid, ids, values, context=context)
    File "/srv/openerp7/openerp/osv/orm.py", line 4178, in write
      result += self._columns[field].set(cr, self, id, field, vals[field], user, context=rel_context) or []
    File "/srv/openerp7/openerp/osv/fields.py", line 573, in set
      obj.write(cr, user, [act[1]], {self._fields_id:id}, context=context or {})
    File "/srv/openerp7/openerp/addons/project_timesheet/project_timesheet.py", line 167, in write
      line_id = task.hr_analytic_timesheet_id
    File "/srv/openerp7/openerp/osv/orm.py", line 484, in __getattr__
      return self[name]
    File "/srv/openerp7/openerp/osv/orm.py", line 399, in __getitem__
      field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
    File "/srv/openerp7/openerp/osv/orm.py", line 3604, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/srv/openerp7/openerp/osv/orm.py", line 3656, in _read_flat
      cr.execute(query, [tuple(sub_ids)] + rule_params)
    File "/srv/openerp7/openerp/sql_db.py", line 161, in wrapper
      return f(self, *args, **kwargs)
    File "/srv/openerp7/openerp/sql_db.py", line 226, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: operator does not exist: integer = boolean
  LINE 1: ...OM "project_task_work" WHERE project_task_work.id IN (false)...
                                                               ^
  HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

  Thx for your attention

  Felix

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