← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 682580] [NEW] error in hr_holyday. Cannot install it

 

Public bug reported:

trunk, hr

can't install hr_holidays module 
[2010-11-29 09:41:34,031][trunk_1] INFO:init:module hr_holidays: loading hr_holidays_view.xml
[2010-11-29 09:41:34,227][trunk_1] ERROR:tools.convert.xml_import:Parse error in /home/aline/openerp/trunk/addons/hr_holidays/hr_holidays_view.xml:453: 
<act_window name="Holidays" domain="[('type','=','remove')]" context="{'search_default_employee_id': [active_id]}" res_model="hr.holidays" src_model="hr.employee" view_id="eval('edit_holiday_new')" id="act_hr_employee_holiday_request"/>
[2010-11-29 09:41:34,227][trunk_1] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/addons/base/res/res_config.py", line 166, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/home/aline/openerp/trunk/server/bin/addons/base/res/res_config.py", line 397, in execute
    pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/aline/openerp/trunk/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/aline/openerp/trunk/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 728, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 624, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 968, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 861, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 429, in _tag_act_window
    view_id = self.id_get(cr, rec.get('view_id','').encode('utf-8'))
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 838, in id_get
    res = self.model_id_get(cr, id_str)
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 847, in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/home/aline/openerp/trunk/server/bin/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/aline/openerp/trunk/server/bin/addons/base/ir/ir_model.py", line 422, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/home/aline/openerp/trunk/server/bin/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/aline/openerp/trunk/server/bin/addons/base/ir/ir_model.py", line 415, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to hr_holidays.eval('edit_holiday_new')

** Affects: openobject-addons
     Importance: High
     Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3)
         Status: Confirmed

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
   Importance: Undecided => High

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
error in hr_holyday. Cannot install it
https://bugs.launchpad.net/bugs/682580
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Confirmed

Bug description:
trunk, hr

can't install hr_holidays module 
[2010-11-29 09:41:34,031][trunk_1] INFO:init:module hr_holidays: loading hr_holidays_view.xml
[2010-11-29 09:41:34,227][trunk_1] ERROR:tools.convert.xml_import:Parse error in /home/aline/openerp/trunk/addons/hr_holidays/hr_holidays_view.xml:453: 
<act_window name="Holidays" domain="[('type','=','remove')]" context="{'search_default_employee_id': [active_id]}" res_model="hr.holidays" src_model="hr.employee" view_id="eval('edit_holiday_new')" id="act_hr_employee_holiday_request"/>
[2010-11-29 09:41:34,227][trunk_1] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/addons/base/res/res_config.py", line 166, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/home/aline/openerp/trunk/server/bin/addons/base/res/res_config.py", line 397, in execute
    pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/aline/openerp/trunk/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/aline/openerp/trunk/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 728, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/aline/openerp/trunk/server/bin/addons/__init__.py", line 624, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 968, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 861, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 429, in _tag_act_window
    view_id = self.id_get(cr, rec.get('view_id','').encode('utf-8'))
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 838, in id_get
    res = self.model_id_get(cr, id_str)
  File "/home/aline/openerp/trunk/server/bin/tools/convert.py", line 847, in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/home/aline/openerp/trunk/server/bin/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/aline/openerp/trunk/server/bin/addons/base/ir/ir_model.py", line 422, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/home/aline/openerp/trunk/server/bin/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/aline/openerp/trunk/server/bin/addons/base/ir/ir_model.py", line 415, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to hr_holidays.eval('edit_holiday_new')





Follow ups

References