[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user