← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 693268] [NEW] ValueError: No references to account.menu_generic_report

 

Public bug reported:

Install "account_financial_report" module from addons-extra generates
the following error. looks like that the core "account" module has
changed its based reports. How to track what is the new name of the
previous "account.menu_generic_report"

Environment Information : 
System : Linux-2.6.32-26-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-26-generic
Operating System Version : #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : vi_VN.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1729 fp@xxxxxxxxxxx-20101221193925-ll2n70bab4zqlnlw
Traceback (most recent call last):
  File "/var/local/software/openerp-v6.0dev/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/var/local/software/openerp-v6.0dev/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 100, in upgrade_module
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/var/local/software/openerp-v6.0dev/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/var/local/software/openerp-v6.0dev/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/__init__.py", line 865, in load_modules
    # nothing to load
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/__init__.py", line 738, in load_module_graph
    for kind in ('init', 'update'):
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/__init__.py", line 635, in load_init_update_xml
    process_sql_file(cr, fp)
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 968, in convert_xml_import
    raise
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 861, in parse
    if rec.tag in self._tags:
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 582, in _tag_menuitem
    # explicitly make a top-level menu
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 838, in id_get
    if id_str in self.idref:
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 847, in model_id_get
    if '.' in id_str:
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/ir/ir_model.py", line 423, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/ir/ir_model.py", line 416, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.menu_generic_report

** Affects: community-addons
     Importance: Undecided
         Status: New

** Project changed: openobject-addons => openobject-extra-addons

** Project changed: openobject-extra-addons => community-addons

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/693268

Title:
  ValueError: No references to account.menu_generic_report

Status in Community based version of Openobject Addons Modules:
  New

Bug description:
  Install "account_financial_report" module from addons-extra generates the following error. looks like that the core "account" module has changed its based reports. How to track what is the new name of the previous "account.menu_generic_report"

Environment Information : 
System : Linux-2.6.32-26-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-26-generic
Operating System Version : #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : vi_VN.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1729 fp@xxxxxxxxxxx-20101221193925-ll2n70bab4zqlnlw
Traceback (most recent call last):
  File "/var/local/software/openerp-v6.0dev/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/var/local/software/openerp-v6.0dev/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 100, in upgrade_module
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/var/local/software/openerp-v6.0dev/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/var/local/software/openerp-v6.0dev/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/__init__.py", line 865, in load_modules
    # nothing to load
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/__init__.py", line 738, in load_module_graph
    for kind in ('init', 'update'):
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/__init__.py", line 635, in load_init_update_xml
    process_sql_file(cr, fp)
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 968, in convert_xml_import
    raise
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 861, in parse
    if rec.tag in self._tags:
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 582, in _tag_menuitem
    # explicitly make a top-level menu
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 838, in id_get
    if id_str in self.idref:
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/convert.py", line 847, in model_id_get
    if '.' in id_str:
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/ir/ir_model.py", line 423, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/base/ir/ir_model.py", line 416, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.menu_generic_report





Follow ups

References