← Back to team overview

openerp-india team mailing list archive

[Bug 966187] [NEW] [Trunk] No external ID currently defined in the system: base.menu_aftersale

 

Public bug reported:

-create a db (without demo data, not tested with them)
-install project issues


Client Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 1099, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 1043, in call_common
    return self._call_kw(req, model, method, args, {})
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 1057, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/aline/source/web/trunk/addons/web/common/http.py", line 611, in send
    raise fault


Server Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/aline/source/server/trunk/openerp/netsvc.py", line 362, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/source/server/trunk/openerp/addons/base/module/module.py", line 359, in button_immediate_install
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/aline/source/server/trunk/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
  File "/home/aline/source/server/trunk/openerp/modules/registry.py", line 160, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 347, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
  File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 262, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
  File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 194, in load_module_graph
    load_update_xml(module_name, idref, mode)
  File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 91, in <lambda>
    load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
  File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 140, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 961, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 854, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 577, in _tag_menuitem
    menu_parent_id = self.id_get(cr, rec.get('parent',''))
  File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 831, in id_get
    res = self.model_id_get(cr, id_str)
  File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 840, in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 46, in lookup
    value = d[args] = self.method(self2, cr, *args)
  File "/home/aline/source/server/trunk/openerp/addons/base/ir/ir_model.py", line 649, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 46, in lookup
    value = d[args] = self.method(self2, cr, *args)
  File "/home/aline/source/server/trunk/openerp/addons/base/ir/ir_model.py", line 642, 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: base.menu_aftersale

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/966187

Title:
  [Trunk] No external ID currently defined in the system:
  base.menu_aftersale

Status in OpenERP Addons (modules):
  New

Bug description:
  -create a db (without demo data, not tested with them)
  -install project issues

  
  Client Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 1099, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 1043, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 1057, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/aline/source/server/trunk/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/source/server/trunk/openerp/addons/base/module/module.py", line 359, in button_immediate_install
      db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/home/aline/source/server/trunk/openerp/pooler.py", line 39, in restart_pool
      registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
    File "/home/aline/source/server/trunk/openerp/modules/registry.py", line 160, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 347, in load_modules
      processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
    File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 262, in load_marked_modules
      loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
    File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 194, in load_module_graph
      load_update_xml(module_name, idref, mode)
    File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 91, in <lambda>
      load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
    File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 140, in _load_data
      tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
    File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 961, in convert_xml_import
      obj.parse(doc.getroot())
    File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 854, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 577, in _tag_menuitem
      menu_parent_id = self.id_get(cr, rec.get('parent',''))
    File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 831, in id_get
      res = self.model_id_get(cr, id_str)
    File "/home/aline/source/server/trunk/openerp/tools/convert.py", line 840, in model_id_get
      return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
    File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 46, in lookup
      value = d[args] = self.method(self2, cr, *args)
    File "/home/aline/source/server/trunk/openerp/addons/base/ir/ir_model.py", line 649, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 46, in lookup
      value = d[args] = self.method(self2, cr, *args)
    File "/home/aline/source/server/trunk/openerp/addons/base/ir/ir_model.py", line 642, 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: base.menu_aftersale

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


Follow ups

References