ValueError: No references to stock.report_picking_list in Openerp

Asked by Pravitha V

I get the following error when i update my openerp-server6.0.I work on Opensuse OS any help?

Traceback (most recent call last):
File "./openerp-server.py", line 121, in <module>
db,pool = pooler.get_db_and_pool(dbname, update_module=tools.config['init'] or tools.config['update'], pooljobs=False)
File "workspace/openERP/src/openerp-server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "workspace/openERP/src/openerp-server/bin/addons/__init__.py", line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report,skip_modules=processed_modules))
File "workspace/openERP/src/openerp-server/bin/addons/__init__.py", line 748, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "workspace/openERP/src/openerp-server/bin/addons/__init__.py", line 641, in load_init_update_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "workspace/openERP/src/openerp-server/bin/tools/convert.py", line 975, in convert_xml_import
obj.parse(doc.getroot())
File "workspace/openERP/src/openerp-server/bin/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "workspace/openERP/src/openerp-server/bin/tools/convert.py", line 826, in _tag_record
f_val = _eval_xml(self,field, self.pool, cr, self.uid, self.idref)
File "workspace/openERP/src/openerp-server/bin/tools/convert.py", line 152, in _eval_xml
idref)
File "workspace/openERP/src/openerp-server/bin/tools/convert.py", line 146, in _process
idref[id]=self.id_get(cr, id)
File "workspace/openERP/src/openerp-server/bin/tools/convert.py", line 842, in id_get
res = self.model_id_get(cr, id_str)
File "workspace/openERP/src/openerp-server/bin/tools/convert.py", line 851, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "workspace/openERP/src/openerp-server/bin/tools/misc.py", line 823, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "workspace/openERP/src/openerp-server/bin/addons/base/ir/ir_model.py", line 609, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "workspace/openERP/src/openerp-server/bin/tools/misc.py", line 823, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "workspace/openERP/src/openerp-server/bin/addons/base/ir/ir_model.py", line 602, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to stock.report_picking_list

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Pravitha V
Solved:
Last query:
Last reply:
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#1

Nightfury,

These could be the possibilities:
1. The 'stock' module is not in your addons repo.
2. If module is there, your module does not depend yet on it.
3. If still depends, the XML record has been removed from file.
4. If still all 1, 2 , 3 points are wrong for you, it could be the file that has no permission to be read by the user.

Hope this surely helps.

Thanks,
Serpent Consulting Services.
http://www.serpentcs.com

Revision history for this message
Pravitha V (pravithavarghese1) said :
#2

thankyou for you help sir. i have done some customization in the stock.py file and it was making the file hiden in the addons thats y it sowed the error i replaced my customized module with the original one and the problem got solved.