This commit is contained in:
gsinghpal
2026-04-12 09:09:50 -04:00
parent d07159b9b5
commit be611876ad
470 changed files with 41761 additions and 51 deletions

View File

@@ -0,0 +1,28 @@
# -*- 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',
)