This question has been flagged
2 Replies
4515 Views

Hello guys

When i had install Quality Management(stock_qc_warehouse) , got an error

2014-04-16 12:18:19,962 10306 INFO MRP_Company openerp.modules.loading: module stock_qc_warehouse: loading security/qc_security.xml 2014-04-16 12:18:20,140 10306 INFO MRP_Company openerp.modules.loading: module stock_qc_warehouse: loading security/ir.model.access.csv 2014-04-16 12:18:20,153 10306 ERROR MRP_Company openerp.osv.osv: Uncaught exception Traceback (most recent call last): File "/opt/openerp/server/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, args, kwargs) File "/opt/openerp/server/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, *kw) File "/opt/openerp/server/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/opt/openerp/server/openerp/addons/base/module/module.py", line 713, in install_from_urls post_install_action = self.button_immediate_install(cr, uid, to_install_ids, context=context) File "/opt/openerp/server/openerp/addons/base/module/module.py", line 424, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/opt/openerp/server/openerp/addons/base/module/module.py", line 475, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/opt/openerp/server/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/opt/openerp/server/openerp/modules/registry.py", line 233, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/opt/openerp/server/openerp/modules/loading.py", line 354, in load_modules loaded_modules, update_module) File "/opt/openerp/server/openerp/modules/loading.py", line 256, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/opt/openerp/server/openerp/modules/loading.py", line 188, in load_module_graph load_data(module_name, idref, mode) File "/opt/openerp/server/openerp/modules/loading.py", line 76, in <lambda> load_data = lambda args: _load_data(cr, *args, kind='data') File "/opt/openerp/server/openerp/modules/loading.py", line 118, in _load_data tools.convert_csv_import(cr, module_name, pathname, fp.read(), idref, mode, noupdate) File "/opt/openerp/server/openerp/tools/convert.py", line 930, in convert_csv_import raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg)) *Exception: Module loading stock_qc_warehouse failed: file stock_qc_warehouse/security/ir.model.access.csv could not be processed: *Line 1 : No matching record found for external id 'fc_qc.group_qc_user' in field 'Group'*

Pls help me guys

Thanks

Avatar
Discard
Best Answer

Just replace fc_qc in ir.model.access.csv file by stock_qc_warehouse.

And don't forget to assign access rights for users:

Stock QC

Avatar
Discard
Author

Thanks Med Said BARA & jack

Best Answer

Hi,

Check your module ir.model.access.csv file there is "fc_qc.group_qc_user" group apply for object this group is not found in your module security.xml file thats why you getting this error. if want solve this error remove from csv file "fc_qc.group_qc_user" related data or add group in security.xml

Thaks

Avatar
Discard