刀具管理

This commit is contained in:
qihao.gong@jikimo.com
2023-06-13 17:33:38 +08:00
parent 2eadcbe31a
commit c919dac8cb
7 changed files with 186 additions and 10 deletions

View File

@@ -1,3 +1,24 @@
# -*- coding: utf-8 -*-
from odoo import fields, models, api
# 功能刀具预警
class FunctionalCuttingToolWarning(models.Model):
_name = 'sf.functional.cutting.tool.warning'
_inherit = 'sf.functional.cutting.tool'
_description = '功能刀具预警'
install_tool_time = fields.Char("装刀时间")
outbound_time = fields.Char('出库时间')
on_board_time = fields.Char('上机时间')
machine_tool_code = fields.Char('机台号')
cutting_tool_code = fields.Char('刀位号')
idle_time = fields.Char('闲置时长')
alarm_value = fields.Char('报警值')
used_value = fields.Char('已使用值')
alarm_type = fields.Char('报警类型')
alarm_time = fields.Char('报警时间')
dispose_user = fields.Char('处理人')
dispose_time = fields.Char('处理时间')
dispose_func = fields.Char('处理方法/措施')
remake = fields.Char('备注')