mirror of
https://github.com/bringout/oca-maintenance.git
synced 2026-04-25 18:02:02 +02:00
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
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",
|
|
)
|