← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 822976] Re: [TRUNK] ValueError: Bad domain expression: [1, 3, 4]

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-822976-bde

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/822976

Title:
  [TRUNK] ValueError: Bad domain expression: [1, 3, 4]

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  Using server, web client, addons and extra-addons from trunk, I
  installed the account module and got the following error during the
  installation :

  [2011-08-08 17:41:34,419][?] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 118, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/max/openerp/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/max/openerp/server/trunk/openerp/osv/orm.py", line 2098, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/home/max/openerp/server/trunk/openerp/addons/base/res/res_company.py", line 146, in _search
      context=context, count=count, access_rights_uid=access_rights_uid)
    File "/home/max/openerp/server/trunk/openerp/osv/orm.py", line 4506, in _search
      query = self._where_calc(cr, user, args, context=context)
    File "/home/max/openerp/server/trunk/openerp/osv/orm.py", line 4358, in _where_calc
      e = expression.expression(domain)
    File "/home/max/openerp/server/trunk/openerp/osv/expression.py", line 141, in __init__
      raise ValueError('Bad domain expression: %r' % (exp,))
  ValueError: Bad domain expression: [1, 3, 4]
  > /home/max/openerp/server/trunk/openerp/osv/expression.py(141)__init__()
  -> raise ValueError('Bad domain expression: %r' % (exp,))

  No company is listed in the form view of the installer.

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


References