error installing hr module

Bug #605544 reported by Cristian Salamea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Low
Unassigned

Bug Description

i folks, i download the 5.0.12 from openerp site to test, i try to install hr module and i have an error (below), the issue in csv file reference to hr. must be deleted.

[2010-07-14 13:31:01,114] ERROR:web-services:[01]:
[2010-07-14 13:31:01,114] ERROR:web-services:[02]: Environment Information :
[2010-07-14 13:31:01,115] ERROR:web-services:[03]: System : Linux-2.6.32-23-generic-i686-with-Ubuntu-10.04-lucid
[2010-07-14 13:31:01,115] ERROR:web-services:[04]: OS Name : posix
[2010-07-14 13:31:01,115] ERROR:web-services:[05]: Distributor ID: Ubuntu
[2010-07-14 13:31:01,115] ERROR:web-services:[06]: Description: Ubuntu 10.04 LTS
[2010-07-14 13:31:01,115] ERROR:web-services:[07]: Release: 10.04
[2010-07-14 13:31:01,115] ERROR:web-services:[08]: Codename: lucid
[2010-07-14 13:31:01,115] ERROR:web-services:[09]: Operating System Release : 2.6.32-23-generic
[2010-07-14 13:31:01,116] ERROR:web-services:[10]: Operating System Version : #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010
[2010-07-14 13:31:01,116] ERROR:web-services:[11]: Operating System Architecture : 32bit
[2010-07-14 13:31:01,116] ERROR:web-services:[12]: Operating System Locale : es_EC.UTF8
[2010-07-14 13:31:01,116] ERROR:web-services:[13]: Python Version : 2.6.5
[2010-07-14 13:31:01,116] ERROR:web-services:[14]: OpenERP-Server Version : 5.0.12
[2010-07-14 13:31:01,116] ERROR:web-services:[15]: Last revision No. & ID :
[2010-07-14 13:31:01,116] ERROR:web-services:[16]: Exception in call: Traceback (most recent call last):
[2010-07-14 13:31:01,117] ERROR:web-services:[17]: File "/home/ovnicraft/openerp/bluecard/server/bin/wizard/__init__.py", line 73, in execute_cr
[2010-07-14 13:31:01,117] ERROR:web-services:[18]: action_res = action(self, cr, uid, data, context)
[2010-07-14 13:31:01,117] ERROR:web-services:[19]: File "/home/ovnicraft/openerp/bluecard/server/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
[2010-07-14 13:31:01,117] ERROR:web-services:[20]: db, pool = pooler.restart_pool(cr.dbname, update_module=True)
[2010-07-14 13:31:01,117] ERROR:web-services:[21]: File "/home/ovnicraft/openerp/bluecard/server/bin/pooler.py", line 62, in restart_pool
[2010-07-14 13:31:01,117] ERROR:web-services:[22]: return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2010-07-14 13:31:01,117] ERROR:web-services:[23]: File "/home/ovnicraft/openerp/bluecard/server/bin/pooler.py", line 40, in get_db_and_pool
[2010-07-14 13:31:01,117] ERROR:web-services:[24]: addons.load_modules(db, force_demo, status, update_module)
[2010-07-14 13:31:01,118] ERROR:web-services:[25]: File "/home/ovnicraft/openerp/bluecard/server/bin/addons/__init__.py", line 741, in load_modules
[2010-07-14 13:31:01,118] ERROR:web-services:[26]: r = load_module_graph(cr, graph, status, report=report)
[2010-07-14 13:31:01,118] ERROR:web-services:[27]: File "/home/ovnicraft/openerp/bluecard/server/bin/addons/__init__.py", line 623, in load_module_graph
[2010-07-14 13:31:01,118] ERROR:web-services:[28]: tools.convert_csv_import(cr, m, os.path.basename(filename), fp.read(), idref, mode=mode)
[2010-07-14 13:31:01,118] ERROR:web-services:[29]: File "/home/ovnicraft/openerp/bluecard/server/bin/tools/convert.py", line 849, in convert_csv_import
[2010-07-14 13:31:01,118] ERROR:web-services:[30]: pool.get(model).import_data(cr, uid, fields, datas,mode, module,noupdate,filename=fname_partial)
[2010-07-14 13:31:01,118] ERROR:web-services:[31]: File "/home/ovnicraft/openerp/bluecard/server/bin/osv/orm.py", line 860, in import_data
[2010-07-14 13:31:01,118] ERROR:web-services:[32]: process_liness(self, datas, [], current_module, self._name, fields_def)
[2010-07-14 13:31:01,119] ERROR:web-services:[33]: File "/home/ovnicraft/openerp/bluecard/server/bin/osv/orm.py", line 689, in process_liness
[2010-07-14 13:31:01,119] ERROR:web-services:[34]: raise ValueError('No references to %s.%s' % (module, xml_id))
[2010-07-14 13:31:01,119] ERROR:web-services:[35]: ValueError: No references to hr.group_hr_user

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Cristian,

Technically, there should be no error.
I have checked code and its all fine.

Have you checked that you have hr_security.xml file under hr/security?
Thanks.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Cristian Salamea (ovnicraft) wrote :

Yes i dont modify the module, just install it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.