mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-23 06:12:01 +02:00
13 lines
415 B
Python
13 lines
415 B
Python
# Copyright 2025 Trey, Kilobytes de Soluciones - Vicent Cubells
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
from odoo import fields, models
|
|
|
|
|
|
class MaintenanceEquipment(models.Model):
|
|
_inherit = "maintenance.equipment"
|
|
|
|
certificate_ids = fields.One2many(
|
|
comodel_name="maintenance.equipment.certificate",
|
|
inverse_name="equipment_id",
|
|
string="Certificates",
|
|
)
|