代码规范整理,产品页面模型和胚料的模型类型字段做显示

This commit is contained in:
jinling.yang
2023-02-09 15:26:08 +08:00
parent 11065139d3
commit a812c603ea
13 changed files with 14 additions and 28 deletions

View File

@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
import os
import posixpath
from odoo.modules import get_resource_path
from ftplib import FTP
import logging

View File

@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
# Part of SmartGo. See LICENSE file for full copyright and licensing details.
import logging
from odoo import api, fields, models
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)

View File

@@ -1,14 +1,11 @@
# -*- coding: utf-8 -*-
import requests
import json
import base64
from odoo import models
from odoo.exceptions import ValidationError
import logging
from odoo.addons.sf_base.commons.common import Common
from odoo.http import request
from .res_config_setting import ResConfigSettings
_logger = logging.getLogger(__name__)