← Back to team overview

openerp-india team mailing list archive

[Bug 932113] Re: can not add attachment

 

Hello ferdinand ,

I have checked this with latest trunk but I did not face any problem 
like yours. So would you please provide more information regarding this issue.

Thanks and waiting for reply!

** Changed in: openobject-server
       Status: New => Incomplete

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

Title:
  can not add attachment

Status in OpenERP Server:
  Incomplete

Bug description:
  Server Traceback (most recent call last):
    File "/srv/openerp/instances/openerp_test_chricar/src/webclient/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/service/web_services.py", line 572, in dispatch
      res = fn(db, uid, *params)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/addons/base_calendar/base_calendar.py", line 1632, in search_count
      return super(ir_attachment, self).search_count(cr, user, args1, context)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/orm.py", line 2189, in search_count
      res = self.search(cr, user, args, context=context, count=True)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/addons/document/document.py", line 186, in search
      context=context, count=False)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/addons/base_calendar/base_calendar.py", line 1660, in search
      limit=limit, order=order, context=context, count=False)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/addons/base/ir/ir_attachment.py", line 61, in search
      context=context, count=False)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/orm.py", line 2236, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/orm.py", line 4543, in _search
      query = self._where_calc(cr, user, args, context=context)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/orm.py", line 4392, in _where_calc
      e = expression.expression(cr, user, domain, self, context)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/expression.py", line 358, in __init__
      self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
    File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/expression.py", line 417, in parse
      raise ValueError("Invalid term %r in domain expression %r" % (e, exp))
  ValueError: Invalid term ['!'] in domain expression ['&', ['!'], ['id', 'in', '[]']]

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


References