Accept Merge Request #1091: (feature/单据跳转2 -> develop)
Merge Request: 1、重新下发NC程序按键添加权限 Created By: @禹翔辉 Reviewed By: @马广威 Approved By: @马广威 Accepted By: @禹翔辉 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/1091?initial=true
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
<button name="button_send_program_again" type="object" string="重新下发NC程序"
|
<button name="button_send_program_again" type="object" string="重新下发NC程序"
|
||||||
class="btn-primary"
|
class="btn-primary"
|
||||||
confirm="是否确认重新下发NC程序?"
|
confirm="是否确认重新下发NC程序?"
|
||||||
|
groups="sf_base.group_sf_order_user,sf_base.group_sf_equipment_user"
|
||||||
attrs="{'invisible': ['|', '|', '|',('routing_type','!=','装夹预调'),('state','in',['done', 'cancel',
|
attrs="{'invisible': ['|', '|', '|',('routing_type','!=','装夹预调'),('state','in',['done', 'cancel',
|
||||||
'progress']),('processing_drawing','=',False),('is_send_program_again','=',True)]}"/>
|
'progress']),('processing_drawing','=',False),('is_send_program_again','=',True)]}"/>
|
||||||
<!-- <button string="一键补偿" name="compensation" type="object" confirm="是否确认下发补偿"-->
|
<!-- <button string="一键补偿" name="compensation" type="object" confirm="是否确认下发补偿"-->
|
||||||
|
|||||||
@@ -162,6 +162,7 @@
|
|||||||
attrs="{'invisible': ['|','|',('routing_type','!=','装夹预调'),('is_delivery','=',True),('state','!=','done')]}"/>
|
attrs="{'invisible': ['|','|',('routing_type','!=','装夹预调'),('is_delivery','=',True),('state','!=','done')]}"/>
|
||||||
<button name="button_send_program_again" type="object" string="重新下发NC程序" class="btn-primary"
|
<button name="button_send_program_again" type="object" string="重新下发NC程序" class="btn-primary"
|
||||||
confirm="是否确认重新下发NC程序?"
|
confirm="是否确认重新下发NC程序?"
|
||||||
|
groups="sf_base.group_sf_order_user,sf_base.group_sf_equipment_user"
|
||||||
attrs="{'invisible': ['|', '|', '|',('routing_type','!=','装夹预调'),('state','in',['done', 'cancel',
|
attrs="{'invisible': ['|', '|', '|',('routing_type','!=','装夹预调'),('state','in',['done', 'cancel',
|
||||||
'progress']),('cnc_worksheet','=',False),('is_send_program_again','=',True)]}"/>
|
'progress']),('cnc_worksheet','=',False),('is_send_program_again','=',True)]}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
@@ -220,12 +221,12 @@
|
|||||||
attrs='{"invisible": [("routing_type","in",("获取CNC加工程序","切割"))]}'/>
|
attrs='{"invisible": [("routing_type","in",("获取CNC加工程序","切割"))]}'/>
|
||||||
<field name="production_line_state"
|
<field name="production_line_state"
|
||||||
attrs='{"invisible": [("routing_type","in",("获取CNC加工程序","切割","装夹预调"))]}'/>
|
attrs='{"invisible": [("routing_type","in",("获取CNC加工程序","切割","装夹预调"))]}'/>
|
||||||
<!-- <field name="functional_fixture_id" -->
|
<!-- <field name="functional_fixture_id" -->
|
||||||
<!-- attrs='{"invisible": [("routing_type","!=","装夹预调")]}'/> -->
|
<!-- attrs='{"invisible": [("routing_type","!=","装夹预调")]}'/> -->
|
||||||
<!-- <field name="functional_fixture_code" force_save="1" -->
|
<!-- <field name="functional_fixture_code" force_save="1" -->
|
||||||
<!-- attrs='{"invisible": [("routing_type","!=","装夹预调")]}'/> -->
|
<!-- attrs='{"invisible": [("routing_type","!=","装夹预调")]}'/> -->
|
||||||
<!-- <field name="functional_fixture_type_id" -->
|
<!-- <field name="functional_fixture_type_id" -->
|
||||||
<!-- attrs='{"invisible": [("routing_type","!=","装夹预调")]}'/> -->
|
<!-- attrs='{"invisible": [("routing_type","!=","装夹预调")]}'/> -->
|
||||||
<field name="rfid_code" force_save="1" readonly="1" cache="True"
|
<field name="rfid_code" force_save="1" readonly="1" cache="True"
|
||||||
attrs="{'invisible': [('rfid_code_old', '!=', False)]}"/>
|
attrs="{'invisible': [('rfid_code_old', '!=', False)]}"/>
|
||||||
<field name="rfid_code_old" readonly="1" attrs="{'invisible': [('rfid_code_old', '=', False)]}"/>
|
<field name="rfid_code_old" readonly="1" attrs="{'invisible': [('rfid_code_old', '=', False)]}"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user