Repository
OCA/web · module folder · Try on Runboat
Module version
1.0.0
Category
Extra Tools
Folder size
0.15 MB
License
AGPL-3
Application
Yes
Auto-installable
No
Website
https://github.com/OCA/web
Last tracking update
2026-08-07 08:09:11
Authors
Odoo Community Association (OCA), GRAP
Maintainers
Odoo Community Association (OCA), GRAP
Committers
Sylvain LE GAL, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_ir_ui_view_merge_notebook_tab_tree ir.ui.view.merge.notebook.tab tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

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)