mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_dialog_size: Migration to 12.0
This commit is contained in:
@@ -12,6 +12,6 @@ class IrConfigParameter(Model):
|
||||
def get_web_dialog_size_config(self):
|
||||
get_param = self.sudo().get_param
|
||||
return {
|
||||
key: const_eval(get_param("web_dialog_size.%s" % key, "False"))
|
||||
for key in ["default_maximize"]
|
||||
"default_maximize": const_eval(
|
||||
get_param("web_dialog_size.default_maximize", "False"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user