修改代码不规范问题

This commit is contained in:
qihao.gong@jikimo.com
2023-11-23 17:37:06 +08:00
parent 9d911a5c2b
commit b73a449b01
15 changed files with 27 additions and 38 deletions

View File

@@ -1,2 +1,2 @@
# -*-coding:utf-8-*-
from .import common
from . import common

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from odoo import models
import ctypes
from odoo import models
class Common(models.Model):
@@ -19,6 +19,3 @@ class Common(models.Model):
tsclibrary.closeport();
except Exception as e:
raise UserWarning("错误警告")