12 lines
345 B
Python
Raw Normal View History

2018-01-18 14:53:31 +05:30
# -*- 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")