[IMP] Improved code and solved the bug of two arrows in dialog.

This commit is contained in:
sudhir-erpharbor
2019-10-11 11:40:03 +05:30
committed by jguerriat
parent 5f2571d688
commit 33649baef3
7 changed files with 36 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 2018 Tecnativa - Jairo Llopis
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo.models import api, Model
from odoo.models import Model, api
from odoo.tools.safe_eval import const_eval
@@ -13,5 +13,6 @@ class IrConfigParameter(Model):
get_param = self.sudo().get_param
return {
"default_maximize": const_eval(
get_param("web_dialog_size.default_maximize", "False"))
get_param("web_dialog_size.default_maximize", "False")
)
}