# -*- 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 ResPartner(models.Model): _inherit = 'res.partner' x_fc_contract_review_required = fields.Boolean( string='Require Contract Review for new parts', help='When enabled, newly-created parts under this customer will ' 'show a reminder banner on the part form inviting QA to ' 'complete a Contract Review (QA-005). The review remains ' 'fully optional — the reminder can be dismissed and never ' 'blocks production.', ) # Phase 4 (Sub 11) — relocated from fusion_plating_bridge_mrp. x_fc_requires_qc = fields.Boolean( string='Require QC Sign-off', default=False, tracking=True, help='When enabled, a job for this customer cannot be marked ' 'complete until a QC inspector has signed off on the ' 'quality checklist.', ) x_fc_qc_template_id = fields.Many2one( 'fp.qc.checklist.template', string='QC Checklist Template', help='Override the auto-resolved template for this customer. ' 'Leave blank to use any active customer-specific template, ' 'falling back to the global default.', )