修改获取CNC程序从工单到制造订单
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<button name="%(action_maintenance_logs)d"
|
||||
type="action"
|
||||
class="oe_stat_button"
|
||||
context="{'default_sf_maintenance_logs_ids': sf_maintenance_logs_ids}"
|
||||
context="{'search_default_maintenance_equipment_id': [active_id]}"
|
||||
icon="fa-wrench">
|
||||
<field string="设备故障日志" name="sf_maintenance_logs_ids" widget="statinfo"/>
|
||||
</button>
|
||||
@@ -56,6 +56,7 @@
|
||||
domain="[('brand_id', '=', brand_id)]"/>
|
||||
<field name="machine_tool_category" readonly="1" attrs="{'invisible': [('type_id', '=', False)]}"
|
||||
force_save="1"/>
|
||||
<field name="run_time" force_save="1"/>
|
||||
</xpath>
|
||||
<xpath expr="//page[@name='description']" position="before">
|
||||
<page string="设备参数" name="sf_equipment"
|
||||
|
||||
Reference in New Issue
Block a user