Module Uninstall Check

module_uninstall_check
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/8.0/module_uninstall_check
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYBase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSOCA Transbot, Dave Lasley, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
ir_module_module_view_form ir.module.module button Inherits base.module_form
wizard_module_uninstall_view_form wizard.module.uninstall form New
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.