Files
gsinghpal d3c5c25865
Some checks failed
fusion_accounting CI / test (fusion_accounting_ai) (push) Has been cancelled
fusion_accounting CI / test (fusion_accounting_core) (push) Has been cancelled
fusion_accounting CI / test (fusion_accounting_migration) (push) Has been cancelled
changes
2026-05-17 03:20:33 -04:00

40 lines
1.4 KiB
Python

# -*- coding: utf-8 -*-
# Copyright 2026 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)
# Part of the Fusion Plating product family.
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
"""Expose Fusion Plating CoC settings on the standard Settings page
so they show up under a Fusion Plating section that the owner can
edit like any other Odoo settings."""
_inherit = 'res.config.settings'
x_fc_owner_user_id = fields.Many2one(
related='company_id.x_fc_owner_user_id', readonly=False,
)
# x_fc_coc_signature_override was retired 2026-05-17 — cert
# signatures now come from the certifier user's Plating Signature
# only. Field stays on res.company (no migration) but is no longer
# exposed in settings.
x_fc_nadcap_logo = fields.Binary(
related='company_id.x_fc_nadcap_logo', readonly=False,
)
x_fc_nadcap_active = fields.Boolean(
related='company_id.x_fc_nadcap_active', readonly=False,
)
x_fc_as9100_logo = fields.Binary(
related='company_id.x_fc_as9100_logo', readonly=False,
)
x_fc_as9100_active = fields.Boolean(
related='company_id.x_fc_as9100_active', readonly=False,
)
x_fc_cgp_logo = fields.Binary(
related='company_id.x_fc_cgp_logo', readonly=False,
)
x_fc_cgp_active = fields.Boolean(
related='company_id.x_fc_cgp_active', readonly=False,
)