← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 695627] Re: Installation fails with ValueError: No references to product.group_product_manager

 

Hi, This bug is do to a recent update in the addons/server branch.
Someone removed the access right you are talking about.

The value, is in the security folder and tells openerp the access rights. You can open the _openerp_.py file which is the install script file and delete the line
security/ir.model.access.csv

This will allow you to install the module but im not sure of the
consequences. Many modules are affected by this bug including
base_sale_mutlichannels, a few extra addons, and the openlabs image
module. The main bug report is here. Please post your problem there so
the R&D team can fix it.

https://bugs.launchpad.net/openobject-addons/+bug/695084

** Changed in: magentoerpconnect
       Status: New => 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/695627

Title:
  Installation fails with ValueError: No references to product.group_product_manager

Status in Magento Open ERP Connector:
  Invalid

Bug description:
  Steps to reproduce:

1. update all from trunk
2. create new database
3. set magento erp connector module for installation
4. installation fails with following message:

ERROR:common.message:Message No references to product.group_product_manager: 
Environment Information : 
System : Darwin-10.5.0-i386-64bit
OS Name : posix
Your System is not lsb compliant
Operating System Release : 10.5.0
Operating System Version : Darwin Kernel Version 10.5.0: Fri Nov  5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386
Operating System Architecture : 64bit
Operating System Locale : en_GB.UTF8
Python Version : 2.7.1
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :25 peter@xxxxxxxxxxx-20101230095355-ycz1p0np6uktmkbb
Traceback (most recent call last):
  File "/opt/local/src/openerp/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/opt/local/src/openerp/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/opt/local/src/openerp/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/local/src/openerp/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/local/src/openerp/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/local/src/openerp/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 "/opt/local/src/openerp/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/opt/local/src/openerp/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/opt/local/src/openerp/server/bin/addons/__init__.py", line 875, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/opt/local/src/openerp/server/bin/addons/__init__.py", line 742, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/opt/local/src/openerp/server/bin/addons/__init__.py", line 633, in load_init_update_xml
    tools.convert_csv_import(cr, m, os.path.basename(filename), fp.read(), idref, mode=mode, noupdate=noupdate)
  File "/opt/local/src/openerp/server/bin/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 "/opt/local/src/openerp/server/bin/osv/orm.py", line 858, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/opt/local/src/openerp/server/bin/osv/orm.py", line 808, in process_liness
    res = _get_id(relation, line[i], current_module, mode)
  File "/opt/local/src/openerp/server/bin/osv/orm.py", line 722, in _get_id
    record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
  File "/opt/local/src/openerp/server/bin/tools/misc.py", line 813, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/opt/local/src/openerp/server/bin/addons/base/ir/ir_model.py", line 426, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to product.group_product_manager





References