revert: drop fp_direct_order_wizard.scss — :has() approach broke the modal
Reverting the previous wizard-width attempt. The `.modal-dialog:has(.o_fp_direct_order_wizard)` selector combined with the fixed width override produced broken layout (modal no longer rendering correctly). Better path for widening this wizard is still TBD — the built-in maximize icon in the modal header already lets users go full- screen as a workaround until a safe width override lands. fusion_plating_configurator → 19.0.13.5.0 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{
|
||||
'name': 'Fusion Plating — Configurator',
|
||||
'version': '19.0.13.4.0',
|
||||
'version': '19.0.13.5.0',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'Quotation configurator with part catalog, coating configs, and formula-based pricing engine.',
|
||||
'description': """
|
||||
@@ -70,8 +70,6 @@ Provides:
|
||||
'fusion_plating_configurator/static/src/scss/fp_part_process_composer.scss',
|
||||
'fusion_plating_configurator/static/src/xml/fp_part_process_composer.xml',
|
||||
'fusion_plating_configurator/static/src/js/fp_part_process_composer.js',
|
||||
# Direct-order wizard — widen the modal so 10+ line columns fit
|
||||
'fusion_plating_configurator/static/src/scss/fp_direct_order_wizard.scss',
|
||||
],
|
||||
},
|
||||
'installable': True,
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
// Copyright 2026 Nexa Systems Inc.
|
||||
// License OPL-1 (Odoo Proprietary License v1.0)
|
||||
// Part of the Fusion Plating product family.
|
||||
//
|
||||
// Widen the direct-order wizard modal so the line-items table has
|
||||
// enough room to render all columns (Part, Primary Treatment,
|
||||
// Process, Thickness, Serial Number, Qty, Unit Price, Subtotal,
|
||||
// Part Deadline, WO Group) without truncating headers. The default
|
||||
// Odoo modal dialog caps at ~992px on desktop which squeezes the
|
||||
// 10+ columns into ellipsis.
|
||||
|
||||
.modal-dialog:has(.o_fp_direct_order_wizard) {
|
||||
max-width: min(1600px, 95vw);
|
||||
width: min(1600px, 95vw);
|
||||
}
|
||||
|
||||
.o_fp_direct_order_wizard {
|
||||
// Give each line-item cell a bit more horizontal breathing room
|
||||
// so "Primary Treatment" and "Serial Number" stop truncating.
|
||||
.o_list_table > thead > tr > th,
|
||||
.o_list_table > tbody > tr > td {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
<field name="name">fp.direct.order.wizard.form</field>
|
||||
<field name="model">fp.direct.order.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Direct Order Entry" class="o_fp_direct_order_wizard">
|
||||
<form string="Direct Order Entry">
|
||||
<div class="alert alert-info py-2 mb-0 small"
|
||||
role="alert">
|
||||
<i class="fa fa-info-circle me-1"/>
|
||||
|
||||
Reference in New Issue
Block a user