Hi,
I finally found a way to install a new module. For all the lost souls out there
who stayed without any answer, here is what i did.
I went onto the repository, in the 5.0 folder and downloaded the zip file
corresponding to the module i needed. i unzipped it and copied the folder in my
addons folder. I changed the owner and the group to match the other ones, did
it recursively on the folder so there are no surprises.
I opened openerp, updated the module list. It appeared in the list yahooo !!!
I set it up to install, launch the installation and....
i got this horrible message :
----------------------
Traceback (most recent call last):
File "/usr/lib/openerp-server/netsvc.py", line 231, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/lib/openerp-server/netsvc.py", line 74, in __call__
return getattr(self, method)(*params)
File "/usr/lib/openerp-server/service/web_services.py", line 552, in execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/lib/openerp-server/service/web_services.py", line 532, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/usr/lib/openerp-server/wizard/__init__.py", line 178, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/lib/openerp-server/wizard/__init__.py", line 74, in execute_cr
action_res = action(self, cr, uid, data, context)
File
"/usr/lib/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py",
line 92, in _upgrade_module
db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/lib/openerp-server/pooler.py", line 61, in restart_pool
return get_db_and_pool(db_name, force_demo, status,
update_module=update_module)
File "/usr/lib/openerp-server/pooler.py", line 40, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/lib/openerp-server/addons/__init__.py", line 715, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/usr/lib/openerp-server/addons/__init__.py", line 616, in
load_module_graph
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "/usr/lib/openerp-server/tools/convert.py", line 881, in
convert_xml_import
obj.parse(xmlstr)
File "/usr/lib/openerp-server/tools/convert.py", line 775, in parse
self._tags[rec.nodeName](self.cr, rec, n)
File "/usr/lib/openerp-server/tools/convert.py", line 509, in _tag_menuitem
menu_parent_id = self.id_get(cr, 'ir.ui.menu', rec.getAttribute('parent'))
File "/usr/lib/openerp-server/tools/convert.py", line 756, in id_get
result = self.pool.get('ir.model.data')._get_id(cr, self.uid, mod, id_str)
File "/usr/lib/openerp-server/tools/misc.py", line 640, in cached_result
result2 = fn(self2, cr, *args[2:self.skiparg], **kwargs2)
File "/usr/lib/openerp-server/addons/base/ir/ir_model.py", line 415, in
_get_id
assert len(ids)==1, '%d reference(s) to %s.%s. You should have one and only
one !' % (len(ids), module, xml_id)
AssertionError: 0 reference(s) to product.menu_products_products. You should
have one and only one !
--------------------
can anyone tell me what that means ??? "Error: 0 reference(s) to
product.menu_products_products. You should have one and only one !" what is
that ???
Thanks
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=39884#39884
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users