mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
pre-commit, black, isort
This commit is contained in:
@@ -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")
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user