Program Multi-Menu

program_multi_menu
REPOSITORY
REPOSITORYOCA/program
GIT
GIThttps://github.com/OCA/program.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/program/tree/7.0/program_multi_menu
VERSION
VERSION 1.10
CATEGORY
CATEGORYProgram
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSAlexandre Fayolle, Sandy Carter, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/program:
    - program
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Program Multi-Menu
=================

Allows different result level chains to be  placed in their own menus

Adds Custom menu (text field) option to root result level chains. If supplied,
a menu will be added to the top OpenERP bar and will stay in sync with the root
of the result chain even after chain re-organisation. If not supplied, result
menus will be available in main Program menu.

Creation of menus is only available to users with technical features enabled.

Contributors
------------

* Sandy Carter (sandy.carter@savoirfairelinux.com)

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_program_result_form program.result Inherits program.view_program_result_form
view_program_result_level_form program.result.level page Inherits program.view_program_result_level_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (7)
  • create(self, cr, user, vals, context=None)
  • create_groups(self, cr, user, vals, menu_id, menus_old_to_new, context=None)
    Copy the ACLs from base program Remove their rights from the original menus and add them to the new menus' equivalents.
  • create_menus(self, cr, user, vals, context=None)
    Copy menus from original Programing menu Create a mapping of these old menus for the new menus so ACLs can be transferred.
  • post_write_menu_writes(self, cr, user, ids, parent_id, vals, context=None)
  • unlink(self, cr, uid, ids, context=None)
    If one of the extra RBM menu chains is removed, remove menu and all other related models
  • validate_vals(self, vals)
  • write(self, cr, user, ids, vals, context=None)
    Bubble up Top Menu configuration if chain root changes

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.