pre-commit, black, isort

This commit is contained in:
OCA-git-bot
2019-10-12 12:32:55 +02:00
committed by Mantux11
parent 8b4a18857e
commit 9b77d7fa22
3 changed files with 23 additions and 28 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")
)
}