← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 683005] Re: [6.0] No references to hr_payroll.eval('view_hr_payslip_tree')

 

[2010-11-30 09:22:13,594][test_02] ERROR:tools.convert.xml_import:Parse error in /usr/local/lib/python2.6/dist-packages/openerp-server/addons/hr_payroll/hr_payroll_view.xml:1098:
<act_window name="Payslips" domain="[('employee_id', '=', active_id)]" res_model="hr.payslip" src_model="hr.employee" view_id="eval('view_hr_payslip_tree')" id="act_hr_employee_payslip_list"/>
[2010-11-30 09:22:13,596][test_02] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 166, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account/installer.py", line 561, in execute
    super(account_installer, self).execute(cr, uid, ids, context=context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 397, in execute
    pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 728, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 624, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 968, in convert_xml_import
    obj.parse(doc.getroot())
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 861, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 429, in _tag_act_window
    view_id = self.id_get(cr, rec.get('view_id','').encode('utf-8'))
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 838, in id_get
    res = self.model_id_get(cr, id_str)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 847, in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 422, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/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_payroll.eval('view_hr_payslip_tree')

-- 
[6.0] No references to hr_payroll.eval('view_hr_payslip_tree')
https://bugs.launchpad.net/bugs/683005
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: New

Bug description:

Environment Information : 
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : fr_CH.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 596, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 166, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 397, in execute
    pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 728, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 624, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 968, in convert_xml_import
    obj.parse(doc.getroot())
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 861, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 429, in _tag_act_window
    view_id = self.id_get(cr, rec.get('view_id','').encode('utf-8'))
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 838, in id_get
    res = self.model_id_get(cr, id_str)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 847, in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 422, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 797, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/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_payroll.eval('view_hr_payslip_tree')





References