← Back to team overview

openerp-india team mailing list archive

[Bug 933658] Re: Error in document_rule at installation: ValueError: No references to document.menu_document_configuration

 

** Patch added: "openobject-addons-933658.patch"
   https://bugs.launchpad.net/openobject-addons/+bug/933658/+attachment/2745996/+files/openobject-addons-933658.patch

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

Title:
  Error in document_rule at installation: ValueError: No references to
  document.menu_document_configuration

Status in OpenERP Addons (modules):
  New

Bug description:
  Using latest version from bzr (revno: 5683)

  Traceback (most recent call last):
    File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/share/pyshared/openerp-server/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/usr/share/pyshared/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/share/pyshared/openerp-server/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 883, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 748, in load_module_graph
      load_init_update_xml(cr, m, idref, mode, kind)
    File "/usr/share/pyshared/openerp-server/addons/__init__.py", line 641, in load_init_update_xml
      tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
    File "/usr/share/pyshared/openerp-server/tools/convert.py", line 975, in convert_xml_import
      obj.parse(doc.getroot())
    File "/usr/share/pyshared/openerp-server/tools/convert.py", line 865, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/usr/share/pyshared/openerp-server/tools/convert.py", line 586, in _tag_menuitem
      menu_parent_id = self.id_get(cr, rec.get('parent',''))
    File "/usr/share/pyshared/openerp-server/tools/convert.py", line 842, in id_get
      res = self.model_id_get(cr, id_str)
    File "/usr/share/pyshared/openerp-server/tools/convert.py", line 851, in model_id_get
      return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
    File "/usr/share/pyshared/openerp-server/tools/misc.py", line 823, in cached_result
      result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
    File "/usr/share/pyshared/openerp-server/addons/base/ir/ir_model.py", line 609, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/usr/share/pyshared/openerp-server/tools/misc.py", line 823, in cached_result
      result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
    File "/usr/share/pyshared/openerp-server/addons/base/ir/ir_model.py", line 602, in _get_id
      raise ValueError('No references to %s.%s' % (module, xml_id))
  ValueError: No references to document.menu_document_configuration

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


References