mirror of
https://github.com/bringout/oca-storage.git
synced 2026-04-21 01:52:01 +02:00
Initial commit: OCA Storage packages (17 packages)
This commit is contained in:
commit
7a380f05d3
659 changed files with 41828 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
# 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.",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue