# -*- coding: utf-8 -*- # Part of Flectra. See LICENSE file for full copyright and licensing details. from flectra import api, fields, models, modules, _ class IrModel(models.Model): _inherit = 'ir.model' rest_api = fields.Boolean('REST API', default=True, help="Enable REST API for this object/model")