From d7bee9e854a5543d4b1cf20b00acdefc0f064edc Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Wed, 20 May 2026 08:27:04 -0400 Subject: [PATCH] fix(configurator): widen Template dropdown in Add Variant strip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported 2026-05-20: the Template dropdown in the Part > Process Composer's 'Add Variant from Template' row truncated long recipe names to 4 characters ("Cher" instead of "Chemical Conversion …"). The hard-coded max-width: 280px was set before the curated template catalog grew names like "Chemical Conversion — Iridite Type II Cl 3" and "ENP-STEEL-BASIC — Standard Heavy Phos". Fix: replace the rigid max-width with a flex sizing that gives the dropdown room to grow: - min-width: 360px (full common recipe name fits) - flex: 1 1 360px (grows to fill available space) - max-width: 560px (cap so it doesn't push the buttons off-screen) Same flex pattern applied to the Variant label input (slightly narrower min/max). Also: pulled the entech-side version of fp_part_process_composer.xml back into the local repo — local was stale (one 'Add Variant' button; entech had the dual 'Add — Tree' / 'Add — Simple' buttons that landed in an out-of-band edit). Module: fusion_plating_configurator 19.0.21.5.0 → 19.0.21.5.1. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../__manifest__.py | 2 +- .../src/xml/fp_part_process_composer.xml | 23 +++++++++++++++---- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/fusion_plating/fusion_plating_configurator/__manifest__.py b/fusion_plating/fusion_plating_configurator/__manifest__.py index 3c9a01a5..65e41b49 100644 --- a/fusion_plating/fusion_plating_configurator/__manifest__.py +++ b/fusion_plating/fusion_plating_configurator/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Fusion Plating — Configurator', - 'version': '19.0.21.5.0', + 'version': '19.0.21.5.1', 'category': 'Manufacturing/Plating', 'summary': 'Quotation configurator with part catalog, coating configs, and formula-based pricing engine.', 'description': """ diff --git a/fusion_plating/fusion_plating_configurator/static/src/xml/fp_part_process_composer.xml b/fusion_plating/fusion_plating_configurator/static/src/xml/fp_part_process_composer.xml index 2969a5d8..af4b8d8e 100644 --- a/fusion_plating/fusion_plating_configurator/static/src/xml/fp_part_process_composer.xml +++ b/fusion_plating/fusion_plating_configurator/static/src/xml/fp_part_process_composer.xml @@ -120,7 +120,12 @@

Add Variant from Template

- - +