机床唯一编码生成

This commit is contained in:
gqh
2022-11-23 11:00:07 +08:00
parent cc739a218e
commit 1582896ac4
4 changed files with 23 additions and 4 deletions

View File

@@ -31,6 +31,7 @@ class ResConfigSettings(models.TransientModel):
self.env['sf.machine.control_system'].sync_all_machine_tool_type_control_system()
_logger.info("同步资源库控制系统")
# self.env['sf.machine_tool'].sync_all_machine_tool()
# _logger.info("同步机床行业编码")
self.env['sf.machine_tool.type'].sync_all_machine_tool_type()
_logger.info("同步资源库机床型号")
self.env['sf.cutting_tool.category'].sync_all_cutting_tool_category()