oca-payroll/odoo-bringout-oca-payroll-hr_payroll_document/hr_payroll_document/models/ir_attachment.py
2025-08-29 15:43:05 +02:00

14 lines
295 B
Python

from odoo import fields, models
class Attachment(models.Model):
_inherit = "ir.attachment"
payrol_rel = fields.Many2many(
"payroll.management.wizard",
"payrolls",
"attachment_id3",
"document_id",
string="Attachment",
invisible=1,
)