← Back to team overview

credativ team mailing list archive

[Bug 906726] Re: [point_of_sale] : ValueError: Invalid field 'type' in domain expression [('type', '=', 'normal')]

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

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

Title:
  [point_of_sale] : ValueError: Invalid field 'type' in domain
  expression [('type', '=', 'normal')]

Status in OpenERP Addons (modules):
  In Progress

Bug description:
  I can't assign or edit the pos category for products. I got trace back
  :

  
    File "/home/amit/OpenERP/server/trunk/openerp/service/netrpc_server.py", line 62, in run
      result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
    File "/home/amit/OpenERP/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/amit/OpenERP/server/trunk/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 2244, in name_search
      return self._name_search(cr, user, name, args, operator, context, limit)
    File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 2275, in _name_search
      ids = self._search(cr, user, args, limit=limit, context=context, access_rights_uid=access_rights_uid)
    File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 4510, in _search
      query = self._where_calc(cr, user, args, context=context)
    File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 4359, in _where_calc
      e = expression.expression(cr, user, domain, self, context)
    File "/home/amit/OpenERP/server/trunk/openerp/osv/expression.py", line 358, in __init__
      self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
    File "/home/amit/OpenERP/server/trunk/openerp/osv/expression.py", line 454, in parse
      raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
  ValueError: Invalid field 'type' in domain expression [('type', '=', 'normal')]

  
  Thanks,
  Amit

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


References