← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 731608] [NEW] module hotel does not install on ver 6.0.1

 

Public bug reported:

Server: Ubuntu 10.04
Openerp: 6.0.1


Client: 
Firefox on windows

I try to install module hotel,
it imports the module no problem,
but at install it throws on the screen:
"Error occurred while validating the field(s) parent_id: Error ! You can not create recursive Menu."
and in openerp-web log:

[08/Mar/2011:22:16:45] HTTP 
Request Headers:
  REFERER: https://192.168.1.75/openerp/execute?payload=eJxlUk1PwzAM_Su7BSRUcZgmxA_gioTYCU2R17idpTSJ8kEZVf87cbpsBU6tn-33nh1PAtpI1ojnzSR6b5MLklSOPg4PG6HsAMS5F9ABM3BC7VbhJ-Eo49lhxpLorB9ERiFFKwOCb08Zf_eJSz0GOViFupQeIWCTw6SxSa73oFBUviJfFRYa-T9RRDx2mZdVHms3a_xyc2kNdabCst3lvwi-x1iKDY5cax0aVDfTQ9KRVqIGhoV8v3jelBG4c0CTwp_NFMm7C3IxdM8WOtIR_XpK316XUzFFwWk4S2aWkdzNlaaB2PYTD91aE_FrmWKa2UoK0OOK6Po-5JvlsQN_5UhG2VHMrAURygXc2CahwfSlz1v59srMrSY0nBQjHhmI31WHWeoELJSoYeOiLny3LTfgrI_1YIRT3ZIvi9ptD_P8A39R0R8%3D
  X-FORWARDED-HOST: 192.168.1.75:443
  X-REAL-IP: 192.168.1.12
  Content-Length: 651
  ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  USER-AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15 GTB7.1
  CONNECTION: Close
  COOKIE: session_id=0ecd59a71f5d9e2f0482500434427925993409be
  Remote-Addr: 127.0.0.1
  PRAGMA: no-cache
  X-REQUESTED-WITH: XMLHttpRequest
  X-FORWARDED-PROTO: https
  HOST: 192.168.1.75
  CACHE-CONTROL: no-cache
  ACCEPT: */*
  ACCEPT-LANGUAGE: en-us,en;q=0.5
  X-FORWARDED-FOR: 192.168.1.12
  Content-Type: application/x-www-form-urlencoded; charset=UTF-8
  ACCEPT-ENCODING: gzip,deflate
[08/Mar/2011:22:16:45] HTTP Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/openerp-web-6.0.1/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/usr/lib/openerp-web-6.0.1/openobject/controllers/_root.py", line 87, in default
    return request.handler()
  File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/utils.py", line 112, in wrapper
    return fn(*args, **kw)
  File "/usr/lib/openerp-web-6.0.1/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/usr/lib/openerp-web-6.0.1/openobject/tools/_validate.py", line 88, in func_wrapper
    return func(*args, **kw)
  File "/usr/lib/openerp-web-6.0.1/openobject/tools/_validate.py", line 105, in func_wrapper
    return func(*args, **kw)
  File "/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/form.py", line 419, in save
    res = self.button_action(params)
  File "/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/form.py", line 559, in button_action
    return self.BUTTON_ACTIONS_BY_BTYPE[btype](self, button_name, params)
  File "/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/form.py", line 505, in button_action_object
    res = rpc.session.execute('object', 'execute', model, name, ids, ctx)
  File "/usr/lib/openerp-web-6.0.1/addons/openerp/utils/rpc.py", line 357, in execute
    return self.gateway.execute(obj, method, *args)
  File "/usr/lib/openerp-web-6.0.1/addons/openerp/utils/rpc.py", line 147, in execute
    return self.__execute(obj, method, args)
  File "/usr/lib/openerp-web-6.0.1/addons/openerp/utils/rpc.py", line 129, in __execute
    common.warning(err.data)
  File "/usr/lib/openerp-web-6.0.1/addons/openerp/utils/common.py", line 69, in warning
    raise TinyWarning(message=msg, title=title or _("Warning"))
TinyWarning: Error occurred while validating the field(s) parent_id: Error ! You can not create recursive Menu.

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/731608

Title:
  module hotel does not install on ver 6.0.1

Status in OpenERP Server:
  New

Bug description:
  Server: Ubuntu 10.04
  Openerp: 6.0.1

  
  Client: 
  Firefox on windows

  I try to install module hotel,
  it imports the module no problem,
  but at install it throws on the screen:
  "Error occurred while validating the field(s) parent_id: Error ! You can not create recursive Menu."
  and in openerp-web log:

  [08/Mar/2011:22:16:45] HTTP 
  Request Headers:
    REFERER: https://192.168.1.75/openerp/execute?payload=eJxlUk1PwzAM_Su7BSRUcZgmxA_gioTYCU2R17idpTSJ8kEZVf87cbpsBU6tn-33nh1PAtpI1ojnzSR6b5MLklSOPg4PG6HsAMS5F9ABM3BC7VbhJ-Eo49lhxpLorB9ERiFFKwOCb08Zf_eJSz0GOViFupQeIWCTw6SxSa73oFBUviJfFRYa-T9RRDx2mZdVHms3a_xyc2kNdabCst3lvwi-x1iKDY5cax0aVDfTQ9KRVqIGhoV8v3jelBG4c0CTwp_NFMm7C3IxdM8WOtIR_XpK316XUzFFwWk4S2aWkdzNlaaB2PYTD91aE_FrmWKa2UoK0OOK6Po-5JvlsQN_5UhG2VHMrAURygXc2CahwfSlz1v59srMrSY0nBQjHhmI31WHWeoELJSoYeOiLny3LTfgrI_1YIRT3ZIvi9ptD_P8A39R0R8%3D
    X-FORWARDED-HOST: 192.168.1.75:443
    X-REAL-IP: 192.168.1.12
    Content-Length: 651
    ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    USER-AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15 GTB7.1
    CONNECTION: Close
    COOKIE: session_id=0ecd59a71f5d9e2f0482500434427925993409be
    Remote-Addr: 127.0.0.1
    PRAGMA: no-cache
    X-REQUESTED-WITH: XMLHttpRequest
    X-FORWARDED-PROTO: https
    HOST: 192.168.1.75
    CACHE-CONTROL: no-cache
    ACCEPT: */*
    ACCEPT-LANGUAGE: en-us,en;q=0.5
    X-FORWARDED-FOR: 192.168.1.12
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    ACCEPT-ENCODING: gzip,deflate
  [08/Mar/2011:22:16:45] HTTP Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/usr/lib/openerp-web-6.0.1/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/usr/lib/openerp-web-6.0.1/openobject/controllers/_root.py", line 87, in default
      return request.handler()
    File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/utils.py", line 112, in wrapper
      return fn(*args, **kw)
    File "/usr/lib/openerp-web-6.0.1/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/usr/lib/openerp-web-6.0.1/openobject/tools/_validate.py", line 88, in func_wrapper
      return func(*args, **kw)
    File "/usr/lib/openerp-web-6.0.1/openobject/tools/_validate.py", line 105, in func_wrapper
      return func(*args, **kw)
    File "/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/form.py", line 419, in save
      res = self.button_action(params)
    File "/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/form.py", line 559, in button_action
      return self.BUTTON_ACTIONS_BY_BTYPE[btype](self, button_name, params)
    File "/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/form.py", line 505, in button_action_object
      res = rpc.session.execute('object', 'execute', model, name, ids, ctx)
    File "/usr/lib/openerp-web-6.0.1/addons/openerp/utils/rpc.py", line 357, in execute
      return self.gateway.execute(obj, method, *args)
    File "/usr/lib/openerp-web-6.0.1/addons/openerp/utils/rpc.py", line 147, in execute
      return self.__execute(obj, method, args)
    File "/usr/lib/openerp-web-6.0.1/addons/openerp/utils/rpc.py", line 129, in __execute
      common.warning(err.data)
    File "/usr/lib/openerp-web-6.0.1/addons/openerp/utils/common.py", line 69, in warning
      raise TinyWarning(message=msg, title=title or _("Warning"))
  TinyWarning: Error occurred while validating the field(s) parent_id: Error ! You can not create recursive Menu.



Follow ups

References