← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 700989] Re: [6.0 rc2] setup/upgrade fails in module account_voucher

 

Hello,

>From your comment #2 i am closing this bug.

Thanks.

** Changed in: openobject-addons
       Status: Incomplete => Invalid

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

Title:
  [6.0 rc2] setup/upgrade fails in module account_voucher

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  while trying to install/upgrade module account_voucher, I got the following error.

[2011-01-10 12:18:40,918][bs_assets] INFO:init:module account_voucher: loading security/ir.model.access.csv
[2011-01-10 12:18:41,109][bs_assets] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 885, in load_modules
    processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 750, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 637, in load_init_update_xml
    tools.convert_csv_import(cr, m, os.path.basename(filename), fp.read(), idref, mode=mode, noupdate=noupdate)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 947, in convert_csv_import
    result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 858, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 808, in process_liness
    res = _get_id(relation, line[i], current_module, mode)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 722, in _get_id
    record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 817, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 455, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account_voucher.model_report_sale_receipt





References