Repository
OCA/server-tools · module folder · Try on Runboat
Module version
1.0.0
Category
Base
Folder size
0.67 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://odoo-community.org/
Last tracking update
2026-08-07 07:03:09
Authors
Odoo Community Association (OCA), GRAP
Maintainers
Odoo Community Association (OCA), GRAP
Committers
Weblate, OCA Transbot, Dave Lasley, OCA-git-bot, oca-travis
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
ir_module_module_view_form ir.module.module form Inherits base.module_form
wizard_module_uninstall_view_form wizard.module.uninstall form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (6)
  • field_line_ids One2many → wizard.module.uninstall.line
    comodel_name='wizard.module.uninstall.line' domain=[('line_type', '=', 'field')] inverse_name='wizard_id' readonly=True
  • model_line_ids One2many → wizard.module.uninstall.line
    comodel_name='wizard.module.uninstall.line' domain=[('line_type', '=', 'model')] inverse_name='wizard_id' readonly=True
  • module_id Many2one → ir.module.module
    comodel_name='ir.module.module' default=_default_module_id domain=[('state', 'not in', ['uninstalled', 'uninstallable'])] help='Choose a module. The wizard will display all the models and fields linked to that module, that will be dropped, if selected module is uninstalled.\n Note : Only Non Transient items will be displayed' required=True string='Module'
  • module_ids Many2many → ir.module.module
    comodel_name='ir.module.module' compute='_compute_module_ids' help='Modules list that will be uninstalled by dependency' multi='module_ids' readonly=True string='Impacted modules'
  • module_name Char
    readonly=True related='module_id.name' string='Module Name'
  • module_qty Integer
    compute='_compute_module_ids' multi='module_ids' readonly=True string='Impacted modules Quantity'
Public methods (1)
  • onchange_module_id(self)
    @api.multi@api.onchange('module_id')

New fields (13)
  • db_size Integer
    compute='_compute_database' multi='database' store=True string='Total DB Size (KB)'
  • db_type Selection
    compute='_compute_database' multi='database' selection=DB_TYPE_SELECTION store=True
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' readonly=True
  • field_model_name Char
    readonly=True related='field_id.model_id.model' string='Field Model Name'
  • field_name Char
    readonly=True related='field_id.name' string='Field Name'
  • field_ttype Selection
    readonly=True related='field_id.ttype' string='Field Type'
  • index_size Integer
    compute='_compute_database' multi='database' store=True string='Indexes Size (KB)'
  • line_type Selection
    required=True selection=LINE_TYPE_SELECTION
  • model_id Many2one → ir.model
    comodel_name='ir.model' readonly=True
  • model_name Char
    readonly=True related='model_id.model' string='Model Name'
  • model_row_qty Integer
    compute='_compute_database' help="The approximate value of the number of records in the database, based on the PostgreSQL column 'reltuples'.\n You should reindex your database, to have a more precise value\n\n 'REINDEX database your_database_name;'" multi='database' store=True string='Rows Quantity'
  • table_size Integer
    compute='_compute_database' multi='database' store=True string='Table Size (KB)'
  • wizard_id Many2one → wizard.module.uninstall
    comodel_name='wizard.module.uninstall' required=True
Public methods (0)

No public methods.