fix(configurator): widen direct-order wizard via Odoo's dialog_size context

Second attempt at widening the wizard modal after the :has() CSS
approach broke layout. This time using Odoo's built-in
dialog_size mechanism — just drop 'dialog_size': 'extra-large'
into the action's context and Odoo applies its own modal-xl
class, sized for wide content. About 30% wider than the default,
which gives the 10+ line columns breathing room without any
custom CSS.

fusion_plating_configurator → 19.0.13.6.0

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-04-23 10:01:00 -04:00
parent d9526dc050
commit 2d3ee03f86
2 changed files with 5 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
{
'name': 'Fusion Plating — Configurator',
'version': '19.0.13.5.0',
'version': '19.0.13.6.0',
'category': 'Manufacturing/Plating',
'summary': 'Quotation configurator with part catalog, coating configs, and formula-based pricing engine.',
'description': """

View File

@@ -252,6 +252,10 @@
<field name="res_model">fp.direct.order.wizard</field>
<field name="view_mode">form</field>
<field name="target">new</field>
<!-- Use Odoo's built-in extra-large dialog size so the line
table (10+ columns) isn't squeezed into ellipsis at the
default modal width. Roughly 30% wider than the default. -->
<field name="context">{'dialog_size': 'extra-large'}</field>
</record>
</odoo>