1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/documents_project/models/ir_attachment.py
2024-12-10 09:04:09 +07: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')