trace-back when Subscribe partner

Bug #1000186 reported by Mayur Maheshwari(OpenERP) on 2012-05-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed
OpenERP's Framework R&D

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/", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/", 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/", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/osv/", 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/", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-8983/server/openerp/osv/", 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/", 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/", 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/", 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/", 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/", 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/", 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'


Related branches

Amit Parik (amit-parik) on 2012-05-16
affects: openobject-addons → openobject-server
Changed in openobject-server:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Changed in openobject-server:
status: Confirmed → In Progress

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments