← Back to team overview

openerp-india team mailing list archive

[Bug 1000186] Re: trace-back when Subscribe partner

 

Hello Mayur,

        We have traced issue at our end and it is valid point. We have
fix bug in branch lp:~openerp-commiter/openobject-server/trunk-
bug-1000186-rma at revision no# 4158 and we have proposed branch for
merging in trunk server branch.

Thank you.

** Changed in: openobject-server
       Status: In Progress => Fix Committed

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

Title:
  trace-back when Subscribe partner

Status in OpenERP Server:
  Fix Committed

Bug description:
  On runbut: - trunk [build- 8983]

  step to reproduce ---<>|

  1] open any sale or purchase order and it's form view now click a link of partner and so it's open form view of partner
  2] now click  short key [in more ] Subscribe so it's give a trace-back 
  ] but if you open partner form without any link and open short key [in more] click on Subscribe so it's working fine

      Server Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/addons/audittrail/audittrail.py", line 494, in execute_cr
      return fct_src(cr, uid, model, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/osv/orm.py", line 2146, in fields_view_get
      xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/osv/orm.py", line 1786, in __view_look_dom_arch
      fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/osv/orm.py", line 1692, in __view_look_dom
      result = self.view_header_get(cr, user, False, node.tag, context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/addons/base/res/res_partner.py", line 388, in view_header_get
      return _('Partners: ')+self.pool.get('res.partner.category').browse(cr, uid, context['category_id'], context).name
  AttributeError: 'browse_record_list' object has no attribute 'name'

  
  Thanks.
  mma

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


References