diff --git a/fusion_plating/fusion_plating_jobs/__manifest__.py b/fusion_plating/fusion_plating_jobs/__manifest__.py index 5661ed53..2c9c8a18 100644 --- a/fusion_plating/fusion_plating_jobs/__manifest__.py +++ b/fusion_plating/fusion_plating_jobs/__manifest__.py @@ -3,7 +3,7 @@ # License OPL-1 (Odoo Proprietary License v1.0) { 'name': 'Fusion Plating — Native Jobs', - 'version': '19.0.8.18.1', + 'version': '19.0.8.18.2', 'category': 'Manufacturing/Plating', 'summary': 'Native plating job model — replaces mrp.production / mrp.workorder bridge.', 'author': 'Nexa Systems Inc.', diff --git a/fusion_plating/fusion_plating_jobs/models/fp_job_workflow_state.py b/fusion_plating/fusion_plating_jobs/models/fp_job_workflow_state.py index 4523b25e..8e2cb053 100644 --- a/fusion_plating/fusion_plating_jobs/models/fp_job_workflow_state.py +++ b/fusion_plating/fusion_plating_jobs/models/fp_job_workflow_state.py @@ -139,10 +139,11 @@ class FpJobWorkflowState(models.Model): 'Workflow state code must be unique.'), ] - @api.depends('name', 'code') - def _compute_display_name(self): - for s in self: - s.display_name = '%s [%s]' % (s.name or '', s.code or '') + # NOTE: no display_name override on purpose. Earlier draft computed + # "Name [code]" so admin pages could disambiguate at a glance, but + # that string bled into the operator status bar (every pill rendered + # as "Received [received]"). The admin list view shows code as its + # own column, so we don't need it baked into display_name. # ---- Trigger evaluation --------------------------------------------------