mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
pre-commit update
This commit is contained in:
committed by
Florian da Costa
parent
c14dcea75a
commit
1eebb90f58
@@ -1,9 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2017 Eficent
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
|
||||
<odoo>
|
||||
|
||||
<record id="mrp_bom_line_tree_view" model="ir.ui.view">
|
||||
<field name="name">mrp.bom.line.tree.view</field>
|
||||
<field name="model">mrp.bom.line</field>
|
||||
@@ -16,7 +14,6 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_bom_form_action2" model="ir.actions.act_window">
|
||||
<field name="name">Bill of Material Components</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
@@ -34,7 +31,6 @@
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_bom_line_view_filter" model="ir.ui.view">
|
||||
<field name="name">mrp.bom.line.view.filter</field>
|
||||
<field name="model">mrp.bom.line</field>
|
||||
@@ -43,21 +39,34 @@
|
||||
<field name="bom_id" />
|
||||
<field name="product_id" />
|
||||
<group expand="0" string="Group By...">
|
||||
<filter name="bom" string="Bill Of Material" context="{'group_by':'bom_id'}"/>
|
||||
<filter name="product" string="Product" context="{'group_by':'product_id'}"/>
|
||||
<filter name="uom" string='Default Unit of Measure' context="{'group_by' : 'product_uom_id'}"/>
|
||||
<filter name="Routings" string="Routings" context="{'group_by':'routing_id'}"/>
|
||||
|
||||
<filter
|
||||
name="bom"
|
||||
string="Bill Of Material"
|
||||
context="{'group_by':'bom_id'}"
|
||||
/>
|
||||
<filter
|
||||
name="product"
|
||||
string="Product"
|
||||
context="{'group_by':'product_id'}"
|
||||
/>
|
||||
<filter
|
||||
name="uom"
|
||||
string='Default Unit of Measure'
|
||||
context="{'group_by' : 'product_uom_id'}"
|
||||
/>
|
||||
<filter
|
||||
name="Routings"
|
||||
string="Routings"
|
||||
context="{'group_by':'routing_id'}"
|
||||
/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
action="mrp_bom_form_action2"
|
||||
id="menu_mrp_bom_form_action2"
|
||||
parent="mrp.menu_mrp_bom"
|
||||
sequence="14"
|
||||
/>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user