mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-24 07:02:07 +00:00
14 lines
502 B
Python
14 lines
502 B
Python
# Copyright 2016 - Ursa Information Systems <http://ursainfosystems.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
|
|
|
|
|
from flectra import fields, models
|
|
|
|
|
|
class IrModelAccess(models.Model):
|
|
_inherit = "ir.model.access"
|
|
|
|
# WARN: This can't be used in 'check()'
|
|
# See https://github.com/flectra/flectra/blob/0b6a2569920b6584652c39b3465998649fe305b4/flectra/addons/base/models/ir_model.py#L1496 # noqa: B950
|
|
perm_export = fields.Boolean("Export Access", default=True)
|