Commit 290b08ea by 夏超

[fix] 添加特殊工序字段数据

parent 40a50d16
......@@ -5,7 +5,7 @@ class InheritRokeRoutingLine(models.Model):
_inherit = "roke.routing.line"
rated_working_hours = fields.Float(string='标准工时', help='工序的标准工时(小时)')
special_process = fields.Boolean(string="特殊工序", default=False)
special_process = fields.Selection([('是', '是'), ('否', '否')], string="特殊工序", default='否')
class InheritRokeProcess(models.Model):
......
......@@ -6,7 +6,7 @@
<field name="inherit_id" ref="roke_mes_base.view_roke_routing_line_editable_tree"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='process_id']" position="after">
<field name="special_process"/>
<field name="special_process" required="1"/>
</xpath>
</field>
</record>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment