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:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Fusion Plating — Configurator',
|
'name': 'Fusion Plating — Configurator',
|
||||||
'version': '19.0.13.5.0',
|
'version': '19.0.13.6.0',
|
||||||
'category': 'Manufacturing/Plating',
|
'category': 'Manufacturing/Plating',
|
||||||
'summary': 'Quotation configurator with part catalog, coating configs, and formula-based pricing engine.',
|
'summary': 'Quotation configurator with part catalog, coating configs, and formula-based pricing engine.',
|
||||||
'description': """
|
'description': """
|
||||||
|
|||||||
@@ -252,6 +252,10 @@
|
|||||||
<field name="res_model">fp.direct.order.wizard</field>
|
<field name="res_model">fp.direct.order.wizard</field>
|
||||||
<field name="view_mode">form</field>
|
<field name="view_mode">form</field>
|
||||||
<field name="target">new</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>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user