Web - Merge Notebook Tabs

web_merge_notebook_tab
REPOSITORY
REPOSITORYOCA/web
GIT
GIThttps://github.com/OCA/web.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/web/tree/16.0/web_merge_notebook_tab
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSSylvain LE GAL, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/web
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_ir_ui_view_merge_notebook_tab_tree ir.ui.view.merge.notebook.tab tree New
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (9)
  • merge_tab_names Char
    required=True
  • model Char
    related='model_id.model' string='Model Name'
  • model_id Many2one → ir.model
    comodel_name='ir.model' ondelete='cascade' required=True
  • tab_name Char
    compute='_compute_tab_name' help="Technical field. 'name' field of the <page> element that will be inserted." readonly=False store=True
  • tab_name_position Char
    help='Name of the tab after which the new tab will be inserted. Let empty to position the tab first.'
  • tab_names_available Char
    compute='_compute_tab_names_available'
  • tab_string Char
    help="Text displayed in the header of the tab. 'string' field of the <page> element that will be inserted." required=True
  • view_id Many2one → ir.ui.view
    comodel_name='ir.ui.view' domain='[("model", "=" , model), ("type", "=", "form")]' required=True
  • view_xml_id Char
    related='view_id.xml_id' store=True string='View XML ID'
Public methods (6)
  • check_merge_tab_names(self)
    @api.constrains('merge_tab_names')
  • check_tab_name(self)
    @api.constrains('tab_name')
  • check_tab_name_position(self)
    @api.constrains('tab_name_position')
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)