Files
enterprise/documents_project/models/ir_attachment.py
T
2024-04-28 11:43:49 +08:00

12 lines
277 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class IrAttachment(models.Model):
_inherit = ['ir.attachment']
document_ids = fields.One2many('documents.document', 'attachment_id')