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
2010-03-03 11:26:40 +00:00
<menuitem icon= "terp-mrp" id= "base.menu_mrp_root" name= "Manufacturing"
2010-02-05 13:49:07 +00:00
groups="group_mrp_user,group_mrp_manager" sequence="3"/>
2010-01-11 11:04:21 +00:00
<menuitem id= "menu_mrp_reordering" name= "Automatic Procurements" parent= "stock.menu_stock_root" sequence= "4" />
2010-03-03 11:26:40 +00:00
<menuitem id= "menu_mrp_manufacturing" name= "Manufacturing" parent= "base.menu_mrp_root" sequence= "1" />
2010-01-11 11:04:21 +00:00
2010-03-03 11:26:40 +00:00
<menuitem name= "Control" id= "menu_mrp_control" parent= "base.menu_mrp_root" sequence= "3" />
2010-01-11 07:25:10 +00:00
<menuitem name= "Master Data"
id="menu_mrp_bom"
2010-03-03 11:26:40 +00:00
parent="base.menu_mrp_root"
2010-01-11 11:04:21 +00:00
sequence="5" />
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= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Properties categories" >
<separator colspan= "4" string= "General Information" />
<field colspan= "4" name= "name" select= "1" />
<field colspan= "4" 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" >
<field name= "name" > Property Categories</field>
<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>
</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"
2009-11-25 08:07:08 +00:00
groups="group_mrp_manager"
2010-01-11 07:25:10 +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= "type" > tree</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= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Properties" >
<separator colspan= "4" string= "General Information" />
<field colspan= "4" name= "name" select= "1" />
<field name= "group_id" select= "1" />
<field name= "composition" select= "1" />
<separator colspan= "4" string= "Description" />
<field colspan= "4" 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_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>
2008-06-29 08:26:07 +00:00
</record>
2009-12-15 11:07:00 +00:00
<menuitem name= "Properties"
id="menu_mrp_property"
2009-12-14 14:56:27 +00:00
parent="menu_mrp_configuration"
groups="base.group_extended"
2010-01-11 11:04:21 +00:00
sequence="20" />
2009-12-15 11:07:00 +00:00
<menuitem
action="mrp_property_action"
id="menu_mrp_property_action"
parent="menu_mrp_property"
groups="base.group_extended" />
2009-12-14 14:56:27 +00:00
<menuitem
action="mrp_property_group_action"
id="menu_mrp_property_group_action"
2009-12-15 11:07:00 +00:00
parent="menu_mrp_property"/>
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= "type" > tree</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" />
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= "type" > form</field>
<field name= "arch" type= "xml" >
2009-12-14 14:56:27 +00:00
<form string= "Work Center" >
2008-10-10 08:59:17 +00:00
<group col= "6" colspan= "4" >
<field name= "name" select= "1" />
<field name= "code" select= "1" />
<field name= "active" select= "2" />
2009-12-23 16:15:54 +00:00
<field name= "company_id" select= "1" groups= "base.group_multi_company" widget= "selection" />
2008-10-10 08:59:17 +00:00
</group>
<notebook colspan= "4" >
2009-12-14 14:56:27 +00:00
<page string= "Work Center" >
2010-01-18 13:44:53 +00:00
<field name= "resource_type" />
2010-01-12 05:32:48 +00:00
<field name= "calendar_id" />
2008-07-01 15:58:58 +00:00
<separator colspan= "4" string= "Description" />
<field colspan= "4" name= "note" nolabel= "1" />
<separator colspan= "4" string= "Capacity Information" />
<group col= "4" colspan= "4" >
<field name= "capacity_per_cycle" />
2008-06-29 08:26:07 +00:00
<newline />
2008-07-01 15:58:58 +00:00
<field name= "time_cycle" />
<field name= "time_efficiency" />
<field name= "time_start" />
<field name= "time_stop" />
2008-06-29 08:26:07 +00:00
</group>
</page>
2008-07-01 15:58:58 +00:00
<page string= "Analytic Accounting" >
<field name= "costs_hour" />
<field name= "costs_hour_account_id" />
<field name= "costs_cycle" />
<field name= "costs_cycle_account_id" />
<field name= "costs_journal_id" />
<field name= "costs_general_account_id" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_workcenter_action" model= "ir.actions.act_window" >
2009-12-14 14:56:27 +00:00
<field name= "name" > Work Centers</field>
2008-07-01 15:58:58 +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" />
2008-06-29 08:26:07 +00:00
</record>
2008-10-10 08:59:13 +00:00
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= "type" > tree</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" />
<field name= "workcenter_id" select= "1" />
<field name= "cycle_nbr" />
<field name= "hour_nbr" />
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= "type" > form</field>
<field name= "arch" type= "xml" >
2009-12-14 14:56:27 +00:00
<form string= "Routing Work Centers" >
2008-07-01 15:58:58 +00:00
<separator colspan= "4" string= "General Information" />
<field colspan= "4" name= "name" select= "1" />
<field name= "sequence" select= "1" />
<field name= "workcenter_id" select= "1" />
<field name= "cycle_nbr" />
<field name= "hour_nbr" />
<field colspan= "4" 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= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Routing" >
<separator colspan= "4" string= "General Information" />
<field name= "name" select= "1" />
<field name= "active" select= "1" />
<field name= "code" select= "1" />
<field name= "location_id" />
<separator colspan= "4" string= "Description" />
<field colspan= "4" name= "note" nolabel= "1" />
2009-12-14 14:56:27 +00:00
<separator colspan= "4" string= "Work Center Operations" />
2008-07-01 15:58:58 +00:00
<field colspan= "4" name= "workcenter_lines" nolabel= "1" widget= "one2many_list" />
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= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Routing" >
<field name= "code" />
<field name= "name" />
<field name= "location_id" />
2008-06-29 08:26:07 +00:00
</tree>
</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" />
2008-06-29 08:26:07 +00:00
</record>
2010-01-11 07:25:10 +00:00
<!-- <menuitem name="Routings" id="menu_mrp_routing_and_workcenters" parent="mrp.menu_mrp_bom" groups="base.group_extended"
sequence="100" />-->
2010-01-11 11:04:21 +00:00
<menuitem action= "mrp_workcenter_action" id= "menu_mrp_workcenter_action" parent= "mrp.menu_mrp_bom" groups= "base.group_extended" sequence= "40" />
<menuitem action= "mrp_routing_action" id= "menu_mrp_routing_action" parent= "mrp.menu_mrp_bom" groups= "base.group_extended" sequence= "30" />
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= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Bill of Material" >
2009-11-24 12:13:46 +00:00
<group colspan= "4" col= "6" >
<field name= "product_id" on_change= "onchange_product_id(product_id, name)" select= "1" />
<field name= "name" select= "1" />
<field name= "code" select= "1" />
2009-12-23 16:15:54 +00:00
<field name= "company_id" select= "1" groups= "base.group_multi_company" widget= "selection" />
2009-11-24 12:13:46 +00:00
</group>
2008-10-06 21:35:47 +00:00
<newline />
<field name= "product_uom" />
<field name= "product_qty" />
<newline />
<field name= "product_uos" groups= "product.group_uos" />
<field name= "product_uos_qty" groups= "product.group_uos" />
2008-10-21 06:38:29 +00:00
<field name= "routing_id" select= "2" groups= "base.group_extended" />
<field name= "type" groups= "base.group_extended" />
2008-10-09 20:47:27 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "General Information" >
<field colspan= "4" name= "bom_lines" nolabel= "1" widget= "one2many_list" />
2008-06-29 08:26:07 +00:00
</page>
2008-10-21 06:38:29 +00:00
<page string= "Revisions" groups= "base.group_extended" >
2008-07-01 15:58:58 +00:00
<field colspan= "4" name= "revision_ids" nolabel= "1" widget= "one2many_list" />
2008-06-29 08:26:07 +00:00
</page>
2008-07-01 15:58:58 +00:00
<page string= "Properties" >
<field name= "position" select= "2" />
<field name= "active" select= "2" />
<field name= "sequence" />
<field name= "bom_id" />
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<field name= "date_start" select= "2" />
<field name= "date_stop" select= "2" />
<field name= "product_rounding" />
<field name= "product_efficiency" />
2008-10-21 06:38:29 +00:00
<field colspan= "4" name= "property_ids" nolabel= "2" groups= "base.group_extended" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</form>
</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>
<field name= "type" > tree</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" >
2008-10-10 08:35:08 +00:00
<tree string= "BoM Structure" colors= "blue:method" >
2009-03-15 23:26:02 +00:00
<field name= "name" />
2008-10-07 12:34:52 +00:00
<field name= "code" />
2009-03-15 23:26:02 +00:00
<field name= "product_id" />
2008-07-01 15:58:58 +00:00
<field name= "product_qty" />
<field name= "product_uom" />
2008-10-09 20:49:55 +00:00
<field name= "method" />
2008-10-29 07:24:12 +00:00
<field name= "routing_id" groups= "base.group_extended" />
2008-07-01 15:58:58 +00:00
<field name= "date_start" />
<field name= "date_stop" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_bom_form_action" model= "ir.actions.act_window" >
2009-12-15 11:07:00 +00:00
<field name= "name" > Master 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>
<field name= "view_id" ref= "mrp_bom_tree_view" />
</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>
2008-09-02 14:20:31 +00:00
<field name= "domain" > [('bom_id','!=',False)]</field>
2008-07-01 15:58:58 +00:00
</record>
2009-12-15 11:07:00 +00:00
<!-- BOM menus -->
2010-01-11 11:04:21 +00:00
2010-01-11 07:25:10 +00:00
<!-- <menuitem name="Bill of Materials"
2009-12-15 11:07:00 +00:00
id="menu_mrp_bom"
2010-01-11 07:25:10 +00:00
parent="menu_mrp_bom"
sequence="50" />-->
2009-12-15 11:07:00 +00:00
<menuitem action= "mrp_bom_form_action"
id="menu_mrp_bom_form_action"
parent="menu_mrp_bom"
sequence="10"/>
<menuitem action= "mrp_bom_form_action2"
id="menu_mrp_bom_form_action2"
parent="menu_mrp_bom"
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>
2008-10-04 12:36:34 +00:00
<field name= "domain" > [('id','=',active_id)]</field>
2008-07-01 15:58:58 +00:00
<field name= "view_type" > tree</field>
<field name= "view_id" ref= "mrp_bom_tree_view" />
</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" />
<field eval= "True" name= "object" />
</record>
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_bom_revision_tree" model= "ir.ui.view" >
<field name= "name" > mrp.bom.revision</field>
<field name= "model" > mrp.bom.revision</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "BoM Revisions" >
<field name= "indice" />
<field name= "author_id" />
<field name= "date" />
<field colspan= "4" name= "name" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_bom_revision_form" model= "ir.ui.view" >
<field name= "name" > mrp.bom.revision</field>
<field name= "model" > mrp.bom.revision</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "BoM Revisions" >
<field colspan= "4" name= "name" />
<field colspan= "1" name= "indice" />
<field colspan= "1" name= "date" />
<field name= "author_id" readonly= "1" />
<field colspan= "4" name= "description" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-10-10 08:59:13 +00:00
2008-06-29 08:26:07 +00:00
<!--
2008-07-17 10:06:07 +00:00
Production Management
-->
2008-10-10 08:59:13 +00:00
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= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-01-11 11:04:21 +00:00
<tree colors= "red:date_planned<current_date and state not in ('done','cancel');black:date_planned>=current_date and state in ('done','cancel') " string= "Manufacturing Orders" >
2008-07-01 15:58:58 +00:00
<field name= "name" />
<field name= "product_id" />
2008-11-26 10:42:39 +00:00
<field name= "product_qty" sum= "Total Qty" />
2010-03-02 12:40:41 +00:00
<field name= "product_uom" />
2008-07-01 15:58:58 +00:00
<field name= "date_planned" />
2008-11-26 10:42:39 +00:00
<field name= "routing_id" groups= "base.group_extended" />
<field name= "hour_total" sum= "Total Hours" groups= "base.group_extended" />
<field name= "cycle_total" sum= "Total Cycles" groups= "base.group_extended" />
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 name= "type" > calendar</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" >
2008-07-01 15:58:58 +00:00
<field name= "origin" />
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= "type" > gantt</field>
<field name= "arch" type= "xml" >
2009-05-29 22:52:55 +00:00
<gantt color= "product_id" date_stop= "date_finnished" date_start= "date_start" string= "Productions" >
2008-11-26 11:21:43 +00:00
<level object= "mrp.routing" link= "routing_id" domain= "[]" >
2009-05-31 22:05:07 +00:00
<field name= "name" />
2008-11-26 11:21:43 +00:00
<field name= "origin" />
</level>
</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= "type" > graph</field>
<field name= "arch" type= "xml" >
2010-01-11 11:04:21 +00:00
<graph string= "Manufacturing Orders" type= "bar" >
2008-11-26 10:42:39 +00:00
<field name= "date_planned_date" />
<field name= "hour_total" operator= "+" />
<field name= "cycle_total" operator= "+" />
2008-09-24 09:22:17 +00:00
</graph>
</field>
</record>
2010-02-19 10:55:43 +00:00
2008-11-26 10:42:39 +00:00
<wizard
string="Change Product Qty."
model="mrp.production"
name="change_production_qty"
id="mrp.wizard_change_production_qty"
keyword="client_action_multi"
multi="True"/>
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= "type" > form</field>
<field name= "arch" type= "xml" >
2010-01-11 11:04:21 +00:00
<form string= "Manufacturing Orders" >
2010-02-19 10:55:43 +00:00
<group colspan= "4" col= "6" >
<field name= "name" select= "1" string= "Reference" />
2008-09-05 15:04:38 +00:00
<field name= "date_planned" select= "1" />
2008-11-26 10:42:39 +00:00
<field name= "origin" select= "1" />
2010-03-03 11:26:40 +00:00
<field name= "product_id" on_change= "product_id_change(product_id)" select= "1" />
2008-11-19 08:21:41 +00:00
<field name= "product_qty" />
2010-02-19 10:55:43 +00:00
<group colspan= "2" col= "3" >
2010-03-02 11:29:01 +00:00
<field name= "product_uom" />
<button type= "action" name= "%(mrp.wizard_change_production_qty)d" string= "Change Qty" states= "ready,confirmed,in_production" />
2010-02-19 10:55:43 +00:00
</group>
2010-03-03 11:26:40 +00:00
<label string= "" colspan= "2" />
<field name= "product_uos_qty" groups= "product.group_uos" />
2010-02-19 10:55:43 +00:00
<group colspan= "2" col= "3" groups= "product.group_uos" >
<field name= "product_uos" />
2010-03-03 11:26:40 +00:00
<label string= "" />
</group>
2008-09-05 15:04:38 +00:00
</group>
2008-08-27 23:48:15 +00:00
<notebook colspan= "4" >
<page string= "Consumed Products" >
2009-08-11 13:32:17 +00:00
<field name= "bom_id" select= "2" domain= "[('product_id','=',product_id),('bom_id','=',False)]" on_change= "bom_id_change(bom_id)" />
2008-11-26 10:42:39 +00:00
<field name= "routing_id" groups= "base.group_extended" select= "1" />
2010-02-19 10:55:43 +00:00
<field name= "location_src_id" select= "2" domain= "[('usage','=','internal')]" on_change= "location_id_change(location_src_id,location_dest_id)" />
<field name= "location_dest_id" domain= "[('usage','=','internal')]" />
<separator string= "" colspan= "4" />
2010-02-16 17:21:39 +00:00
2010-02-19 10:55:43 +00:00
<field colspan= "2" name= "move_lines" nolabel= "1" widget= "one2many_list"
2010-03-02 12:40:41 +00:00
mode="tree,form" height="275" domain="[('state','< > ', ('done', 'cancel'))]">
<tree string= "Products to Consume" >
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
<field name= "state" invisible= "1" />
<button
name="%(stock.move_consume)d"
string=">" type="action"
icon="gtk-go-forward" context="{'consume': True}"
states="draft,waiting,confirmed,assigned"/>
<button name= "%(stock.move_scrap)d"
string="D" type="action"
icon="gtk-justify-fill" context="{'scrap': True}"
states="draft,waiting,confirmed,assigned" />
</tree>
<form string= "Products to Consume" >
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
</form>
2010-02-16 17:21:39 +00:00
</field>
2010-02-19 10:55:43 +00:00
<field colspan= "2" name= "move_lines2" nolabel= "1" domain= "[('state','in', ('done', 'cancel'))]"
widget="one2many_list" mode="tree,form" height="275">
<tree string= "Consumed Products" editable= "bottom" >
<field name= "product_id" readonly= "1" />
<field name= "product_qty" readonly= "1" />
<field name= "product_uom" readonly= "1" />
<field name= "state" invisible= "1" />
<field name= "location_id" readonly= "1" />
2010-03-03 11:26:40 +00:00
<field name= "prodlot_id" />
2010-02-19 10:55:43 +00:00
<button
2010-02-19 13:44:55 +00:00
name="%(stock.track_line)d"
2010-02-19 10:55:43 +00:00
string="Split in production lots"
type="action" icon="gtk-justify-fill"
states="done,cancel" />
<button
name="%(stock.move_scrap)d"
string="D" type="action"
icon="gtk-convert"
states="done,cancel" />
</tree>
<form string= "Consumed Products" >
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
</form>
2010-03-03 11:26:40 +00:00
</field>
2010-02-19 10:55:43 +00:00
2008-07-01 15:58:58 +00:00
<group col= "9" colspan= "4" >
<field name= "state" select= "2" />
2009-09-24 10:46:21 +00:00
<button name= "action_compute" states= "draft" string= "Compute Data" type= "object" icon= "gtk-execute" />
<button name= "button_confirm" states= "draft" string= "Confirm Production" icon= "gtk-apply" />
2010-03-02 09:22:09 +00:00
<button name= "button_produce" states= "ready" string= "Mark as Started" icon= "gtk-execute" />
2010-02-24 08:17:06 +00:00
<button name= "%(act_mrp_product_produce)d" states= "in_production" string= "Produce" icon= "gtk-ok" type= "action" />
2009-09-24 10:46:21 +00:00
<button name= "force_production" states= "confirmed,picking_except" string= "Force Reservation" type= "object" icon= "gtk-jump-to" />
<button name= "button_cancel" states= "draft,ready,confirmed,in_production,picking_except" string= "Cancel" icon= "gtk-cancel" />
<button name= "button_recreate" states= "picking_except" string= "Recreate Picking" icon= "gtk-convert" />
2008-06-29 08:26:07 +00:00
</group>
2010-03-02 09:22:09 +00:00
</page>
2009-01-27 11:15:46 +00:00
<page string= "Finished Products" >
2010-02-19 10:55:43 +00:00
<field colspan= "2" name= "move_created_ids" nolabel= "1" widget= "one2many_list"
2010-03-02 12:40:41 +00:00
mode="tree,form" height="275" domain="[('state','< > ', ('done', 'cancel'))]">
<tree string= "Products to Finish" >
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
<field name= "state" invisible= "1" />
<button
name="%(stock.move_consume)d"
string=">" type="action"
icon="gtk-go-forward"
states="draft,waiting,confirmed,assigned"/>
<button name= "%(stock.move_scrap)d"
string="D" type="action"
icon="gtk-justify-fill" context="{'scrap': True}"
states="draft,waiting,confirmed,assigned" />
</tree>
<form string= "Products to Finish" >
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
</form>
2010-02-19 10:55:43 +00:00
</field>
<field colspan= "2" name= "move_created_ids2" nolabel= "1" domain= "[('state','in', ('done', 'cancel'))]"
widget="one2many_list" mode="tree,form" height="275">
2010-02-23 05:42:19 +00:00
<tree string= "Finished Products" editable= "bottom" >
2010-02-19 10:55:43 +00:00
<field name= "product_id" readonly= "1" />
<field name= "product_qty" readonly= "1" />
<field name= "product_uom" readonly= "1" />
<field name= "state" invisible= "1" />
<field name= "location_id" readonly= "1" />
2010-03-03 11:26:40 +00:00
<field name= "prodlot_id" />
<button name= "%(stock.track_line)d"
2010-02-19 10:55:43 +00:00
string="Split in production lots" type="action" icon="gtk-justify-fill" states="done,cancel"/>
<button name= "%(stock.move_scrap)d"
2010-03-03 11:26:40 +00:00
string="D" type="action" icon="gtk-go-forward"
2010-02-19 10:55:43 +00:00
states="done,cancel" />
</tree>
2010-02-23 05:42:19 +00:00
<form string= "Finished Products" >
2010-02-19 10:55:43 +00:00
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
</form>
</field>
2008-08-27 23:48:15 +00:00
</page>
2008-09-23 21:19:02 +00:00
<page string= "Work Orders" >
2009-01-26 22:57:42 +00:00
<field colspan= "4" name= "workcenter_lines" nolabel= "1" >
2009-12-14 14:56:27 +00:00
<form string= "Production Work Centers" >
2009-01-26 22:57:42 +00:00
<field colspan= "4" name= "name" select= "1" />
<field colspan= "4" name= "workcenter_id" select= "1" />
<field name= "sequence" />
<field name= "cycle" />
<field name= "hour" />
</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" />
<field name= "workcenter_id" />
<field name= "cycle" />
<field name= "hour" />
</tree>
</field>
2008-06-29 08:26:07 +00:00
</page>
2010-03-02 09:22:09 +00:00
<page string= "Scheduled Products" >
<field colspan= "4" name= "product_lines" nolabel= "1" widget= "one2many_list" />
</page>
2008-08-27 23:48:15 +00:00
<page string= "Extra Information" >
2010-02-19 10:55:43 +00:00
<field name= "company_id" select= "1" groups= "base.group_multi_company" widget= "selection" />
2008-11-26 10:42:39 +00:00
<field name= "priority" groups= "base.group_extended" />
<newline />
2008-07-01 15:58:58 +00:00
<field name= "date_start" select= "2" />
<field name= "date_finnished" />
<field name= "picking_id" />
<field name= "move_prod_id" />
2008-09-18 10:51:54 +00:00
<field name= "sale_name" />
2008-09-24 09:22:17 +00:00
<field name= "sale_ref" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</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= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Production" >
2010-02-17 12:28:27 +00:00
<group col= '9' colspan= '4' >
2010-03-02 12:40:41 +00:00
<filter icon= "terp-mrp" string= "Draft"
domain="[('state','=','draft')]"
help="Non confirmed manufacturing orders"/>
<filter icon= "terp-mrp" string= "Current"
default="1"
domain="[('state','in',('confirmed','ready'))]"
help="Manufacturing Orders which are waiting for raw materials"/>
2010-02-17 12:28:27 +00:00
<filter icon= "terp-mrp" string= "Ready"
2010-03-02 12:40:41 +00:00
domain="[('state','=','ready')]"
help="Manufacturing Orders which are ready to produce" />
2010-02-17 12:28:27 +00:00
<filter icon= "terp-mrp" string= "In Production"
2010-03-02 12:40:41 +00:00
domain="[('state','=','in_production')]"
help="Manufacturing Orders which are in production" />
<separator orientation= "vertical" />
2010-02-17 12:28:27 +00:00
<filter icon= "terp-mrp" string= "Late"
2010-03-02 12:40:41 +00:00
domain="['& ', ('date_planned::date','< ', current_date), ('state', 'in', ('draft', 'confirmed', 'ready'))]"
help="Production started late" />
2009-09-24 10:46:21 +00:00
<separator orientation= "vertical" />
2010-03-02 12:40:41 +00:00
<field name= "name" />
<field name= "product_id" />
<field name= "routing_id" />
<field name= "origin" />
2009-11-24 12:13:46 +00:00
</group>
2010-03-02 12:40:41 +00:00
<newline />
<group expand= "1" string= "Group By" colspan= "10" col= "8" >
2010-02-16 17:21:39 +00:00
<filter string= "Product" icon= "terp-mrp" domain= "[]" context= "{'group_by':'product_id'}" />
<filter string= "State" icon= "terp-mrp" domain= "[]" context= "{'group_by':'state'}" />
2010-02-17 12:28:27 +00:00
<filter string= "Routing" icon= "terp-mrp" domain= "[]" context= "{'group_by':'routing_id'}" />
2010-03-02 12:40:41 +00:00
<separator orientation= "vertical" />
<filter string= "Date" icon= "terp-mrp" domain= "[]" context= "{'group_by':'date_planned'}" />
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" />
2008-07-01 15:58:58 +00:00
</record>
2010-01-11 11:04:21 +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
2008-11-26 11:25:45 +00:00
<record id= "mrp_production_action2_gantt" model= "ir.actions.act_window" >
2010-01-11 11:04:21 +00:00
<field name= "name" > Manufacturing Orders Planning</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>
<field name= "view_mode" > gantt,tree,form,calendar,graph</field>
<field name= "domain" > [('state','in',('ready','confirmed','in_production'))]</field>
</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_lot_form_view" model= "ir.ui.view" >
<field name= "name" > mrp.production.lot.line.form</field>
<field name= "model" > mrp.production.lot.line</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Production Products" >
<field colspan= "4" name= "move_id" on_change= "onchange_lot_line_id(lot_id)" />
<field name= "name" />
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
<field name= "product_uos_qty" />
<field name= "product_uos" />
<field name= "tracking_id" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_production_lot_tree_view" model= "ir.ui.view" >
<field name= "name" > mrp.production.lot.line.tree</field>
<field name= "model" > mrp.production.lot.line</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Production Products Consommation" >
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
<field name= "product_uos_qty" />
<field name= "product_uos" />
<field name= "tracking_id" />
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= "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= "type" > form</field>
<field name= "arch" type= "xml" >
2008-08-27 23:48:15 +00:00
<form string= "Scheduled Products" >
2008-07-01 15:58:58 +00:00
<field name= "name" />
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
<field name= "product_uos_qty" />
<field name= "product_uos" />
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= "type" > tree</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" />
<field name= "product_uom" />
<field name= "product_uos_qty" />
<field name= "product_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-02-16 17:21:39 +00:00
Procurement
-->
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_procurement_tree_view" model= "ir.ui.view" >
<field name= "name" > mrp.procurement.tree</field>
<field name= "model" > mrp.procurement</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-02-03 10:27:18 +00:00
<tree string= "Procurement Lines" colors= "red:state=='draft';black:state=='running';green:state=='confirmed';gray:state in ['done','cancel']" >
2010-02-16 17:21:39 +00:00
<field name= "date_planned" widget= "date" />
2010-02-09 07:34:15 +00:00
<field name= "origin" />
2008-07-01 15:58:58 +00:00
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" string= "UOM" />
<field name= "procure_method" />
<field name= "state" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_procurement_form_view" model= "ir.ui.view" >
<field name= "name" > mrp.procurement.form</field>
<field name= "model" > mrp.procurement</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2010-01-11 11:04:21 +00:00
<form string= "Procurement" >
2008-09-24 09:22:17 +00:00
<group col= "2" colspan= "2" >
<separator colspan= "2" string= "References" />
2010-01-11 11:04:21 +00:00
<field name= "name" select= "1" string= "Procurement Reason" />
2008-09-24 09:22:17 +00:00
<field name= "origin" select= "2" />
2009-12-23 16:15:54 +00:00
<field name= "company_id" select= "1" groups= "base.group_multi_company" widget= "selection" />
2008-09-24 09:22:17 +00:00
</group>
<group col= "2" colspan= "2" >
<separator colspan= "2" string= "Planification" />
2010-03-15 07:00:37 +00:00
<field name= "date_planned" select= "1" />
2008-09-24 09:22:17 +00:00
<field name= "procure_method" select= "2" />
2008-10-27 20:31:42 +00:00
<field name= "priority" groups= "base.group_extended" />
2008-09-24 09:22:17 +00:00
</group>
2008-10-10 08:59:17 +00:00
<notebook colspan= "4" >
2010-01-11 11:04:21 +00:00
<page string= "Procurement Details" >
2008-09-05 15:04:38 +00:00
<separator colspan= "4" string= "Product & Location" />
2008-10-27 20:31:42 +00:00
<field name= "product_id" select= "1" on_change= "onchange_product_id(product_id)" />
2008-09-05 15:04:38 +00:00
<field name= "location_id" select= "2" />
<field name= "product_qty" />
<field name= "product_uom" />
2008-08-27 23:48:15 +00:00
2008-09-05 15:04:38 +00:00
<field name= "product_uos_qty" groups= "product.group_uos" />
<field name= "product_uos" groups= "product.group_uos" />
2008-08-27 23:48:15 +00:00
2008-09-05 15:04:38 +00:00
<separator colspan= "4" string= "Status" />
<field colspan= "4" name= "message" readonly= "1" />
<field name= "state" readonly= "1" select= "2" />
<group col= "7" colspan= "2" >
2009-09-24 10:46:21 +00:00
<button name= "button_confirm" states= "draft" string= "Confirm" icon= "gtk-apply" />
<button name= "button_restart" states= "exception" string= "Retry" icon= "gtk-convert" />
2010-01-21 15:13:50 +00:00
<button name= "button_cancel" states= "draft,exception,waiting" string= "Cancel" icon= "gtk-cancel" />
2010-03-02 12:40:41 +00:00
<button name= "button_check" states= "confirmed" string= "Run Procurement" icon= "gtk-media-play" />
2008-09-05 15:04:38 +00:00
</group>
</page>
<page string= "Extra Information" >
<separator colspan= "4" string= "Details" />
2009-03-15 23:27:11 +00:00
<field name= "bom_id" select= "2" domain= "[('product_id','=',product_id),('bom_id','=',False)]" />
2008-10-21 06:38:29 +00:00
<field name= "move_id" groups= "base.group_extended" />
2008-09-05 15:04:38 +00:00
<field name= "date_close" select= "2" />
2008-10-21 06:38:29 +00:00
<field name= "close_move" groups= "base.group_extended" />
2008-09-05 15:04:38 +00:00
<field name= "purchase_id" />
2010-02-09 07:34:15 +00:00
<group colspan= "4" groups= "base.group_extended" >
<separator colspan= "4" string= "Properties" />
<field colspan= "4" name= "property_ids" nolabel= "1" />
</group>
2008-09-05 15:04:38 +00:00
</page>
2009-04-06 13:57:40 +00:00
<page string= "Notes" >
2009-03-06 09:33:10 +00:00
<separator colspan= "4" string= "Note" />
2009-03-15 16:29:55 +00:00
<field name= "note" colspan= "4" nolabel= "1" />
2010-01-11 11:04:21 +00:00
</page>
2008-09-05 15:04:38 +00:00
</notebook>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2009-10-22 14:01:58 +00:00
<record id= "view_mrp_procurement_filter" model= "ir.ui.view" >
<field name= "name" > mrp.procurement.select</field>
<field name= "model" > mrp.procurement</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
2010-01-11 11:04:21 +00:00
<search string= "Search Procurement" >
2010-02-09 07:34:15 +00:00
<group col= '10' colspan= '4' >
<filter icon= "terp-mrp" string= "Current" domain= "[('state','in',('draft','confirmed'))]" default= "1" help= "Procurement Orders in draft or open state." />
2010-01-11 11:04:21 +00:00
<filter icon= "terp-mrp" string= "Exceptions" domain= "[('state','=','exception')]" help= "Procurement Orders with exceptions" />
2010-02-17 12:28:27 +00:00
<filter icon= "terp-mrp" string= "Late"
2010-03-02 12:40:41 +00:00
domain="['& ', ('date_planned::date','< ', current_date), ('state', 'in', ('draft', 'confirmed'))]"
help="Procurement started late" />
2009-10-22 14:01:58 +00:00
<separator orientation= "vertical" />
2010-02-09 07:34:15 +00:00
<field name= "name" />
2010-03-03 11:26:40 +00:00
<field name= "origin" />
2010-02-09 07:34:15 +00:00
<field name= "product_id" />
<field name= "date_planned" widget= "date" />
<field name= "state" />
2009-11-24 12:13:46 +00:00
</group>
2010-02-16 17:21:39 +00:00
<group expand= "1" string= "Group By" colspan= "4" col= "8" >
<filter string= "Product" icon= "terp-mrp" domain= "[]" context= "{'group_by':'product_id'}" />
<filter string= "Reason" icon= "terp-mrp" domain= "[]" context= "{'group_by':'name'}" />
<filter string= "Scheduled Date" icon= "terp-mrp" domain= "[]" context= "{'group_by':'date_planned'}" />
2010-03-02 12:40:41 +00:00
</group>
2009-11-24 12:13:46 +00:00
</search>
2009-10-22 14:01:58 +00:00
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "mrp_procurement_action" model= "ir.actions.act_window" >
2010-01-11 11:04:21 +00:00
<field name= "name" > Procurement Orders</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.procurement</field>
<field name= "view_type" > form</field>
2008-08-27 23:48:15 +00:00
<field name= "view_id" eval= "False" />
2009-10-22 14:01:58 +00:00
<field name= "search_view_id" ref= "view_mrp_procurement_filter" />
2008-07-01 15:58:58 +00:00
</record>
2010-01-11 07:25:10 +00:00
<menuitem action= "mrp_procurement_action" id= "menu_mrp_procurement_action" parent= "mrp.menu_mrp_manufacturing"
2010-01-11 11:04:21 +00:00
sequence="2" />
2008-10-10 08:59:13 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_procurement_action3" model= "ir.actions.act_window" >
2010-01-12 10:08:25 +00:00
<field name= "name" > Requisitions</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.procurement</field>
<field name= "view_type" > form</field>
2010-02-05 14:45:10 +00:00
<field name= "view_mode" > tree,form</field>
2010-02-09 07:34:15 +00:00
<field name= "search_view_id" ref= "view_mrp_procurement_filter" />
2010-03-03 11:26:40 +00:00
<field name= "domain" > []</field>
<field name= "context" > {}</field>
2008-07-01 15:58:58 +00:00
</record>
2008-10-10 08:59:13 +00:00
2010-01-12 10:08:25 +00:00
<menuitem action= "mrp_procurement_action3" id= "menu_procurement_requisitions" parent= "purchase.menu_procurement_management"
2010-03-03 11:26:40 +00:00
name="Requisitions" sequence="5" />
2010-01-12 10:08:25 +00:00
2008-07-01 15:58:58 +00:00
<record id= "mrp_procurement_action5" model= "ir.actions.act_window" >
2010-01-11 11:04:21 +00:00
<field name= "name" > Procurement Exceptions</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.procurement</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "domain" > [('state','=','exception')]</field>
</record>
2008-10-10 08:59:13 +00:00
2010-03-02 12:40:41 +00:00
<menuitem action= "mrp_procurement_action5" id= "menu_mrp_procurement_exception_action" parent= "mrp.menu_mrp_control"
2010-01-11 11:04:21 +00:00
sequence="1" />
2008-07-01 15:58:58 +00:00
<record id= "mrp_procurement_action4" model= "ir.actions.act_window" >
2010-01-11 11:04:21 +00:00
<field name= "name" > Procurement Exceptions to Fix</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.procurement</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "domain" > [('state','=','exception'), ('message', '< > ', '')]</field>
2009-10-23 10:59:37 +00:00
<field name= "filter" eval= "True" />
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_procurement_action11" model= "ir.actions.act_window" >
2010-01-11 11:04:21 +00:00
<field name= "name" > Temporary Procurement Exceptions</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > mrp.procurement</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "domain" > [('state','=','exception'), ('message', '=', '')]</field>
</record>
2008-10-10 08:59:13 +00:00
2008-07-01 11:15:14 +00:00
<!-- Order Point -->
2008-07-01 15:58:58 +00:00
<record id= "view_warehouse_orderpoint_tree" model= "ir.ui.view" >
<field name= "name" > stock.warehouse.orderpoint.tree</field>
<field name= "model" > stock.warehouse.orderpoint</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Minimum Stock Rules" >
<field name= "name" />
<field name= "warehouse_id" />
<field name= "product_id" />
<field name= "product_uom" />
<field name= "product_min_qty" />
<field name= "product_max_qty" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2010-02-23 16:05:50 +00:00
<record model= "ir.ui.view" id= "warehouse_orderpoint_search" >
<field name= "name" > stock.warehouse.orderpoint.search</field>
<field name= "model" > stock.warehouse.orderpoint</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Minimum Stock Rules Search" >
<field name= "name" select= "1" />
<field name= "warehouse_id" select= "1" widget= "selection" />
<field name= "location_id" select= "1" />
<field name= "company_id" select= "1" widget= "selection" />
<field name= "product_id" select= "1" />
</search>
</field>
</record>
2010-03-03 11:26:40 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_warehouse_orderpoint_form" model= "ir.ui.view" >
<field name= "name" > stock.warehouse.orderpoint.form</field>
<field name= "model" > stock.warehouse.orderpoint</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Minimum Stock Rules" >
2010-02-23 16:05:50 +00:00
<group col= "2" colspan= "2" >
<separator string= "General Information" colspan= "2" />
<field name= "name" />
<field name= "product_id" on_change= "onchange_product_id(product_id)" />
<field name= "product_uom" />
</group>
<group col= "2" colspan= "2" >
<separator string= "Locations" colspan= "2" />
<field name= "warehouse_id" on_change= "onchange_warehouse_id(warehouse_id)" widget= "selection" />
<field name= "location_id" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
</group>
<group col= "2" colspan= "2" >
<separator string= "Quantity Rules" colspan= "2" />
<field name= "product_min_qty" />
<field name= "product_max_qty" />
<field name= "qty_multiple" />
</group>
<group col= "2" colspan= "2" >
<separator string= "Misc" colspan= "2" />
<field name= "procurement_id" readonly= "1" />
<field name= "active" />
</group>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "action_orderpoint_form" model= "ir.actions.act_window" >
<field name= "name" > Minimum Stock Rules</field>
<field name= "res_model" > stock.warehouse.orderpoint</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "view_warehouse_orderpoint_tree" />
2010-02-23 16:05:50 +00:00
<field name= "search_view_id" ref= "warehouse_orderpoint_search" />
2008-06-29 08:26:07 +00:00
</record>
2008-07-01 15:58:58 +00:00
<menuitem action= "action_orderpoint_form" id= "menu_action_orderpoint_form" parent= "menu_mrp_reordering" />
2008-06-30 15:33:15 +00:00
2008-07-01 15:58:58 +00:00
<act_window domain= "[('warehouse_id', '=', active_id)]" id= "act_stock_warehouse_2_stock_warehouse_orderpoint" name= "Minimum Stock Rules" res_model= "stock.warehouse.orderpoint" src_model= "stock.warehouse" />
2008-06-30 15:33:15 +00:00
2008-06-29 08:26:07 +00:00
<!-- add product_uom to context to be the default value when adding new orderpoints -->
2008-11-17 14:49:00 +00:00
<act_window
context="{'product_uom': locals().has_key('uom_id') and uom_id}"
2009-11-23 13:47:57 +00:00
domain="[('product_id', '=', active_id)]"
2008-11-17 14:49:00 +00:00
id="act_product_product_2_stock_warehouse_orderpoint"
name="Minimum Stock Rules"
res_model="stock.warehouse.orderpoint"
src_model="product.product"/>
<act_window
id="action_product_bom_structure"
name="Product BoM Structure"
domain="[('product_id', '=', active_id),('bom_id','=',False)]"
view_type="tree"
view_id="mrp_bom_tree_view"
res_model="mrp.bom"
src_model="product.product"/>
<act_window
domain="[('product_id', '=', active_id),('bom_id','=',False)]"
id="act_product_product_2_mrp_bom"
name="Bill of Materials"
res_model="mrp.bom"
src_model="product.product"/>
2010-03-03 11:26:40 +00:00
2010-03-03 11:43:50 +00:00
<!-- Menu for Resource for MRP -->
<menuitem icon= "terp-mrp" id= "base.menu_mrp_root" name= "Manufacturing" sequence= "3" />
<menuitem id= "menu_pm_resources_mrp" name= "Resources" parent= "base.menu_mrp_root" sequence= "2" />
2010-03-03 14:16:20 +00:00
<menuitem action= "resource.action_resource_resource_tree" id= "menu_view_resource_search_mrp" parent= "menu_pm_resources_mrp" sequence= "1" />
<menuitem action= "resource.action_resource_calendar_form" id= "menu_view_resource_calendar_search_mrp" parent= "menu_pm_resources_mrp" sequence= "1" />
<menuitem action= "resource.action_resource_calendar_leave_tree" id= "menu_view_resource_calendar_leaves_search_mrp" parent= "menu_pm_resources_mrp" sequence= "1" />
2010-03-03 11:43:50 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>