Same em-dash -> hyphen sweep applied to fusion_plating_iot (lives under fusion_iot/ so the main commit missed it). Comments/strings only; no functional dashes in this module. Keeps git in sync with the in-place de-dash already applied to entech. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
20 lines
617 B
Python
20 lines
617 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2026 Nexa Systems Inc.
|
|
# License OPL-1 (Odoo Proprietary License v1.0)
|
|
# Part of the Fusion Plating product family.
|
|
#
|
|
# Sub 7 - Expose the IoT polling default on the Fusion Plating
|
|
# Settings page so admins manage it alongside other plating settings.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
x_fc_default_poll_interval_minutes = fields.Integer(
|
|
related='company_id.x_fc_default_poll_interval_minutes',
|
|
readonly=False,
|
|
string='IoT default polling interval (minutes)',
|
|
)
|