You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
389 B

# Copyright 2021 Quartile Limited
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
from odoo import fields, models
class IrModel(models.Model):
_inherit = "ir.model"
restrict_update = fields.Boolean(
"Update Restrict Model",
help="When selected, the model is restricted to read-only unless the "
"user has the special permission.",
)