knowledge/document_knowledge/models/res_config.py
2024-11-13 15:56:14 +07:00

14 lines
423 B
Python

# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class DocumentKnowledgeConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
group_ir_attachment_user = fields.Boolean(
string="Central access to Documents",
implied_group="document_knowledge.group_ir_attachment_user",
)