Files
Odoo-Modules/fusion_iot/fusion_plating_iot/models/res_company.py
gsinghpal 88e1e5e9bb chore(plating): de-dash fusion_plating_iot too
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>
2026-06-05 00:35:44 -04:00

22 lines
741 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 - company-wide default for the IoT sensor polling interval.
from odoo import fields, models
class ResCompany(models.Model):
_inherit = 'res.company'
x_fc_default_poll_interval_minutes = fields.Integer(
string='IoT default polling interval (minutes)',
default=30,
help='Applied to any fp.tank.sensor that does not set its own '
'Polling Interval. Used by the ingest endpoint to drop '
'readings that arrive inside the interval, keeping the '
'database clean even when a Pi agent polls more often.',
)