← Back to team overview

openerp-india team mailing list archive

[Bug 1011874] Re: hr_timesheet error on install

 

*** This bug is a duplicate of bug 1006936 ***
    https://bugs.launchpad.net/bugs/1006936

Lebret,

This is solely due to you would have removed the record 'Service on
Timesheet' and hence the reference is missing.

Thanks,
Serpent Consulting Services.

** This bug has been marked a duplicate of bug 1006936
   Configuration Overview : Invoicing method selection

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1011874

Title:
  hr_timesheet error on install

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  On openerp 6.1.1 (on a linux server)
  When I try to install hr_timesheet (with the admin account), I've got the following error message :

  
  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 1047, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 991, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 1005, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/usr/lib/pymodules/python2.6/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/lib/pymodules/python2.6/openerp/addons/base/module/wizard/base_module_upgrade.py", line 101, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/usr/lib/pymodules/python2.6/openerp/pooler.py", line 39, in restart_pool
      registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
    File "/usr/lib/pymodules/python2.6/openerp/modules/registry.py", line 202, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/usr/lib/pymodules/python2.6/openerp/modules/loading.py", line 338, in load_modules
      processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
    File "/usr/lib/pymodules/python2.6/openerp/modules/loading.py", line 253, in load_marked_modules
      loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
    File "/usr/lib/pymodules/python2.6/openerp/modules/loading.py", line 191, in load_module_graph
      load_init_xml(module_name, idref, mode)
    File "/usr/lib/pymodules/python2.6/openerp/modules/loading.py", line 89, in <lambda>
      load_init_xml = lambda *args: _load_data(cr, *args, kind='init_xml')
    File "/usr/lib/pymodules/python2.6/openerp/modules/loading.py", line 138, in _load_data
      tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
    File "/usr/lib/pymodules/python2.6/openerp/tools/convert.py", line 997, in convert_xml_import
      obj.parse(doc.getroot())
    File "/usr/lib/pymodules/python2.6/openerp/tools/convert.py", line 890, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/usr/lib/pymodules/python2.6/openerp/tools/convert.py", line 848, in _tag_record
      f_val = self.id_get(cr, f_ref)
    File "/usr/lib/pymodules/python2.6/openerp/tools/convert.py", line 867, in id_get
      res = self.model_id_get(cr, id_str)
    File "/usr/lib/pymodules/python2.6/openerp/tools/convert.py", line 876, in model_id_get
      return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
    File "/usr/lib/pymodules/python2.6/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/usr/lib/pymodules/python2.6/openerp/tools/cache.py", line 46, in lookup
      value = d[key] = self.method(self2, cr, *args)
    File "/usr/lib/pymodules/python2.6/openerp/addons/base/ir/ir_model.py", line 654, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/usr/lib/pymodules/python2.6/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/usr/lib/pymodules/python2.6/openerp/tools/cache.py", line 46, in lookup
      value = d[key] = self.method(self2, cr, *args)
    File "/usr/lib/pymodules/python2.6/openerp/addons/base/ir/ir_model.py", line 647, in _get_id
      raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
  ValueError: No such external ID currently defined in the system: product.product_consultant

  Ok

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1011874/+subscriptions


References