修改coding代码扫描警告

This commit is contained in:
qihao.gong@jikimo.com
2023-11-27 17:08:11 +08:00
parent 964618d365
commit c78ea6fbe5
15 changed files with 24 additions and 42 deletions

View File

@@ -23,7 +23,6 @@ try:
import httpagentparser
except ImportError:
pass
from time import gmtime, strftime
from odoo.addons.web.controllers import home
from odoo.http import request
from odoo.exceptions import Warning

View File

@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from odoo import models, fields, api, _
from odoo import models, fields
class LoginImage(models.Model):

View File

@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from odoo import api, fields, models, modules
from odoo import api, fields, models
class ResConfigSettings(models.TransientModel):