制造和销售里的产品的筛选器,胚料的生成新增是否为业务平台新建字段,匹配bom修改为只能匹配手动建的bom
This commit is contained in:
@@ -127,16 +127,16 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_product_template_search_view_sf" model="ir.ui.view">
|
||||
<field name="name">mrp.product.template.search</field>
|
||||
<record id="product_template_search_view_sf" model="ir.ui.view">
|
||||
<field name="name">product.template.search</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_product_template_search_view"/>
|
||||
<field name="inherit_id" ref="product.product_template_search_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//filter[@name='consumable']" position="after">
|
||||
<!-- <separator/>-->
|
||||
<!-- <filter name="categ_idss" string="产品类别"-->
|
||||
<!-- domain="[('categ_id.type', 'in', ['成品', '胚料','原材料'])]"/>-->
|
||||
<filter string="胚料" name="embryo" domain="[('categ_id.type', '=', '胚料')]"/>
|
||||
<separator/>
|
||||
<filter name="finish_product" string="成品" domain="[('categ_id.type','=','成品')]"/>
|
||||
<filter name="embryo" string="胚料" domain="[('categ_id.type','=','胚料')]"/>
|
||||
<filter name="raw_bom" string="原材料" domain="[('categ_id.type','=','原材料')]"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user