1、销售订单详情界面列表优化;2、完成 人工线下加工制造订单提交返工时-建议隐藏【保留装夹预调测量数据】 需求
This commit is contained in:
@@ -35,6 +35,7 @@ class ReworkWizard(models.TransientModel):
|
||||
is_reprogramming = fields.Boolean(string='申请重新编程', default=False)
|
||||
is_reprogramming_readonly = fields.Boolean(string='申请重新编程(只读)', default=False)
|
||||
is_clamp_measure = fields.Boolean(string='保留装夹测量数据', default=True)
|
||||
is_clamping = fields.Boolean(string='制造订单是否存在装夹预调工单')
|
||||
reprogramming_num = fields.Integer('重新编程次数', default=0)
|
||||
programming_state = fields.Selection(
|
||||
[('待编程', '待编程'), ('编程中', '编程中'), ('已编程', '已编程'), ('已编程未下发', '已编程未下发'),
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<field name="routing_type" invisible="True"/>
|
||||
<field name="processing_panel_id" invisible="1"/>
|
||||
<field name="hidden_workorder_ids" class="css_not_available_msg"/>
|
||||
<field name="is_clamping" invisible="1"/>
|
||||
<group>
|
||||
<field name="hidden_workorder_ids" invisible="1"/>
|
||||
<field options="{'no_create': True,'no_open': True}" readonly="1" name="workorder_ids"
|
||||
@@ -26,7 +27,7 @@
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
<div attrs='{"invisible": [("routing_type","=","装夹预调")]}'>
|
||||
<div attrs='{"invisible": ["|", ("routing_type","=","装夹预调"), ("is_clamping", "=", False)]}'>
|
||||
<span style='font-weight:bold;'>保留装夹测量数据
|
||||
<field name="is_clamp_measure" force_save="1"/>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user