trace-back when Subscribe partner

Bug #1000186 reported by Mayur Maheshwari(OpenERP)
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Committed
Medium
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/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

Related branches

Revision history for this message
Mayur Maheshwari(OpenERP) (mma-openerp) wrote :
Amit Parik (amit-parik)
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
Revision history for this message
Randhir Mayatra (OpenERP) (rma-openerp) wrote :

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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.