[trunk]Can't able to click on any module header gives traceback : AttributeError: 'module' object has no attribute 'get_module_resource'

Bug #1278783 reported by Twinkle Christian(OpenERP)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
High
OpenERP's Framework R&D

Bug Description

Steps to reproduce :

Checked with latest trunk :

Go to apps or Installed Modules > click on any module header like "Social Network" > trace back will appear on just one click.

Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/http.py", line 348, in dispatch
    response["result"] = self._call_function(**self.params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/http.py", line 220, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/http.py", line 215, in checked_call
    return self.func(*a, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/http.py", line 532, in __call__
    return self.method(*args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/addons/web/controllers/main.py", line 1203, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/addons/web/controllers/main.py", line 1186, in _call_kw
    records = request.session.model(model).read(*args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/http.py", line 619, in proxy
    result = meth(cr, request.uid, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/osv/orm.py", line 3240, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/osv/orm.py", line 3356, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/osv/fields.py", line 1210, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-30012/server/openerp/addons/base/module/module.py", line 157, in _get_desc
    path = addons.get_module_resource(module.name, 'static/description/index.html')
AttributeError: 'module' object has no attribute 'get_module_resource'

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote : Re: Can't able to click on any module header gives traceback : AttributeError: 'module' object has no attribute 'get_module_resource'
summary: - Can't able to click on any module header , it goves traceback :
+ Can't able to click on any module header gives traceback :
AttributeError: 'module' object has no attribute 'get_module_resource'
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → High
status: New → Confirmed
summary: - Can't able to click on any module header gives traceback :
+ [trunk]Can't able to click on any module header gives traceback :
AttributeError: 'module' object has no attribute 'get_module_resource'
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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