# -*- coding: utf-8 -*- # Copyright 2026 Nexa Systems Inc. # License LGPL-3 — repackaged from Odoo S.A. iot module. # # The upstream version inherited publisher_warranty.contract to report # installed IoT-Box counts back to Odoo S.A. for enterprise licensing. # That's phone-home for license enforcement, so this is an explicit no-op. # # Keeping the file (rather than deleting it) so the upstream import path # `odoo.addons.iot.models.update` still resolves — any addon that happens # to import this module won't break. from odoo import models class Publisher_WarrantyContract(models.AbstractModel): _inherit = "publisher_warranty.contract" _description = 'Publisher Warranty Contract For IoT Box (neutralised)' # No _get_message override — upstream appended an IoTBox count here.