mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 18:12:03 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import dms_classification_template
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright 2024 Tecnativa - Víctor Martínez
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class DmsClassificationTemplate(models.Model):
|
||||
_name = "dms.classification.template"
|
||||
_order = "sequence,name,id"
|
||||
_description = "Dms Classification Template"
|
||||
|
||||
name = fields.Char(required=True)
|
||||
sequence = fields.Integer(required=True, default=10)
|
||||
company_id = fields.Many2one(
|
||||
comodel_name="res.company",
|
||||
string="Company",
|
||||
store=True,
|
||||
index=True,
|
||||
)
|
||||
filename_pattern = fields.Char()
|
||||
directory_pattern = fields.Char()
|
||||
Loading…
Add table
Add a link
Reference in a new issue