changes
This commit is contained in:
@@ -73,15 +73,9 @@ class FpBatch(models.Model):
|
||||
domain="[('state', '!=', 'retired')]",
|
||||
tracking=True,
|
||||
)
|
||||
workorder_id = fields.Many2one(
|
||||
'mrp.workorder', string='Work Order',
|
||||
help='The WO this batch ran through. Used for material traceability.',
|
||||
tracking=True,
|
||||
)
|
||||
production_id = fields.Many2one(
|
||||
'mrp.production', string='Manufacturing Order',
|
||||
related='workorder_id.production_id', store=True, readonly=True,
|
||||
)
|
||||
# Phase 6 (Sub 11) — workorder_id / production_id retired (MRP gone).
|
||||
# Native equivalents: x_fc_step_id (fp.job.step) + x_fc_job_id (fp.job)
|
||||
# are added by fusion_plating_jobs and carry the same traceability.
|
||||
part_count = fields.Integer(string='Part Count')
|
||||
start_time = fields.Datetime(string='Process Start', tracking=True)
|
||||
end_time = fields.Datetime(string='Process End', tracking=True)
|
||||
|
||||
Reference in New Issue
Block a user