29 lines
766 B
Python
29 lines
766 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.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class FpQualityHoldMrp(models.Model):
|
|
"""Add MRP references to the quality hold record.
|
|
|
|
These fields live here (not in fusion_plating_quality) so the QMS
|
|
module can install without an mrp dependency.
|
|
"""
|
|
_inherit = 'fusion.plating.quality.hold'
|
|
|
|
workorder_id = fields.Many2one(
|
|
'mrp.workorder',
|
|
string='Work Order',
|
|
)
|
|
production_id = fields.Many2one(
|
|
'mrp.production',
|
|
string='Manufacturing Order',
|
|
)
|
|
portal_job_id = fields.Many2one(
|
|
'fusion.plating.portal.job',
|
|
string='Portal Job',
|
|
)
|