diff --git a/sf_manufacturing/models/mrp_workorder.py b/sf_manufacturing/models/mrp_workorder.py
index 2f4286ce..8de51b8a 100644
--- a/sf_manufacturing/models/mrp_workorder.py
+++ b/sf_manufacturing/models/mrp_workorder.py
@@ -310,7 +310,8 @@ class CNCprocessing(models.Model):
depth_of_processing_z = fields.Char('加工深度(Z)')
cutting_tool_extension_length = fields.Char('刀具伸出长度')
cutting_tool_handle_type = fields.Char('刀柄型号')
- estimated_processing_time = fields.Datetime('预计加工时间')
+ estimated_processing_time = fields.Char('预计加工时间')
+ remark = fields.Text('备注')
workorder_id = fields.Many2one('mrp.workorder', string="工单")
# mrs下发编程单创建CNC加工
@@ -330,5 +331,6 @@ class CNCprocessing(models.Model):
'depth_of_processing_z': obj['depth_of_processing_z'],
'cutting_tool_extension_length': obj['cutting_tool_extension_length'],
'cutting_tool_handle_type': obj['cutting_tool_handle_type'],
+ 'remark': obj['remark']
# 'FJGDate': obj['']
})
diff --git a/sf_manufacturing/views/mrp_workorder_view.xml b/sf_manufacturing/views/mrp_workorder_view.xml
index b5d711d7..973f507b 100644
--- a/sf_manufacturing/views/mrp_workorder_view.xml
+++ b/sf_manufacturing/views/mrp_workorder_view.xml
@@ -41,16 +41,16 @@
-
- mrp.production.workorder.form.inherit.sf
- mrp.workorder
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
mrp.production.workorder.tray.form.inherit.sf
@@ -213,18 +213,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+