优化及调试表面工艺外协出入库单,‘胚料’修改为‘坯料’

This commit is contained in:
jinling.yang
2023-04-20 19:39:12 +08:00
parent 4e2947c107
commit 82dcfb5018
13 changed files with 142 additions and 230 deletions

View File

@@ -21,7 +21,7 @@
</field>
<field name="invoice_policy" position="after">
<field name="embryo_model_type_id" string="模型类型"
attrs="{'invisible': ['|',('categ_type', '!=', '料'),('categ_type', '=', False)]}"/>
attrs="{'invisible': ['|',('categ_type', '!=', '料'),('categ_type', '=', False)]}"/>
<field name="materials_id" string="材料" attrs="{'invisible': [('categ_type', '=', '表面工艺')]}"/>
<field name="materials_type_id" string="型号"
domain="[('materials_id', '=', materials_id)]"
@@ -145,7 +145,7 @@
<xpath expr="//filter[@name='consumable']" position="after">
<separator/>
<filter name="finish_product" string="成品" domain="[('categ_id.type','=','成品')]"/>
<filter name="embryo" string="料" domain="[('categ_id.type','=','料')]"/>
<filter name="embryo" string="料" domain="[('categ_id.type','=','料')]"/>
<filter name="raw_bom" string="原材料" domain="[('categ_id.type','=','原材料')]"/>
</xpath>
</field>