# -*- coding: utf-8 -*- # Copyright 2026 Nexa Systems Inc. # License OPL-1 (Odoo Proprietary License v1.0) from odoo import fields, models class MaintenanceEquipment(models.Model): """Extend standard maintenance.equipment with plating links.""" _inherit = 'maintenance.equipment' x_fc_tank_id = fields.Many2one( 'fusion.plating.tank', string='Plating Tank', help='Link this equipment to a Fusion Plating tank.', ) x_fc_facility_id = fields.Many2one( 'fusion.plating.facility', string='Facility', ) x_fc_location_name = fields.Char( string='Sub-Location', help='e.g. "PLANT1.BoilerRoom", "PLANT1.TankLine"', ) x_fc_label_ids = fields.Many2many( 'fp.maintenance.label', 'fp_maintenance_equipment_label_rel', 'equipment_id', 'label_id', string='Labels', )