sf 材料型号页面修改字段信息
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of SmartGo. See LICENSE file for full copyright and licensing details.
|
||||
import logging
|
||||
import traceback
|
||||
|
||||
import requests
|
||||
|
||||
@@ -90,7 +91,8 @@ class ResConfigSettings(models.TransientModel):
|
||||
_logger.info("同步坯料冗余完成")
|
||||
|
||||
except Exception as e:
|
||||
_logger.info("sf_all_sync error: %s" % e)
|
||||
traceback_error = traceback.format_exc()
|
||||
_logger.error("sf_all_sync error:%s" % traceback_error)
|
||||
raise ValidationError("数据错误导致同步失败,请联系管理员")
|
||||
|
||||
@api.model
|
||||
|
||||
Reference in New Issue
Block a user