← Back to team overview

credativ team mailing list archive

[Bug 904610] Re: incoming shipment - NEW error selecting address

 

Hello,

The problem occurs only when base_contact module is installed.

Thank  you!

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

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

Title:
  incoming shipment - NEW  error selecting address

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  trying to create an incoming shipmemt without purchase order,

  enter some characters and press enter (search works without entering
  search strings)

  Environment Information : 
  System : Linux-2.6.37.6-0.9-desktop-x86_64-with-SuSE-11.4-x86_64
  OS Name : posix
  LSB Version:	core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
  Distributor ID:	SUSE LINUX
  Description:	openSUSE 11.4 (x86_64)
  Release:	11.4
  Codename:	Celadon
  Operating System Release : 2.6.37.6-0.9-desktop
  Operating System Version : #1 SMP PREEMPT 2011-10-19 22:33:27 +0200
  Operating System Architecture : 64bit
  Operating System Locale : en_US.UTF8
  Python Version : 2.7.0
  OpenERP-Client Version : 6.1beta
  Last revision No. & ID :2018 openerp@xxxxxxxxxxxxxxxxxxxxx-20111209114304-bkiayzarl42mj43o
  Traceback (most recent call last):
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/netrpc_server.py", line 62, in run
      result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/srv/openerp/instances/trunk/openobject-addons/audittrail/audittrail.py", line 495, in execute_cr
      return fct_src(cr, uid, model, method, *args)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/srv/openerp/instances/trunk/openobject-addons/base_contact/base_contact.py", line 152, in name_search
      job_ids = jobs.search(cr, user, [('contact_id', operator, name)] + args, limit=limit, context=context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 2206, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4510, in _search
      query = self._where_calc(cr, user, args, context=context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4359, in _where_calc
      e = expression.expression(cr, user, domain, self, context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 358, in __init__
      self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 454, in parse
      raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
  ValueError: Invalid field 'partner_id' in domain expression ['&', ('contact_id', 'in', []), ('partner_id', '!=', False)]

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


References