2008-07-01 15:58:58 +00:00
<?xml version="1.0" encoding="utf-8"?>
2008-09-10 17:56:00 +00:00
<openerp >
2008-06-29 08:26:07 +00:00
<data >
2008-10-10 08:59:13 +00:00
2012-07-18 10:34:29 +00:00
<!-- Top menu item -->
<menuitem name= "Manufacturing"
id="base.menu_mrp_root"
groups="group_mrp_user,group_mrp_manager"
2012-11-21 16:27:53 +00:00
sequence="80"/>
2010-08-28 14:18:40 +00:00
2012-07-18 10:34:29 +00:00
<menuitem name= "Manufacturing"
id="menu_mrp_manufacturing"
parent="base.menu_mrp_root"
sequence="1"/>
2010-01-11 11:04:21 +00:00
2012-09-19 10:53:24 +00:00
<menuitem name= "Products"
2010-12-28 14:52:53 +00:00
id="menu_mrp_bom"
parent="base.menu_mrp_root"
2012-07-19 16:42:08 +00:00
sequence="5"/>
2010-05-12 06:47:56 +00:00
2008-06-29 08:26:07 +00:00
<!--
2009-11-25 08:07:08 +00:00
Property / Property Group
-->
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_property_group_form_view" model= "ir.ui.view" >
<field name= "name" > mrp.property.group.form</field>
<field name= "model" > mrp.property.group</field>
<field name= "arch" type= "xml" >
2012-06-09 15:08:55 +00:00
<form string= "Properties categories" version= "7.0" >
<label for= "name" />
<field name= "name" />
2012-08-07 07:33:59 +00:00
<label for= "description" />
2012-06-09 15:08:55 +00:00
<field name= "description" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_property_group_action" model= "ir.actions.act_window" >
2010-09-09 09:32:17 +00:00
<field name= "name" > Property Groups</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.property.group</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to create a group of properties.
</p> <p >
Define specific property groups that can be assigned to your
bill of materials and sales orders. Properties allows OpenERP
to automatically select the right bill of materials according
2012-12-21 16:48:08 +00:00
to properties selected in the sales order by salesperson.
2012-08-04 13:21:36 +00:00
</p> <p >
For instance, in the property group "Warranty", you an have
two properties: 1 year warranty, 3 years warranty. Depending
2012-12-21 16:48:08 +00:00
on the propoerties selected in the sales order, OpenERP will
2012-08-04 13:21:36 +00:00
schedule a production using the matching bill of materials.
</p>
2012-06-27 09:19:41 +00:00
</field>
2008-07-01 15:58:58 +00:00
</record>
2008-10-21 06:38:29 +00:00
<menuitem
id="menu_mrp_configuration"
name="Configuration"
2010-03-03 11:26:40 +00:00
parent="base.menu_mrp_root"
2010-12-14 16:07:29 +00:00
groups="group_mrp_manager"
2012-07-19 16:42:08 +00:00
sequence="50"/>
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_property_tree_view" model= "ir.ui.view" >
<field name= "name" > mrp.property.tree</field>
<field name= "model" > mrp.property</field>
<field name= "arch" type= "xml" >
<tree string= "Properties" >
<field name= "name" />
<field name= "composition" />
<field name= "group_id" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_property_form_view" model= "ir.ui.view" >
<field name= "name" > mrp.property.form</field>
<field name= "model" > mrp.property</field>
<field name= "arch" type= "xml" >
2012-06-09 15:08:55 +00:00
<form string= "Properties" version= "7.0" >
<group col= "4" >
<field colspan= "4" name= "name" />
<field name= "group_id" />
<field name= "composition" />
</group>
2012-06-09 23:18:24 +00:00
<label for= "description" />
2012-06-09 15:08:55 +00:00
<field name= "description" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2010-08-13 12:20:05 +00:00
2010-07-01 13:40:10 +00:00
<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" >
2012-07-20 12:13:49 +00:00
<field name= "name" string= "Name" />
<field name= "composition" />
2012-07-31 11:28:04 +00:00
<field name= "group_id" />
2012-07-20 12:13:49 +00:00
<group expand= "0" string= "Group By..." >
2010-07-01 13:40:10 +00:00
<filter string= "Property Group" icon= "terp-personal" domain= "[]" context= "{'group_by':'group_id'}" />
</group>
</search>
</field>
</record>
2010-08-13 12:20:05 +00:00
2008-07-01 15:58:58 +00:00
<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,form</field>
2010-07-01 13:40:10 +00:00
<field name= "search_view_id" ref= "view_mrp_property_search" />
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to create a new property.
</p> <p >
The Properties in OpenERP 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
2012-12-21 16:48:08 +00:00
creates a sales order, they can relate it to several properties
2012-08-04 13:21:36 +00:00
and OpenERP will automatically select the BoM to use according
the needs.
</p>
2012-06-27 09:19:41 +00:00
</field>
2008-06-29 08:26:07 +00:00
</record>
2010-06-16 11:43:59 +00:00
<menuitem name= "Master Bill of Materials"
2009-12-15 11:07:00 +00:00
id="menu_mrp_property"
2009-12-14 14:56:27 +00:00
parent="menu_mrp_configuration"
2012-04-04 13:47:31 +00:00
groups="mrp.group_mrp_routings,product.group_mrp_properties"
2012-07-19 16:42:08 +00:00
sequence="20"/>
2009-12-15 11:07:00 +00:00
<menuitem
action="mrp_property_action"
id="menu_mrp_property_action"
2012-04-04 13:47:31 +00:00
groups="product.group_mrp_properties"
2012-06-22 12:38:22 +00:00
parent="menu_mrp_configuration"
2012-07-19 16:42:08 +00:00
sequence="30"/>
2009-12-14 14:56:27 +00:00
<menuitem
action="mrp_property_group_action"
2012-06-22 12:38:22 +00:00
parent="menu_mrp_configuration"
2012-07-16 07:20:02 +00:00
groups="base.group_no_one,product.group_mrp_properties"
2012-06-22 12:38:22 +00:00
id="menu_mrp_property_group_action"
2012-07-19 16:42:08 +00:00
sequence="35"/>
2009-12-15 11:07:00 +00:00
2008-06-29 08:26:07 +00:00
<!--
2009-12-14 14:56:27 +00:00
Work Centers
2009-11-25 08:07:08 +00:00
-->
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_workcenter_tree_view" model= "ir.ui.view" >
<field name= "name" > mrp.workcenter.tree</field>
<field name= "model" > mrp.workcenter</field>
<field name= "arch" type= "xml" >
2009-12-14 14:56:27 +00:00
<tree string= "Work Center" >
2008-07-01 15:58:58 +00:00
<field name= "code" />
<field name= "name" />
2010-07-01 13:40:10 +00:00
<field name= "resource_type" />
2010-09-13 12:26:25 +00:00
<field name= "company_id" groups= "base.group_multi_company" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_workcenter_view" model= "ir.ui.view" >
<field name= "name" > mrp.workcenter.form</field>
<field name= "model" > mrp.workcenter</field>
<field name= "arch" type= "xml" >
2012-06-09 15:08:55 +00:00
<form string= "Work Center" version= "7.0" >
2012-06-09 14:39:04 +00:00
<group col= "4" >
2012-07-14 06:27:55 +00:00
<group >
<field name= "name" />
<field name= "resource_type" />
<field name= "calendar_id" widget= "selection" />
2012-06-27 11:12:52 +00:00
</group>
2012-07-14 06:27:55 +00:00
<group >
<field name= "code" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
<field name= "active" />
</group>
2008-10-10 08:59:17 +00:00
</group>
2012-06-09 14:39:04 +00:00
<notebook >
2010-10-15 12:05:18 +00:00
<page string= "General Information" >
2012-06-09 15:08:55 +00:00
<group >
2012-06-09 23:32:39 +00:00
<group string= "Capacity Information" >
<field name= "time_efficiency" />
<field name= "capacity_per_cycle" />
<field name= "time_cycle" widget= "float_time" />
<field name= "time_start" widget= "float_time" />
<field name= "time_stop" widget= "float_time" />
</group>
<group string= "Costing Information" >
2013-05-02 09:41:21 +00:00
<field name= "product_id" on_change= "on_change_product_cost(product_id)" context= "{'default_supply_method':'produce'}" />
2012-06-09 23:32:39 +00:00
<field name= "costs_hour" />
<field name= "costs_hour_account_id" groups= "analytic.group_analytic_accounting" />
<field name= "costs_cycle" />
<field name= "costs_cycle_account_id" groups= "analytic.group_analytic_accounting" />
<field name= "costs_journal_id" attrs= "{'required':['|',('costs_hour_account_id', '=', True),('costs_cycle_account_id', '=', True)]}" groups= "analytic.group_analytic_accounting" />
<field name= "costs_general_account_id" attrs= "{ 'required':['|',('costs_cycle_account_id', '=', True),('costs_hour_account_id', '=', True)]}" groups= "analytic.group_analytic_accounting" />
</group>
2010-10-15 12:05:18 +00:00
</group>
2012-06-09 15:08:55 +00:00
<label for= "note" />
<field name= "note" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</form>
</field>
</record>
2010-08-13 12:20:05 +00:00
2010-07-01 13:40:10 +00:00
<!-- Search Views -->
<record id= "view_mrp_workcenter_search" model= "ir.ui.view" >
<field name= "name" > mrp.workcenter.search</field>
<field name= "model" > mrp.workcenter</field>
<field name= "arch" type= "xml" >
<search string= "Search for mrp workcenter" >
2012-07-20 12:13:49 +00:00
<field name= "name" string= "Mrp Workcenter" filter_domain= "['|',('name','ilike',self),('code','ilike',self)]" />
<field name= "resource_type" />
<filter string= "Inactive" icon= "terp-gdu-smart-failing" domain= "[('active','=',False)]" />
<group expand= "0" string= "Group By..." >
2010-07-01 13:40:10 +00:00
<filter string= "Type" icon= "terp-stock_symbol-selection" domain= "[]" context= "{'group_by':'resource_type'}" />
2010-09-13 12:26:25 +00:00
<filter string= "Company" icon= "terp-go-home" domain= "[]" context= "{'group_by':'company_id'}" groups= "base.group_multi_company" />
2012-07-20 12:13:49 +00:00
</group>
</search>
2010-07-01 13:40:10 +00:00
</field>
</record>
2008-06-29 08:26:07 +00:00
<!--
2009-11-25 08:07:08 +00:00
Routings
-->
2008-10-10 08:59:13 +00:00
2008-09-03 09:44:40 +00:00
<record id= "mrp_routing_workcenter_tree_view" model= "ir.ui.view" >
2008-07-01 15:58:58 +00:00
<field name= "name" > mrp.routing.workcenter.tree</field>
<field name= "model" > mrp.routing.workcenter</field>
<field name= "arch" type= "xml" >
2009-12-14 14:56:27 +00:00
<tree string= "Routing Work Centers" >
2008-07-01 15:58:58 +00:00
<field name= "sequence" />
2010-10-15 12:05:18 +00:00
<field name= "name" />
2010-05-20 14:17:02 +00:00
<field name= "workcenter_id" />
2008-07-01 15:58:58 +00:00
<field name= "cycle_nbr" />
<field name= "hour_nbr" />
2010-10-15 12:24:55 +00:00
<field name= "company_id" widget= "selection" groups= "base.group_multi_company" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-10-10 08:59:13 +00:00
2008-09-03 09:44:40 +00:00
<record id= "mrp_routing_workcenter_form_view" model= "ir.ui.view" >
2008-07-01 15:58:58 +00:00
<field name= "name" > mrp.routing.workcenter.form</field>
<field name= "model" > mrp.routing.workcenter</field>
<field name= "arch" type= "xml" >
2012-06-09 15:08:55 +00:00
<form string= "Routing Work Centers" version= "7.0" >
2013-05-02 10:24:25 +00:00
<group col= "4" >
2012-06-09 15:08:55 +00:00
<field colspan= "4" name= "name" />
<field name= "sequence" />
<field name= "workcenter_id" />
<field name= "cycle_nbr" />
<field name= "hour_nbr" widget= "float_time" />
<field name= "company_id" widget= "selection" groups= "base.group_multi_company" />
</group>
<label for= "note" />
<field name= "note" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_routing_form_view" model= "ir.ui.view" >
<field name= "name" > mrp.routing.form</field>
<field name= "model" > mrp.routing</field>
<field name= "arch" type= "xml" >
2012-06-09 15:08:55 +00:00
<form string= "Routing" version= "7.0" >
<group col= "4" >
2012-07-14 06:27:55 +00:00
<group >
<field name= "name" />
<field name= "code" />
2012-06-22 12:38:22 +00:00
</group>
2012-07-14 06:27:55 +00:00
<group >
<field name= "location_id" />
<field name= "company_id" widget= "selection" groups= "base.group_multi_company" />
<field name= "active" />
</group>
2010-10-15 12:05:18 +00:00
</group>
2012-06-09 15:08:55 +00:00
<notebook >
2010-10-16 16:47:09 +00:00
<page string= "Work Center Operations" >
2013-05-02 10:24:25 +00:00
<field name= "workcenter_lines" string= "Operation" />
2010-10-16 16:47:09 +00:00
</page>
<page string= "Notes" >
2012-07-14 06:27:55 +00:00
<field name= "note" />
2010-09-14 12:45:06 +00:00
</page>
</notebook>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_routing_tree_view" model= "ir.ui.view" >
<field name= "name" > mrp.routing.tree</field>
<field name= "model" > mrp.routing</field>
<field name= "arch" type= "xml" >
<tree string= "Routing" >
2011-07-26 07:20:53 +00:00
<field name= "code" />
2008-07-01 15:58:58 +00:00
<field name= "name" />
<field name= "location_id" />
2010-10-15 12:24:55 +00:00
<field name= "company_id" groups= "base.group_multi_company" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2010-09-09 13:42:03 +00:00
<record id= "mrp_routing_search_view" model= "ir.ui.view" >
<field name= "name" > mrp.routing.search</field>
<field name= "model" > mrp.routing</field>
<field name= "arch" type= "xml" >
<search string= "Routing" >
2012-06-18 09:15:02 +00:00
<field name= "name" string= "Routing" filter_domain= "['|',('name','ilike',self),('code','ilike',self)]" />
2010-10-15 12:24:55 +00:00
<filter string= "Inactive" icon= "terp-gdu-smart-failing" domain= "[('active','=',False)]" />
2010-09-09 13:42:03 +00:00
<field name= "location_id" />
2010-10-15 12:24:55 +00:00
<field name= "company_id" groups= "base.group_multi_company" />
2012-04-25 14:06:25 +00:00
<group expand= "0" string= "Group By..." >
2010-10-15 12:24:55 +00:00
<filter string= "Production Location" icon= "terp-accessories-archiver" domain= "[]" context= "{'group_by':'location_id'}" />
</group>
2010-09-09 13:42:03 +00:00
</search>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_routing_action" model= "ir.actions.act_window" >
<field name= "name" > Routings</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.routing</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "mrp_routing_tree_view" />
2010-09-09 13:42:03 +00:00
<field name= "search_view_id" ref= "mrp_routing_search_view" />
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to create a routing.
</p> <p >
Routings allow you to create and manage the manufacturing
operations that should be followed within your work centers in
order to produce a product. They are attached to bills of
materials that will define the required raw materials.
</p>
2012-06-27 09:19:41 +00:00
</field>
2008-06-29 08:26:07 +00:00
</record>
2012-04-03 08:27:56 +00:00
<menuitem action= "mrp_routing_action" id= "menu_mrp_routing_action" parent= "mrp.menu_mrp_bom" groups= "mrp.group_mrp_routings" sequence= "15" />
2008-10-10 08:59:13 +00:00
2008-06-29 08:26:07 +00:00
<!--
2009-11-24 12:13:46 +00:00
Bill of Materials
-->
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_bom_form_view" model= "ir.ui.view" >
<field name= "name" > mrp.bom.form</field>
<field name= "model" > mrp.bom</field>
<field name= "arch" type= "xml" >
2012-06-09 15:08:55 +00:00
<form string= "Bill of Material" version= "7.0" >
2012-07-14 06:53:27 +00:00
<group >
2012-06-27 08:30:39 +00:00
<group >
2013-08-22 09:01:55 +00:00
<field name= "product_id" on_change= "onchange_product_id(product_id, name, product_qty, context)" context= "{'default_supply_method':'produce'}" class= "oe_inline" />
2012-09-06 06:58:35 +00:00
<label for= "product_qty" string= "Quantity" />
<div >
2013-08-22 09:01:55 +00:00
<field name= "product_qty" class= "oe_inline" on_change= "onchange_product_id(product_id, name, product_qty, context)" />
2012-10-03 10:36:08 +00:00
<field name= "product_uom" class= "oe_inline" on_change= "onchange_uom(product_id, product_uom)" groups= "product.group_uom" />
2012-09-06 06:58:35 +00:00
</div>
<label for= "product_uos_qty" groups= "product.group_uos" />
<div groups= "product.group_uos" >
<field name= "product_uos_qty"
class="oe_inline"/>
<label string= "-" attrs= "{'invisible':[('product_uos','=',False)]}" class= "oe_inline" />
<field name= "product_uos" class= "oe_inline" />
</div>
2012-11-27 13:01:01 +00:00
<label for= "routing_id" class= "oe_inline" groups= "mrp.group_mrp_routings" />
2012-09-06 06:58:35 +00:00
<div groups= "mrp.group_mrp_routings" >
2012-11-26 12:00:42 +00:00
<field name= "routing_id" class= "oe_inline" />
2012-09-06 06:58:35 +00:00
</div>
2012-06-27 08:30:39 +00:00
</group>
2012-07-14 06:53:27 +00:00
<group >
2013-06-28 11:53:33 +00:00
<field name= "name" groups= "product.group_mrp_properties" />
2012-09-06 06:58:35 +00:00
<field name= "code" string= "Reference" />
2012-07-14 06:53:27 +00:00
<field name= "type" />
2012-08-30 09:23:21 +00:00
<p colspan= "2" class= "oe_grey" attrs= "{'invisible': [('type','=','normal')]}" >
2012-12-21 16:48:08 +00:00
When processing a sales order for this product, the delivery order
2012-08-30 09:23:21 +00:00
will contain the raw materials, instead of the finished product.
</p>
2012-07-14 06:53:27 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
</group>
</group>
<notebook >
<page string= "Components" >
<field name= "bom_lines" widget= "one2many_list" >
<tree string= "Components" editable= "bottom" >
2012-11-09 06:42:21 +00:00
<field name= "product_id" context= "{'default_supply_method':'produce'}" on_change= "onchange_product_id(product_id, name)" />
2012-07-14 06:53:27 +00:00
<field name= "product_qty" />
2012-10-03 10:36:08 +00:00
<field name= "product_uom" on_change= "onchange_uom(product_id, product_uom)" groups= "product.group_uom" />
2012-07-14 06:53:27 +00:00
<field name= "name" invisible= "1" />
<field name= "date_start" />
<field name= "date_stop" />
</tree>
</field>
</page>
<page string= "Properties" groups= "product.group_mrp_properties" >
<group >
2012-06-27 08:30:39 +00:00
<group >
2012-07-14 06:53:27 +00:00
<field name= "position" />
<field name= "bom_id" />
<field name= "sequence" />
<field name= "active" />
2012-07-05 06:47:52 +00:00
</group>
2012-07-14 06:53:27 +00:00
<group >
<field name= "date_start" />
<field name= "date_stop" />
<field name= "product_rounding" />
<field name= "product_efficiency" />
2012-06-27 08:30:39 +00:00
</group>
2012-07-14 06:53:27 +00:00
</group>
<separator string= "Properties" />
2012-07-19 16:42:08 +00:00
<field name= "property_ids" widget= "many2many_tags" />
2012-07-14 06:53:27 +00:00
</page>
</notebook>
2012-09-06 06:58:35 +00:00
<div class= "oe_chatter" >
<field name= "message_follower_ids" widget= "mail_followers" />
2012-10-26 09:58:21 +00:00
<field name= "message_ids" colspan= "4" widget= "mail_thread" nolabel= "1" />
2012-09-06 06:58:35 +00:00
</div>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-10-10 08:59:13 +00:00
2010-06-12 17:49:33 +00:00
<record id= "view_mrp_bom_filter" model= "ir.ui.view" >
2010-05-12 14:05:51 +00:00
<field name= "name" > mrp.bom.select</field>
<field name= "model" > mrp.bom</field>
<field name= "arch" type= "xml" >
<search string= "Search Bill Of Material" >
2012-07-20 12:13:49 +00:00
<field name= "name" string= "Bill Of Material" filter_domain= "['|',('name','ilike',self),('code','ilike',self)]" />
2013-08-23 08:51:38 +00:00
<field name= "bom_lines" string= "Components" />
2012-07-20 12:13:49 +00:00
<field name= "product_id" />
<field name= "company_id" groups= "base.group_multi_company" />
2012-04-25 14:06:25 +00:00
<group expand= "0" string= "Group By..." >
2010-06-01 05:30:23 +00:00
<filter string= "Product" icon= "terp-accessories-archiver" domain= "[]" context= "{'group_by':'product_id'}" />
2012-07-19 16:42:08 +00:00
<filter string= 'Default Unit of Measure' icon= "terp-mrp" domain= "[]" context= "{'group_by' : 'product_uom'}" />
2010-09-15 10:34:44 +00:00
<filter string= "Routing" icon= "terp-stock_align_left_24" domain= "[]" context= "{'group_by':'routing_id'}" />
2012-07-19 16:42:08 +00:00
<filter string= 'Type' icon= "terp-stock_symbol-selection" domain= "[]" context= "{'group_by' : 'type'}" />
2013-09-04 14:10:53 +00:00
<filter string= " Valid From Month" icon= "terp-go-month" domain= "[]" context= "{'group_by':'date_start'}" help= "Valid From Date by Month" />
2010-05-12 14:05:51 +00:00
</group>
</search>
</field>
</record>
2008-10-10 08:59:13 +00:00
<record id= "mrp_bom_tree_view" model= "ir.ui.view" >
2008-07-01 15:58:58 +00:00
<field name= "name" > mrp.bom.tree</field>
<field name= "model" > mrp.bom</field>
2008-10-10 08:59:13 +00:00
<field name= "field_parent" > child_complete_ids</field>
2008-07-01 15:58:58 +00:00
<field name= "arch" type= "xml" >
2013-04-01 08:04:10 +00:00
<tree string= "Bill of Materials" >
2010-04-06 16:15:10 +00:00
<field name= "sequence" invisible= "1" />
2012-11-02 08:44:53 +00:00
<field name= "name" invisible= "1" />
2009-03-15 23:26:02 +00:00
<field name= "product_id" />
2008-07-01 15:58:58 +00:00
<field name= "product_qty" />
2012-06-11 09:59:14 +00:00
<field name= "product_uom" groups= "product.group_uom" />
2012-11-02 08:44:53 +00:00
<field name= "code" />
2010-07-01 13:40:10 +00:00
<field name= "type" />
2012-03-22 15:52:44 +00:00
<field name= "routing_id" groups= "mrp.group_mrp_routings" />
2012-04-25 14:06:25 +00:00
<field name= "date_start" />
<field name= "date_stop" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2011-01-12 16:26:29 +00:00
<record id= "mrp_bom_component_tree_view" model= "ir.ui.view" >
<field name= "name" > mrp.bom.component.tree</field>
<field name= "model" > mrp.bom</field>
<field name= "field_parent" > child_complete_ids</field>
<field name= "arch" type= "xml" >
2013-04-01 08:04:10 +00:00
<tree string= "BoM Structure" >
2011-01-12 16:26:29 +00:00
<field name= "sequence" invisible= "1" />
2012-11-02 08:44:53 +00:00
<field name= "name" groups= "base.group_no_one" />
2011-01-12 16:26:29 +00:00
<field name= "code" />
2012-11-02 08:44:53 +00:00
<field name= "product_id" />
2013-04-01 08:04:10 +00:00
<field name= "bom_id" groups= "product.group_mrp_properties" />
2011-01-12 16:26:29 +00:00
<field name= "product_qty" />
2012-06-11 09:59:14 +00:00
<field name= "product_uom" groups= "product.group_uom" />
2011-01-12 16:26:29 +00:00
<field name= "type" />
2012-03-22 15:52:44 +00:00
<field name= "routing_id" groups= "mrp.group_mrp_routings" />
2013-04-01 08:04:10 +00:00
<field name= "date_start" groups= "product.group_mrp_properties" />
<field name= "date_stop" groups= "product.group_mrp_properties" />
2011-01-12 16:26:29 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_bom_form_action" model= "ir.actions.act_window" >
2010-10-15 12:43:05 +00:00
<field name= "name" > Bill of Materials</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.bom</field>
<field name= "view_type" > form</field>
<field name= "domain" > [('bom_id','=',False)]</field>
2010-05-12 14:05:51 +00:00
<field name= "search_view_id" ref= "view_mrp_bom_filter" />
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to create a bill of material.
</p> <p >
Bills of Materials allow you to define the list of required raw
materials used to make a finished product; through a manufacturing
order or a pack of products.
</p> <p >
OpenERP uses these BoMs to automatically propose manufacturing
orders according to procurement needs.
</p>
2012-06-27 09:19:41 +00:00
</field>
2008-07-01 15:58:58 +00:00
</record>
<record id= "mrp_bom_form_action2" model= "ir.actions.act_window" >
2009-12-15 11:07:00 +00:00
<field name= "name" > Bill of Material Components</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.bom</field>
<field name= "view_type" > form</field>
2011-01-12 16:26:29 +00:00
<field name= "view_id" ref= "mrp_bom_component_tree_view" />
2012-09-02 13:16:19 +00:00
<field name= "domain" > []</field>
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to add a component to a bill of material.
</p> <p >
2012-10-31 07:05:17 +00:00
Bills of materials components are components and by-products
2012-08-04 13:21:36 +00:00
used to create master bills of materials. Use this menu to
search in which BoM a specific component is used.
</p>
2012-06-27 09:19:41 +00:00
</field>
2008-07-01 15:58:58 +00:00
</record>
2013-08-23 08:51:38 +00:00
<record id= "product_search_form_view_procurment" model= "ir.ui.view" >
<field name= "name" > product.search.bom</field>
<field name= "model" > product.product</field>
<field name= "inherit_id" ref= "product.product_search_form_view" />
<field name= "arch" type= "xml" >
<xpath expr= "//filter[@string='Consumable']" position= "after" >
<separator />
<filter string= "Components" name= "components" icon= "terp-accessories-archiver" domain= "[('bom_ids','not in',[]),('bom_ids.bom_id','!=',False)]" invisible= "not context.get('search_default_filter_supply_method_produce', False)" />
</xpath>
</field>
</record>
2012-09-24 13:32:44 +00:00
<record id= "product_supply_method_produce" model= "ir.actions.act_window" >
<field name= "name" > Products</field>
<field name= "res_model" > product.product</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > kanban,tree,form</field>
2012-09-25 06:40:30 +00:00
<field name= "context" > {'search_default_filter_supply_method_produce' : 1}</field>
<field name= "search_view_id" ref= "product.product_search_form_view" />
2012-09-24 13:32:44 +00:00
</record>
2009-12-15 11:07:00 +00:00
<!-- BOM menus -->
2010-01-11 11:04:21 +00:00
2010-04-18 15:32:44 +00:00
<menuitem
action="mrp_bom_form_action"
id="menu_mrp_bom_form_action"
parent="menu_mrp_bom"
sequence="10"/>
2012-09-19 10:53:24 +00:00
<menuitem name= "Products"
2012-09-21 06:51:47 +00:00
id="menu_mrp_product_form"
2012-09-24 13:32:44 +00:00
action="product_supply_method_produce"
2012-09-19 10:53:24 +00:00
parent="menu_mrp_bom"/>
2010-04-18 15:32:44 +00:00
<menuitem
action="mrp_bom_form_action2"
id="menu_mrp_bom_form_action2"
2012-06-22 12:38:22 +00:00
parent="menu_mrp_configuration"
2010-04-18 15:32:44 +00:00
sequence="20"/>
2008-09-02 14:54:06 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action2" model= "ir.actions.act_window" >
2008-09-02 13:26:51 +00:00
<field name= "name" > Bill of Materials Structure</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.bom</field>
2013-08-23 08:51:38 +00:00
<field name= "domain" > [('id', 'in', active_ids)]</field>
2012-11-30 11:45:02 +00:00
<field name= "view_type" > tree</field>
2008-07-01 15:58:58 +00:00
<field name= "view_id" ref= "mrp_bom_tree_view" />
2013-08-23 08:51:38 +00:00
<field name= "view_type" > tree</field>
2008-07-01 15:58:58 +00:00
</record>
2008-10-10 08:59:13 +00:00
<record id= "ir_BOM_structure" model= "ir.values" >
2008-07-01 15:58:58 +00:00
<field eval= "'client_action_multi'" name= "key2" />
<field eval= "'mrp.bom'" name= "model" />
2008-09-02 13:26:51 +00:00
<field name= "name" > Bill of Materials Structure</field>
2008-07-01 15:58:58 +00:00
<field eval= "'ir.actions.act_window,'+str(action2)" name= "value" />
</record>
2008-10-10 08:59:13 +00:00
2008-06-29 08:26:07 +00:00
<!--
2010-06-12 17:49:33 +00:00
Production Management
-->
2008-07-01 15:58:58 +00:00
<record id= "mrp_production_tree_view" model= "ir.ui.view" >
<field name= "name" > mrp.production.tree</field>
<field name= "model" > mrp.production</field>
<field name= "arch" type= "xml" >
2012-08-16 09:26:16 +00:00
<tree fonts= "bold:message_unread==True" colors= "blue:state in ('draft','confirmed');red:date_planned<current_date and state not in ('done','cancel');black:date_planned>=current_date;gray:state in ('done','cancel') " string= "Manufacturing Orders" >
<field name= "message_unread" invisible= "1" />
2008-07-01 15:58:58 +00:00
<field name= "name" />
2010-09-14 12:45:06 +00:00
<field name= "date_planned" />
2008-07-01 15:58:58 +00:00
<field name= "product_id" />
2008-11-26 10:42:39 +00:00
<field name= "product_qty" sum= "Total Qty" />
2012-06-11 13:04:07 +00:00
<field name= "product_uom" groups= "product.group_uom" />
2012-03-22 15:52:44 +00:00
<field name= "routing_id" groups= "mrp.group_mrp_routings" />
2012-04-25 14:06:25 +00:00
<field name= "hour_total" sum= "Total Hours" />
<field name= "cycle_total" sum= "Total Cycles" />
2008-07-01 15:58:58 +00:00
<field name= "origin" />
<field name= "state" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_production_calendar" model= "ir.ui.view" >
<field name= "name" > mrp.production.calendar</field>
<field name= "model" > mrp.production</field>
<field eval= "2" name= "priority" />
<field name= "arch" type= "xml" >
2010-01-11 11:04:21 +00:00
<calendar color= "routing_id" date_start= "date_planned" string= "Manufacturing Orders" >
2010-10-18 19:20:33 +00:00
<field name= "name" />
2008-11-26 10:42:39 +00:00
<field name= "product_id" />
<field name= "product_qty" />
2008-06-29 08:26:07 +00:00
</calendar>
</field>
</record>
2008-09-09 12:24:44 +00:00
2008-11-26 11:21:43 +00:00
<record id= "view_production_gantt" model= "ir.ui.view" >
<field name= "name" > mrp.production.gantt</field>
<field name= "model" > mrp.production</field>
<field name= "arch" type= "xml" >
2013-03-05 09:55:33 +00:00
<gantt date_stop= "date_finished" date_start= "date_start" progress= "progress" string= "Productions" default_group_by= "routing_id" >
2008-11-26 11:21:43 +00:00
</gantt>
</field>
</record>
2008-09-24 09:22:17 +00:00
<record model= "ir.ui.view" id= "view_production_graph" >
<field name= "name" > mrp.production.graph</field>
<field name= "model" > mrp.production</field>
<field name= "arch" type= "xml" >
2010-01-11 11:04:21 +00:00
<graph string= "Manufacturing Orders" type= "bar" >
2012-10-17 11:34:34 +00:00
<field name= "date_planned" />
2008-11-26 10:42:39 +00:00
<field name= "hour_total" operator= "+" />
<field name= "cycle_total" operator= "+" />
2008-09-24 09:22:17 +00:00
</graph>
</field>
2010-04-16 09:16:25 +00:00
</record>
2010-03-03 11:26:40 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_production_form_view" model= "ir.ui.view" >
<field name= "name" > mrp.production.form</field>
<field name= "model" > mrp.production</field>
<field name= "arch" type= "xml" >
2012-06-09 15:08:55 +00:00
<form string= "Manufacturing Orders" version= "7.0" >
2012-06-04 12:11:39 +00:00
<header >
2012-06-20 10:12:05 +00:00
<button name= "button_confirm" states= "draft" string= "Confirm Production" class= "oe_highlight" />
2013-07-03 06:52:56 +00:00
<button name= "%(act_mrp_product_produce)d" states= "ready,in_production" string= "Produce" type= "action" class= "oe_highlight" />
<button name= "force_production" states= "confirmed" string= "Force Reservation" type= "object" class= "oe_highlight" />
2012-06-14 09:50:18 +00:00
<button name= "force_production" states= "picking_except" string= "Force Reservation" type= "object" />
2012-11-27 04:45:21 +00:00
<button name= "button_produce" states= "ready" string= "Mark as Started" />
2012-05-22 09:14:45 +00:00
<button name= "button_recreate" states= "picking_except" string= "Recreate Picking" />
2013-02-25 13:38:04 +00:00
<button name= "button_cancel" states= "draft,ready,in_production,picking_except" string= "Cancel Production" />
<button name= "action_cancel" type= "object" states= "confirmed" string= "Cancel Production" />
2012-06-04 10:50:56 +00:00
<field name= "state" widget= "statusbar" statusbar_visible= "draft,ready,in_production,done" statusbar_colors= '{"picking_except":"red","confirmed":"blue"}' />
2012-06-04 12:11:39 +00:00
</header>
2012-06-09 15:08:55 +00:00
<sheet >
2012-09-02 13:14:13 +00:00
<div class= "oe_title" >
<h1 > Manufacturing Order <field name= "name" class= "oe_inline" /> </h1>
2012-06-27 09:40:06 +00:00
</div>
2012-06-09 15:08:55 +00:00
<group >
<group >
2013-08-22 09:01:55 +00:00
<field name= "product_id" on_change= "product_id_change(product_id, product_qty)" domain= "[('bom_ids','!=',False),('bom_ids.bom_id','=',False)]" class= "oe_inline" context= '{"default_supply_method":"produce", "default_type": "product"}' />
2012-09-02 13:14:13 +00:00
<label for= "product_qty" />
<div >
2013-08-22 09:01:55 +00:00
<field name= "product_qty" class= "oe_inline" on_change= "product_id_change(product_id, product_qty)" />
2012-09-02 13:14:13 +00:00
<field name= "product_uom" groups= "product.group_uom" class= "oe_inline" />
<button type= "action"
name="%(mrp.action_change_production_qty)d"
2014-02-11 15:21:16 +00:00
string="Update" states="confirmed" class="oe_edit_only oe_link"/>
2012-09-02 13:14:13 +00:00
</div>
2012-07-14 06:27:55 +00:00
<label for= "product_uos_qty" groups= "product.group_uos" />
2012-06-27 11:12:52 +00:00
<div groups= "product.group_uos" >
<field name= "product_uos_qty" class= "oe_inline" />
<label string= "-" attrs= "{'invisible':[('product_uos','=',False)]}" class= "oe_inline" />
<field name= "product_uos" class= "oe_inline" />
2012-06-25 05:54:11 +00:00
</div>
2012-09-02 13:14:13 +00:00
<field name= "date_planned" />
</group>
<group >
2012-09-19 10:53:24 +00:00
<field name= "bom_id" domain= "[('product_id','=',product_id)]" context= "{'default_product_id': product_id}" on_change= "bom_id_change(bom_id)" required= "1" />
2012-09-02 13:14:13 +00:00
<field name= "routing_id" class= "oe_inline" groups= "mrp.group_mrp_routings" />
2013-09-04 14:11:22 +00:00
<field name= "user_id" context= "{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'mrp.group_mrp_user']}" />
2012-09-02 13:14:13 +00:00
<field name= "origin" />
</group>
<group groups= "stock.group_locations" >
<field name= "location_src_id" domain= "[('usage','=','internal')]" on_change= "location_id_change(location_src_id,location_dest_id)" />
<field name= "location_dest_id" domain= "[('usage','=','internal')]" />
2012-06-09 15:08:55 +00:00
</group>
2012-05-16 06:54:16 +00:00
</group>
2012-06-09 15:08:55 +00:00
<notebook >
2008-08-27 23:48:15 +00:00
<page string= "Consumed Products" >
2012-06-27 09:19:41 +00:00
<group >
2012-07-16 07:20:02 +00:00
<group string= "Products to Consume" >
2012-10-22 16:15:56 +00:00
<field name= "move_lines" nolabel= "1" options= "{'reload_on_button': true}" >
2012-06-27 11:12:52 +00:00
<tree colors= "blue:state == 'draft';black:state in ('picking_except','confirmed','ready','in_production');gray:state in ('cancel','done') " string= "Products to Consume" >
2012-07-19 16:42:08 +00:00
<field name= "product_id" />
2012-06-27 11:12:52 +00:00
<field name= "product_qty" string= "Quantity" />
2012-07-14 06:27:55 +00:00
<field name= "product_uom" string= "Unit of Measure" groups= "product.group_uom" />
2012-09-30 11:02:02 +00:00
<field name= "prodlot_id" groups= "stock.group_production_lot" context= "{'product_id': product_id}" />
2012-06-27 11:12:52 +00:00
<field name= "state" invisible= "1" />
<button name= "%(stock.move_consume)d"
string="Consume Products" type="action"
icon="gtk-go-forward" context="{'consume': True}"
2012-07-19 16:42:08 +00:00
states="draft,waiting,confirmed,assigned"/>
2012-06-27 11:12:52 +00:00
<button
name="%(stock.track_line)d"
string="Split in Serial Numbers"
type="action" icon="gtk-justify-fill"
2012-09-03 06:18:05 +00:00
states="draft,waiting,confirmed,assigned"
groups="stock.group_production_lot"/>
2012-06-27 11:12:52 +00:00
<button name= "%(stock.move_scrap)d"
string="Scrap Products" type="action"
2012-12-09 10:55:27 +00:00
icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
2012-06-27 11:12:52 +00:00
states="draft,waiting,confirmed,assigned"/>
</tree>
</field>
</group>
2012-10-08 10:49:35 +00:00
<group string= "Consumed Products" >
2013-03-13 04:41:58 +00:00
<field name= "move_lines2" nolabel= "1" options= "{'reload_on_button': true}" >
2012-06-27 11:12:52 +00:00
<tree colors= "red:scrapped==True;blue:state == 'draft';black:state in('picking_except','confirmed','ready','in_production');gray:state == 'cancel' " string= "Consumed Products" editable= "bottom" >
<field name= "product_id" readonly= "1" />
<field name= "product_qty" readonly= "1" />
2012-07-16 07:45:59 +00:00
<field name= "product_uom" readonly= "1" string= "Unit of Measure" groups= "product.group_uom" />
2012-09-10 11:13:59 +00:00
<field name= "prodlot_id" context= "{'product_id': product_id}" groups= "stock.group_production_lot" />
2012-06-27 11:12:52 +00:00
<field name= "state" invisible= "1" />
<field name= "scrapped" invisible= "1" />
</tree>
</field>
</group>
2012-06-09 15:08:55 +00:00
</group>
2010-04-16 09:16:25 +00:00
</page>
2009-01-27 11:15:46 +00:00
<page string= "Finished Products" >
2012-06-09 15:08:55 +00:00
<group >
2012-07-16 07:20:02 +00:00
<group string= "Products to Produce" >
2013-03-13 04:41:58 +00:00
<field name= "move_created_ids" nolabel= "1" options= "{'reload_on_button': true}" >
2012-06-27 11:12:52 +00:00
<tree string= "Products to Finish" >
2012-07-19 16:42:08 +00:00
<field name= "product_id" />
2012-06-27 11:12:52 +00:00
<field name= "product_qty" />
2012-07-16 07:45:59 +00:00
<field name= "product_uom" string= "Unit of Measure" groups= "product.group_uom" />
2012-06-27 11:12:52 +00:00
<field name= "state" invisible= "1" />
<button name= "%(stock.action_partial_move_server)d"
string="Partial"
type="action" states="confirmed,assigned"
icon="gtk-justify-fill"/>
</tree>
</field>
</group>
2012-07-16 07:20:02 +00:00
<group string= "Produced Products" >
2013-03-13 04:41:58 +00:00
<field name= "move_created_ids2" nolabel= "1" options= "{'reload_on_button': true}" >
2012-06-27 11:12:52 +00:00
<tree colors= "red:scrapped==True;blue:state == 'draft';black:state in('picking_except','confirmed','ready','in_production');gray:state in('cancel','done') " string= "Finished Products" >
<field name= "product_id" readonly= "1" />
<field name= "product_qty" readonly= "1" />
2012-07-16 08:55:57 +00:00
<field name= "product_uom" readonly= "1" string= "Unit of Measure" groups= "product.group_uom" />
<field name= "location_dest_id" readonly= "1" string= "Destination Loc." widget= "selection" groups= "stock.group_locations" />
2012-09-10 11:13:59 +00:00
<field name= "prodlot_id" context= "{'product_id': product_id}" groups= "stock.group_production_lot" />
2012-06-27 11:12:52 +00:00
<field name= "scrapped" invisible= "1" />
<field name= "state" invisible= "1" />
<button name= "%(stock.track_line)d"
string="Split in Serial Numbers" type="action" icon="gtk-justify-fill" states="done,cancel"/>
<button name= "%(stock.move_scrap)d"
2012-12-09 10:55:27 +00:00
string="Scrap Products" type="action" icon="terp-gtk-jump-to-ltr"
2012-07-19 16:42:08 +00:00
states="done,cancel"/>
2012-06-27 11:12:52 +00:00
</tree>
</field>
</group>
2012-06-09 15:08:55 +00:00
</group>
2008-08-27 23:48:15 +00:00
</page>
2012-10-25 13:29:42 +00:00
<page string= "Work Orders" groups= "mrp.group_mrp_routings" >
2010-12-06 12:12:20 +00:00
<button name= "action_compute" states= "draft"
string="Compute Data" type="object"
2012-06-09 15:08:55 +00:00
icon="terp-stock_format-scientific"/>
<field name= "workcenter_lines" >
<form string= "Production Work Centers" version= "7.0" >
<group col= "4" >
<field colspan= "4" name= "name" />
2012-06-22 12:03:53 +00:00
<field name= "workcenter_id" />
2012-06-09 15:08:55 +00:00
<field name= "sequence" />
<field name= "cycle" />
2013-08-06 09:30:21 +00:00
<field name= "hour" widget= "float_time" />
2012-06-09 15:08:55 +00:00
</group>
2009-01-26 22:57:42 +00:00
</form>
2009-12-14 14:56:27 +00:00
<tree string= "Production Work Centers" >
2009-01-26 22:57:42 +00:00
<field name= "sequence" />
<field name= "name" />
2012-06-22 12:03:53 +00:00
<field name= "workcenter_id" />
2009-01-26 22:57:42 +00:00
<field name= "cycle" />
2013-08-06 09:30:21 +00:00
<field name= "hour" widget= "float_time" />
2009-01-26 22:57:42 +00:00
</tree>
</field>
2008-06-29 08:26:07 +00:00
</page>
2010-03-02 09:22:09 +00:00
<page string= "Scheduled Products" >
2010-12-06 12:12:20 +00:00
<button name= "action_compute" states= "draft"
string="Compute Data" type="object"
2012-06-09 15:08:55 +00:00
icon="terp-stock_format-scientific"/>
<field name= "product_lines" />
2010-03-02 09:22:09 +00:00
</page>
2008-08-27 23:48:15 +00:00
<page string= "Extra Information" >
2012-06-27 09:40:06 +00:00
<group >
<group >
<field name= "priority" />
2012-11-29 06:48:56 +00:00
<field name= "date_start" invisible= "1" />
<field name= "date_finished" invisible= "1" />
2012-06-27 09:40:06 +00:00
</group>
2012-06-22 12:03:53 +00:00
<group >
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
<field name= "picking_id" />
2012-07-14 06:27:55 +00:00
<field name= "move_prod_id" groups= "stock.group_locations" />
2012-06-22 12:03:53 +00:00
</group>
2012-06-09 15:08:55 +00:00
</group>
2008-06-29 08:26:07 +00:00
</page>
</notebook>
2012-04-26 08:44:00 +00:00
</sheet>
2012-07-13 09:53:41 +00:00
<div class= "oe_chatter" >
2012-08-15 22:30:38 +00:00
<field name= "message_follower_ids" widget= "mail_followers" />
2012-10-26 09:58:21 +00:00
<field name= "message_ids" widget= "mail_thread" />
2012-07-13 09:53:41 +00:00
</div>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2009-11-23 13:47:57 +00:00
2009-09-24 10:46:21 +00:00
<record id= "view_mrp_production_filter" model= "ir.ui.view" >
<field name= "name" > mrp.production.select</field>
<field name= "model" > mrp.production</field>
<field name= "arch" type= "xml" >
<search string= "Search Production" >
2012-07-20 12:13:49 +00:00
<field name= "name" string= "Production" filter_domain= "['|',('name','ilike',self),('origin','ilike',self)]" />
<filter icon= "terp-gtk-media-pause" string= "Pending" name= "pending" domain= "[('state','=','confirmed')]"
help="Manufacturing Orders which are waiting for raw materials."/>
<filter icon= "terp-camera_test" string= "Ready" name= "ready" domain= "[('state','=','ready')]"
help="Manufacturing Orders which are ready to start production."/>
<filter icon= "terp-check" string= "In Production" name= "inprogress" domain= "[('state','=','in_production')]"
help="Manufacturing Orders which are currently in production."/>
<separator />
<filter icon= "terp-gnome-cpu-frequency-applet+" string= "Late" domain= "['&', ('date_planned','<', current_date), ('state', 'in', ('draft', 'confirmed', 'ready'))]"
help="Production started late"/>
2012-07-31 11:28:04 +00:00
<field name= "product_id" />
<field name= "routing_id" groups= "mrp.group_mrp_routings" />
2012-04-25 14:06:25 +00:00
<group expand= "0" string= "Group By..." >
2010-06-01 05:30:23 +00:00
<filter string= "Product" icon= "terp-accessories-archiver" domain= "[]" context= "{'group_by':'product_id'}" />
2012-04-25 14:06:25 +00:00
<filter string= "Routing" icon= "terp-stock_align_left_24" domain= "[]" context= "{'group_by':'routing_id'}" />
2012-05-04 11:57:48 +00:00
<filter string= "Status" icon= "terp-stock_effects-object-colorize" domain= "[]" context= "{'group_by':'state'}" />
2013-09-04 14:10:53 +00:00
<filter string= "Scheduled Month" icon= "terp-go-month" domain= "[]" context= "{'group_by':'date_planned'}" help= "Scheduled Date by Month" />
2010-02-16 17:21:39 +00:00
</group>
2009-09-24 10:46:21 +00:00
</search>
</field>
</record>
2009-11-23 13:47:57 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_production_action" model= "ir.actions.act_window" >
2010-01-11 11:04:21 +00:00
<field name= "name" > Manufacturing Orders</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.production</field>
<field name= "view_type" > form</field>
2008-11-26 11:21:43 +00:00
<field name= "view_mode" > tree,form,calendar,graph,gantt</field>
2008-07-01 19:20:40 +00:00
<field name= "view_id" eval= "False" />
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_mrp_production_filter" />
2012-02-27 05:15:16 +00:00
<field name= "context" > {}</field>
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to create a manufacturing order.
</p> <p >
A manufacuring order, based on a bill of materials, will
consume raw materials and produce finished products.
</p> <p >
Manufacturing orders are usually proposed automatically based
on customer requirements or automated rules like the minimum
stock rule.
</p>
2012-06-27 09:19:41 +00:00
</field>
2008-07-01 15:58:58 +00:00
</record>
2010-12-28 14:52:53 +00:00
<menuitem action= "mrp_production_action" id= "menu_mrp_production_action"
parent="menu_mrp_manufacturing" sequence="1"/>
2008-07-01 11:12:09 +00:00
2010-09-17 12:22:05 +00:00
<record id= "mrp_production_action_planning" model= "ir.actions.act_window" >
2010-10-14 13:48:47 +00:00
<field name= "name" > Manufacturing Orders</field>
2008-11-26 11:25:45 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.production</field>
<field name= "view_type" > form</field>
2010-10-14 13:48:47 +00:00
<field name= "view_mode" > calendar,tree,form,graph</field>
2008-11-26 11:25:45 +00:00
<field name= "domain" > [('state','in',('ready','confirmed','in_production'))]</field>
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to start a new manufacturing order.
</p> <p >
A manufacuring order, based on a bill of materials, will
consume raw materials and produce finished products.
</p> <p >
Manufacturing orders are usually proposed automatically based
on customer requirements or automated rules like the minimum
stock rule.
</p>
2012-06-27 09:19:41 +00:00
</field>
2008-11-26 11:25:45 +00:00
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_production_action2" model= "ir.actions.act_window" >
2010-01-11 11:04:21 +00:00
<field name= "name" > Manufacturing Orders To Start</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.production</field>
<field name= "view_type" > form</field>
2008-11-26 11:21:43 +00:00
<field name= "view_mode" > tree,form,calendar,graph,gantt</field>
2008-07-01 15:58:58 +00:00
<field name= "domain" > [('state','=','ready')]</field>
2009-09-24 10:46:21 +00:00
<field name= "filter" eval= "True" />
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_mrp_production_filter" />
2008-07-01 15:58:58 +00:00
</record>
2009-12-23 11:43:11 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_production_action3" model= "ir.actions.act_window" >
2010-01-11 11:04:21 +00:00
<field name= "name" > Manufacturing Orders in Progress</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.production</field>
<field name= "view_type" > form</field>
2008-11-26 11:21:43 +00:00
<field name= "view_mode" > tree,form,calendar,graph,gantt</field>
2008-07-01 15:58:58 +00:00
<field name= "domain" > [('state','=','in_production')]</field>
2009-09-24 10:46:21 +00:00
<field name= "filter" eval= "True" />
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_mrp_production_filter" />
2008-07-01 15:58:58 +00:00
</record>
2009-12-23 11:43:11 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_production_action4" model= "ir.actions.act_window" >
2010-01-11 11:04:21 +00:00
<field name= "name" > Manufacturing Orders Waiting Products</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.production</field>
<field name= "view_type" > form</field>
2008-11-26 11:21:43 +00:00
<field name= "view_mode" > tree,form,calendar,graph,gantt</field>
2008-07-01 15:58:58 +00:00
<field name= "domain" > [('state','=','confirmed')]</field>
2009-09-24 10:46:21 +00:00
<field name= "filter" eval= "True" />
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_mrp_production_filter" />
2008-07-01 15:58:58 +00:00
</record>
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_production_product_form_view" model= "ir.ui.view" >
<field name= "name" > mrp.production.product.line.form</field>
<field name= "model" > mrp.production.product.line</field>
<field name= "arch" type= "xml" >
2012-06-09 15:08:55 +00:00
<form string= "Scheduled Products" version= "7.0" >
<group col= "4" >
<field name= "name" />
<field name= "product_id" />
<field name= "product_qty" />
2012-06-11 13:04:07 +00:00
<field name= "product_uom" groups= "product.group_uom" />
2012-06-09 15:08:55 +00:00
<field name= "product_uos_qty" groups= "product.group_uos" />
<field name= "product_uos" groups= "product.group_uos" />
</group>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_production_product_tree_view" model= "ir.ui.view" >
<field name= "name" > mrp.production.product.line.tree</field>
<field name= "model" > mrp.production.product.line</field>
<field name= "arch" type= "xml" >
2008-08-27 23:48:15 +00:00
<tree string= "Scheduled Products" >
2008-07-01 15:58:58 +00:00
<field name= "product_id" />
<field name= "product_qty" />
2012-06-11 09:59:14 +00:00
<field name= "product_uom" groups= "product.group_uom" />
2010-06-14 10:28:26 +00:00
<field name= "product_uos_qty" groups= "product.group_uos" />
<field name= "product_uos" groups= "product.group_uos" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-10-10 08:59:13 +00:00
2008-06-29 08:26:07 +00:00
<!--
2010-06-12 17:49:33 +00:00
Procurements
2010-02-16 17:21:39 +00:00
-->
2008-10-10 08:59:13 +00:00
2010-04-29 13:30:07 +00:00
<record id= "view_procurement_form_inherit" model= "ir.ui.view" >
2010-06-12 17:49:33 +00:00
<field name= "name" > procurement.order.form.inherit</field>
<field name= "model" > procurement.order</field>
<field name= "inherit_id" ref= "procurement.procurement_form_view" />
<field name= "arch" type= "xml" >
2010-08-16 12:06:25 +00:00
<data >
2012-06-09 23:32:39 +00:00
<xpath expr= "//field[@name='move_id']" position= "before" >
2010-06-12 17:49:33 +00:00
<field name= "bom_id" domain= "[('product_id','=',product_id),('bom_id','=',False)]" />
2012-10-04 13:38:29 +00:00
<field name= "production_id" attrs= "{'invisible': [('production_id','=',False)]}" />
2010-07-07 09:18:51 +00:00
</xpath>
2012-06-09 23:32:39 +00:00
<xpath expr= "//field[@name='close_move']" position= "after" >
2012-04-04 13:47:31 +00:00
<group colspan= "4" groups= "product.group_mrp_properties" >
2012-07-05 15:00:10 +00:00
<field colspan= "4" name= "property_ids" widget= "many2many_tags" />
</group>
2010-08-16 12:06:25 +00:00
</xpath>
</data>
2010-07-07 09:18:51 +00:00
</field>
</record>
2012-10-03 05:22:00 +00:00
<record id= "product_product_normal_form_supply_view" model= "ir.ui.view" >
2012-04-26 05:17:17 +00:00
<field name= "name" > product.normal.form.mrp.inherit</field>
<field name= "model" > product.product</field>
2012-10-01 12:16:30 +00:00
<field name= "inherit_id" ref= "procurement.product_form_view_procurement_button" />
2012-04-26 05:17:17 +00:00
<field name= "arch" type= "xml" >
2012-09-17 14:47:40 +00:00
<xpath expr= "//field[@name='supply_method']" position= "attributes" >
<attribute name= "invisible" > False</attribute>
2012-08-31 08:39:09 +00:00
</xpath>
2012-09-17 14:47:40 +00:00
<group name= "procurement_help" position= "inside" >
2012-10-13 09:55:08 +00:00
<p attrs= "{'invisible': ['|','|',('type','=','service'),('procure_method','<>','make_to_order'),('supply_method','<>','produce')]}" >
2012-09-17 14:47:40 +00:00
When you sell this product, OpenERP will trigger <b > a manufacturing
order</b> using the bill of materials assigned to this product.
The delivery order will be ready once the production is done.
</p>
2012-10-01 08:56:03 +00:00
</group>
2012-04-26 05:17:17 +00:00
</field>
</record>
2012-05-14 08:36:57 +00:00
2010-04-06 16:15:10 +00:00
<!-- Menu for Resource for MRP -->
2010-04-18 15:32:44 +00:00
2010-10-19 11:59:20 +00:00
<record id= "mrp_workcenter_action" model= "ir.actions.act_window" >
2013-05-02 10:24:25 +00:00
<field name= "name" > Work Centers</field>
2010-10-19 11:59:20 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.workcenter</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "mrp_workcenter_tree_view" />
<field name= "search_view_id" ref= "view_mrp_workcenter_search" />
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to add a work center.
</p> <p >
Work Centers allow you to create and manage manufacturing
units. They consist of workers and/or machines, which are
considered as units for task assignation as well as capacity
and planning forecast.
</p>
2012-06-27 09:19:41 +00:00
</field>
2010-10-19 11:59:20 +00:00
</record>
2010-06-16 11:43:59 +00:00
<menuitem id= "menu_pm_resources_config" name= "Resources" parent= "menu_mrp_configuration" />
2012-06-22 12:38:22 +00:00
<menuitem action= "mrp_workcenter_action" id= "menu_view_resource_search_mrp" groups= "mrp.group_mrp_routings" parent= "mrp.menu_mrp_configuration" sequence= "25" />
2012-03-16 09:53:06 +00:00
<menuitem action= "resource.action_resource_calendar_form" id= "menu_view_resource_calendar_search_mrp" parent= "menu_pm_resources_config" sequence= "1" groups= "base.group_no_one" />
<menuitem action= "resource.action_resource_calendar_leave_tree" id= "menu_view_resource_calendar_leaves_search_mrp" parent= "menu_pm_resources_config" sequence= "1" groups= "base.group_no_one" />
2010-11-23 13:24:34 +00:00
2010-10-14 13:48:47 +00:00
<!-- Planning -->
2010-11-23 13:24:34 +00:00
2010-10-14 13:48:47 +00:00
<menuitem id= "menu_mrp_planning" name= "Planning"
2012-04-25 14:06:25 +00:00
parent="base.menu_mrp_root" sequence="2"/>
2010-12-28 15:17:38 +00:00
<menuitem action= "mrp.mrp_production_action_planning"
2012-12-19 07:08:17 +00:00
id="menu_mrp_production_order_action" name="Order Planning"
2010-12-28 15:17:38 +00:00
parent="menu_mrp_planning" sequence="1"/>
2010-03-03 11:43:50 +00:00
2013-02-20 10:41:04 +00:00
<record id= "act_product_mrp_bom_open" model= "ir.actions.act_window" >
2013-02-24 11:21:42 +00:00
<field name= "name" > BoM Structure</field>
2013-02-20 10:41:04 +00:00
<field name= "context" > {'default_product_id': active_id}</field>
<field name= "domain" > [('product_id', 'in', active_ids),('bom_id','=',False)]</field>
<field name= "res_model" > mrp.bom</field>
</record>
2012-08-31 08:39:09 +00:00
<record model= "ir.actions.act_window" id= "product_open_bom" >
<field name= "context" > {'default_product_id': active_id, 'search_default_product_id': active_id}</field>
<field name= "name" > Bill of Materials</field>
2012-10-04 08:42:53 +00:00
<field name= "domain" > [('bom_id','=',False)]</field>
2012-08-31 08:39:09 +00:00
<field name= "res_model" > mrp.bom</field>
2013-08-26 13:29:43 +00:00
<field name= "view_type" > form</field>
2012-08-31 08:39:09 +00:00
</record>
2013-02-20 10:41:04 +00:00
<record id= "act_product_mrp_production" model= "ir.actions.act_window" >
<field name= "context" > {'search_default_product_id': [active_id]}</field>
<field name= "name" > Manufacturing Orders</field>
<field name= "res_model" > mrp.production</field>
<field name= "view_id" ref= "mrp_production_tree_view" />
</record>
2012-08-31 08:39:09 +00:00
<record model= "ir.ui.view" id= "product_form_view_bom_button" >
<field name= "name" > product.product.procurement</field>
<field name= "model" > product.product</field>
<field name= "inherit_id" ref= "product.product_normal_form_view" />
<field name= "arch" type= "xml" >
<xpath expr= "//div[@name='buttons']" position= "inside" >
2014-03-24 13:56:21 +00:00
<button class= "oe_inline oe_stat_button" name= "%(product_open_bom)d" type= "action"
groups="mrp.group_mrp_user" attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-flask">
<field string= "Bill of Materials" name= "bom_count" widget= "statinfo" />
</button>
<button class= "oe_inline oe_stat_button" name= "%(act_product_mrp_bom_open)d" type= "action"
groups="mrp.group_mrp_user" attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-flask">
<field string= "BoM Structure" name= "bom_strct" widget= "statinfo" />
</button>
<button class= "oe_inline oe_stat_button" name= "%(act_product_mrp_production)d" type= "action"
2014-04-04 11:29:26 +00:00
groups="mrp.group_mrp_user" attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-list-alt">
<field string= "Manufacturing" name= "mo_count" widget= "statinfo" />
2014-03-24 13:56:21 +00:00
</button>
2012-08-31 08:39:09 +00:00
</xpath>
</field>
</record>
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>