← Back to team overview

openerp-india team mailing list archive

[Bug 1028277] [NEW] [trunk] 6.2 Purchase order - Send RFK error

 

Public bug reported:

Hello,

When I create draft purchase order and save it, than I when I hit the
button Send RFK, then I get this error:

Client Traceback (most recent call last):
  File "/opt/openerp-web/addons/web/common/http.py", line 181, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/opt/openerp-web/addons/web/controllers/main.py", line 1019, in onchange
    result = self.call_common(req, model, method, args, context_id=context_id)
  File "/opt/openerp-web/addons/web/controllers/main.py", line 983, in call_common
    return self._call_kw(req, model, method, args, {})
  File "/opt/openerp-web/addons/web/controllers/main.py", line 997, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/opt/openerp-web/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/opt/openerp-web/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/opt/openerp-web/addons/web/common/http.py", line 623, in send
    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)


Server Traceback (most recent call last):
  File "/opt/openerp-web/addons/web/common/http.py", line 608, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openobject-server/openerp/netsvc.py", line 362, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openobject-server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openobject-server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openobject-server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openobject-server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openobject-server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openobject-addons/email_template/wizard/mail_compose_message.py", line 78, in on_change_template
    values['dest_partner_ids'] = values['partner_ids']
KeyError: 'partner_ids'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  [trunk] 6.2 Purchase order - Send RFK error

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  When I create draft purchase order and save it, than I when I hit the
  button Send RFK, then I get this error:

  Client Traceback (most recent call last):
    File "/opt/openerp-web/addons/web/common/http.py", line 181, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/opt/openerp-web/addons/web/controllers/main.py", line 1019, in onchange
      result = self.call_common(req, model, method, args, context_id=context_id)
    File "/opt/openerp-web/addons/web/controllers/main.py", line 983, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/opt/openerp-web/addons/web/controllers/main.py", line 997, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/opt/openerp-web/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/opt/openerp-web/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/opt/openerp-web/addons/web/common/http.py", line 623, in send
      raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/opt/openerp-web/addons/web/common/http.py", line 608, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/opt/openobject-server/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/openobject-server/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openobject-server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/opt/openobject-server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openobject-server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openobject-server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openobject-addons/email_template/wizard/mail_compose_message.py", line 78, in on_change_template
      values['dest_partner_ids'] = values['partner_ids']
  KeyError: 'partner_ids'

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


Follow ups

References