← Back to team overview

credativ team mailing list archive

[Bug 904125] Re: error trying to select delivery address in PO

 

BTW , it must be possible to set a delivery address from another partner
(very common to ship products not to the ordering partner)

** Summary changed:

- error trying to select an address in PO
+ error trying to select delivery address in PO

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

Title:
  error trying to select delivery address in PO

Status in OpenERP Addons (modules):
  New

Bug description:
  base_contact installed

  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 : de_DE.UTF8
  Python Version : 2.7.0
  OpenERP-Client Version : 6.1beta
  Last revision No. & ID :2022 office@chricar-20111213223247-g4hs5tfej0dz2i2i
  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/904125/+subscriptions


References