mirror of
https://github.com/bringout/oca-storage.git
synced 2026-04-18 03:52:05 +02:00
15 lines
367 B
Python
15 lines
367 B
Python
# Copyright 2023 ACSONE SA/NV
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class IrModel(models.Model):
|
|
|
|
_inherit = "ir.model"
|
|
|
|
storage_id = fields.Many2one(
|
|
"fs.storage",
|
|
help="If specified, all attachments linked to this model will be "
|
|
"stored in the provided storage.",
|
|
)
|