Model Read Only

model_read_only
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/14.0/model_read_only
VERSION
VERSION 3.0.3
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ilyas, ooops404
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ilyas, ooops404
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Ilyas, Melody Uffreduzzi, Adasat Torres de León, Andrey
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:06
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 (1)
XML IDNameModelTypeStatus
view_model_form_inherit view.model.form.inherit ir.model page Inherits base.view_model_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • check_access_rights(self, operation, raise_exception=True)
    @api.model

New fields (1)
  • readonly_restriction_ids One2many → model.readonly.restriction
    args: 'model.readonly.restriction', 'model_id'
Public methods (0)

No public methods.

New fields (4)
  • group_ids Many2many → res.groups
    help='If empty - restriction is applied for everyone.' relation='res_group_model_readonly_restriction_rel' string='Groups' args: 'res.groups'
  • model_id Many2one → ir.model
    args: 'ir.model'
  • model_name Char
    related='model_id.model' string='Model Name'
  • restriction_domain Char
    help='If empty - restriction is applied always.' args: 'Domain'
Public methods (0)

No public methods.