[IMP] base: force dialog size of layout configurator

action_base_document_layout_configurator should always have a dialog_size = 'large'
this ensures that the context from a calling function is not applied

closes odoo/odoo#127630

Related: odoo/enterprise#43770
Related: odoo/upgrade#4918
Signed-off-by: Laurent Smet (las) <las@odoo.com>
This commit is contained in:
Habib (ayh)
2023-07-12 16:52:59 +02:00
parent 9299f81f19
commit a638442a3d
@@ -944,5 +944,6 @@ class IrActionsReport(models.Model):
py_ctx = json.loads(action.get('context', {}))
report_action['close_on_report_download'] = True
py_ctx['report_action'] = report_action
py_ctx['dialog_size'] = 'large'
action['context'] = py_ctx
return action