cnc程序上传

This commit is contained in:
gqh
2022-11-11 10:31:37 +08:00
parent 8bc7cd0391
commit e23548a0d3
6 changed files with 138 additions and 33 deletions

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="sf_tray_form_inherit" model="ir.ui.view">

View File

@@ -22,6 +22,7 @@
<field name="routing_type" invisible="1"/>
<field name="processing_panel" readonly = "1" />
<field name="tray_code"/>
<div class="col-12 col-lg-6 o_setting_box">
<button type="object" class="oe_highlight" name="gettray" string="扫描托盘"
attrs='{"invisible": [("production_id","=",False)]}'
@@ -153,11 +154,12 @@
</xpath>
<xpath expr="//page[last()]" position="after">
<page string="CNC加工" attrs='{"invisible": [("routing_type","!=","CNC加工")]}'>
<group>
<page string="CNC程序" attrs='{"invisible": [("routing_type","!=","CNC加工")]}'>
<field name="cnc_ids" widget="one2many">
<tree>
<field name="cnc_id" />
<field name="FNo" />
<field name="FPGName" />
<field name="FKnifeName" />
@@ -175,7 +177,7 @@
</field>
</group>
</page>
</xpath>