← Back to team overview

openerp-india team mailing list archive

[Bug 1132278] Re: Object res.partner.res.partner.category.rel doesn't exist

 

Hello,

Right, it is not a bug, it's more a question how to use partner model.

I preferred to use a query because I had needed to access the partner
category name and I have had an error like "it is not possible to use a
property in a browse issue"; This is the reason for acting like this
manner.


Have a nice day too!

Thanks!

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

Title:
  Object res.partner.res.partner.category.rel doesn't exist

Status in OpenERP Server:
  Invalid

Bug description:
  Hi,

  I use openerp Version 7.0-20130215-002350, when I try to execute a request on the res.partner.res.partner.category.rel object with the WS API, I got to following error in the log :
  2013-02-23 22:38:40,731 2021 INFO openerp werkzeug: 127.0.0.1 - - [23/Feb/2013 22:38:40] "POST /xmlrpc/object HTTP/1.1" 200 -
  2013-02-23 22:38:40,733 2021 DEBUG ? openerp.netsvc.rpc.request: object.execute('openerp',
  2013-02-23 22:38:40,734 2021 DEBUG ? openerp.netsvc.rpc.request:                1,
  2013-02-23 22:38:40,734 2021 DEBUG ? openerp.netsvc.rpc.request:                '*',
  2013-02-23 22:38:40,734 2021 DEBUG ? openerp.netsvc.rpc.request:                'res.partner.res.partner.category.rel',
  2013-02-23 22:38:40,734 2021 DEBUG ? openerp.netsvc.rpc.request:                'create',
  2013-02-23 22:38:40,734 2021 DEBUG ? openerp.netsvc.rpc.request:                {'category_id': 2, 'partner_id': 11})
  2013-02-23 22:38:40,734 2021 ERROR openerp openerp.netsvc: Object Error
  Object res.partner.res.partner.category.rel doesn't exist
  Traceback (most recent call last):
    File "/opt/openerp/server/openerp/netsvc.py", line 289, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/openerp/server/openerp/service/web_services.py", line 614, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/server/openerp/osv/osv.py", line 123, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/openerp/osv/osv.py", line 179, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/openerp/osv/osv.py", line 165, in execute_cr
      raise except_osv('Object Error', 'Object %s doesn\'t exist' % str(obj))
  except_osv: ('Object Error', "Object res.partner.res.partner.category.rel doesn't exist")

  I don't understand, the name of the table is
  res_partner_res_partner_category_rel. Have you got any ideas ? Thanks
  a lot for your help !

  Best regards,

  
  Antoine

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


References