mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<record id="mrp_property_tree_view" model="ir.ui.view">
|
|
<field name="model">mrp.property</field>
|
|
<field name="arch" type="xml">
|
|
<tree editable="top">
|
|
<field name="name"/>
|
|
<field name="group_id"/>
|
|
<field name="description"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_mrp_property_search" model="ir.ui.view">
|
|
<field name="name">mrp.property.search</field>
|
|
<field name="model">mrp.property</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Search">
|
|
<field name="name" string="Name"/>
|
|
<field name="group_id" />
|
|
<group expand="0" string="Group By">
|
|
<filter string="Property Group" domain="[]" context="{'group_by':'group_id'}"/>
|
|
</group>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="mrp_property_action" model="ir.actions.act_window">
|
|
<field name="name">Properties</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">mrp.property</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree</field>
|
|
<field name="search_view_id" ref="view_mrp_property_search"/>
|
|
<field name="help" type="html">
|
|
<p class="oe_view_nocontent_create">
|
|
Click to create a new property.
|
|
</p><p>
|
|
The Properties in Odoo are used to select the right bill of
|
|
materials for manufacturing a product when you have different
|
|
ways of building the same product. You can assign several
|
|
properties to each bill of materials. When a salesperson
|
|
creates a sales order, they can relate it to several properties
|
|
and Odoo will automatically select the BoM to use according
|
|
the needs.
|
|
</p>
|
|
</field>
|
|
</record>
|
|
|
|
<menuitem id="menu_mrp_property_action"
|
|
action="mrp_property_action"
|
|
groups="sale.group_mrp_properties"
|
|
parent="mrp.menu_mrp_configuration"
|
|
sequence="30"/>
|
|
</odoo>
|