mirror of
https://github.com/bringout/oca-dms.git
synced 2026-04-20 05:22:00 +02:00
Add oca-dms submodule with 10 DMS modules
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c674eb0508
commit
ae2c6775ba
569 changed files with 63341 additions and 0 deletions
22
odoo-bringout-oca-dms-dms/dms/models/res_config_settings.py
Normal file
22
odoo-bringout-oca-dms-dms/dms/models/res_config_settings.py
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright 2020 Creu Blanca
|
||||
# Copyright 2017-2019 MuK IT GmbH
|
||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
|
||||
_inherit = "res.config.settings"
|
||||
|
||||
documents_binary_max_size = fields.Integer(
|
||||
string="Size",
|
||||
help="Defines the maximum upload size in MB. Default (25MB)",
|
||||
config_parameter="dms.binary_max_size",
|
||||
)
|
||||
|
||||
documents_forbidden_extensions = fields.Char(
|
||||
string="Extensions",
|
||||
help="Defines a list of forbidden file extensions. (Example: 'exe,msi')",
|
||||
config_parameter="dms.forbidden_extensions",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue