Menu Redirector
A simple web controller that redirects the web browser to the proper application and menu_id after looking up for them in the database.
This is useful in case you maintain multiple Odoo databases and must be able to provide URLs to access certain applications. Using this module avoids to use internal database ids that may change between database instances depending on the order in which modules were installed.
Usage
A new controller is added that redirect /menuredir/go?app=base&db=odoo&menu=menu_ir_access_act to the menu item whose external id is base.menu_ir_access_act in the database odoo.
The db parameter can be omitted when the server is running a single database.
When used with multiple database, the module needs to be added to the list of modules for server wide modules.
When defined in server wide modules, the module does not need to be installed.
If a db filter is defined in Odoo’s configuration file, the provided name is checked against the filter.
If the database name is filtered or does not exist, or if the menu item is not found or is not a menu item, the module redirects to /web and log the error.