# -*- coding: utf-8 -*- # Copyright 2026 Nexa Systems Inc. # License OPL-1 (Odoo Proprietary License v1.0) # # fp.job extension — cross-module fields that couldn't live in core # because their target models are in dependent modules. Per spec §5.1 # this module is the umbrella that re-bundles the cross-module # extensions for the native job flow. # # qc_check_id is deferred to Task 2.7 (the underlying QC model still # lives in fusion_plating_bridge_mrp; we'll address its sourcing then). from odoo import fields, models class FpJob(models.Model): _inherit = 'fp.job' part_catalog_id = fields.Many2one( 'fp.part.catalog', string='Part', index=True, ) coating_config_id = fields.Many2one( 'fp.coating.config', string='Coating Configuration', ) customer_spec_id = fields.Many2one( 'fusion.plating.customer.spec', string='Customer Spec', ) portal_job_id = fields.Many2one( 'fusion.plating.portal.job', string='Portal Job', ) delivery_id = fields.Many2one( 'fusion.plating.delivery', string='Delivery', )