Error while calling ir.model.access.csv file

Bug #427172 reported by Deven Moga on 2009-09-10

This bug report was converted into a question: question #82386: Error while calling ir.model.access.csv file.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

Hello,

I have generated one access csv file for my customized module. Now when i tries to install my module i am getting below error.

Error : No references to arihant_stage2.group_colormaking_manager

Stack :

Environment Information :
System : Linux-2.6.27-14-generic-i686-with-debian-lenny-sid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid
Operating System Release : 2.6.27-14-generic
Operating System Version : #1 SMP Tue Aug 18 16:25:45 UTC 2009
Operating System Architecture : 32bit
Operating System Locale : en_IN.ISO8859-1
Python Version : 2.5.2
OpenERP-Client Version : 5.0.5-bzr
Last revision No. & ID : 988 <email address hidden>
Traceback (most recent call last):
  File "/home/deven/workspace/server/bin/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/deven/workspace/server/bin/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/home/deven/Deven_Work/server/bin/service/web_services.py", line 639, in execute
  File "/home/deven/Deven_Work/server/bin/service/web_services.py", line 619, in _execute
  File "/home/deven/workspace/server/bin/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/home/deven/workspace/server/bin/wizard/__init__.py", line 74, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/home/deven/workspace/server/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/deven/Deven_Work/server/bin/pooler.py", line 62, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/deven/Deven_Work/server/bin/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/deven/Deven_Work/server/bin/addons/__init__.py", line 728, in load_modules
  File "/home/deven/Deven_Work/server/bin/addons/__init__.py", line 610, in load_module_graph
  File "/home/deven/Deven_Work/server/bin/tools/convert.py", line 857, in convert_csv_import
  File "/home/deven/workspace/server/bin/osv/orm.py", line 803, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def)
  File "/home/deven/workspace/server/bin/osv/orm.py", line 631, in process_liness
    id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
  File "/home/deven/workspace/server/bin/tools/misc.py", line 686, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/deven/workspace/server/bin/addons/base/ir/ir_model.py", line 434, in _get_id
    raise Exception('No references to %s.%s' % (module, xml_id))
Exception: No references to arihant_stage2.group_colormaking_manager

Please kindly help me to solve this error.
Waiting for the valuable reply.
Thanks in advance

Deven

Deven Moga (erpsupport) wrote :

Hi

it's not a bug, yous must declare your group in __terp__.py before read the ir.model.access.csv

Regards,

Changed in openobject-addons:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions