<?xml version="1.0"?>
<terp>
<data>

	<menuitem name="Production" icon="terp-mrp" id="menu_mrp_root"/>

	<!--
	Property / Property Group
	-->

	<record model="ir.ui.view" id="mrp_property_group_form_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="Property Groups">
				<separator string="General Information" colspan="4"/>
				<field name="name" select="1" colspan="3"/>
				<field name="description" colspan="3"/>
			</form>
		</field>
	</record>
	<record model="ir.actions.act_window" id="mrp_property_group_action">
		<field name="name">mrp.property.group.form</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>
	<menuitem name="Production/Configuration" groups="admin"/>
	<menuitem name="Production/Configuration/Properties/Property Groups" id="menu_mrp_property_group_action" action="mrp_property_group_action"/>

	<record model="ir.ui.view" id="mrp_property_tree_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"/>
			</tree>
		</field>
	</record>
	<record model="ir.ui.view" id="mrp_property_form_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 string="General Information" colspan="4"/>
				<field name="name" select="1" colspan="3"/>
				<field name="group_id" select="1"/>
				<field name="composition" select="1"/>
				<separator string="Description" colspan="4"/>
				<field name="description" colspan="3"/>
			</form>
		</field>
	</record>
	<record model="ir.actions.act_window" id="mrp_property_action">
		<field name="name">mrp.property.form</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>
	</record>
	<menuitem name="Production/Configuration/Properties/Properties" id="menu_mrp_property_action" action="mrp_property_action"/>

	<!--
	Workcenters
	-->

	<record model="ir.ui.view" id="mrp_workcenter_tree_view">
		<field name="name">mrp.workcenter.tree</field>
		<field name="model">mrp.workcenter</field>
		<field name="type">tree</field>
		<field name="arch" type="xml">
			<tree string="Workcenter">
				<field name="code"/>
				<field name="name"/>
			</tree>
		</field>
	</record>
	<record model="ir.ui.view" id="mrp_workcenter_view">
		<field name="name">mrp.workcenter.form</field>
		<field name="model">mrp.workcenter</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Workcenter">
				<notebook>
				<page string="Workcenter">
					<separator string="General Information" colspan="4"/>
					<field name="name" colspan="3" select="1"/>
					<field name="code" select="1"/>
					<field name="active" select="1"/>
					<field name="type"/>
					<field name="timesheet_id"/>
					<field name="note" colspan="3"/>
					<separator string="Capacity Information" colspan="4"/>
					<field name="capacity_per_cycle"/>
					<newline/>
					<field name="time_cycle"/>
					<field name="time_start"/>
					<field name="time_stop"/>
					<field name="time_efficiency"/>
				</page>
				<page string="Cost 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"/>
				</page>
				</notebook>
			</form>
		</field>
	</record>
	<record model="ir.actions.act_window" id="mrp_workcenter_action">
		<field name="name">mrp.workcenter.form</field>
		<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_view"/>
	</record>
	<menuitem name="Production/Configuration/Workcenters" id="menu_mrp_workcenter_action" action="mrp_workcenter_action"/>

	<!-- 
	Routings
	--> 

	<record model="ir.ui.view" id="mrp_routing_workcenter_tree.view">
		<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">
			<tree string="Routing Workcenters">
				<field name="sequence"/>
				<field name="workcenter_id" select="1"/>
				<field name="cycle_nbr"/>
				<field name="hour_nbr"/>
			</tree>
		</field>
	</record>

	<record model="ir.ui.view" id="mrp_routing_workcenter_form.view">
		<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">
			<form string="Routing Workcenters">
				<separator string="General Information" colspan="4"/>
				<field name="name" select="1" colspan="3"/>
				<field name="sequence" select="1"/>
				<field name="workcenter_id" select="1"/>
				<field name="cycle_nbr"/>
				<field name="hour_nbr"/>
				<field name="note" colspan="3"/>
			</form>
		</field>
	</record>

	<record model="ir.ui.view" id="mrp_routing_form_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 string="General Information" colspan="4"/>
				<field name="name" colspan="3" select="1"/>
				<field name="code" select="1"/>
				<field name="active" select="1"/>
				<field name="location_id"/>
				<field name="note" colspan="3"/>
				<separator string="Workcenter Operations" colspan="4"/>
				<field name="workcenter_lines" widget="one2many_list" colspan="4" nolabel="1"/>
			</form>
		</field>
	</record>
	<record model="ir.ui.view" id="mrp_routing_tree_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"/>
			</tree>
		</field>
	</record>
	<record model="ir.actions.act_window" id="mrp_routing_action">
		<field name="name">mrp.routing.form</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_form_view"/>
	</record>
	<menuitem name="Production/Configuration/Routings" id="menu_mrp_routing_action" action="mrp_routing_action"/>

	<!-- 
	Bill of Materials
	--> 

	<record model="ir.ui.view" id="mrp_bom_form_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">
				<notebook>
					<page string="General Information">
						<separator string="General Information" colspan="4"/>
						<field name="name" select="1"/>
						<field name="code" select="1"/>
						<field name="product_id" select="1" on_change="onchange_product_id(product_id, name)"/>
						<field name="product_uom"/>
						<field name="product_qty"/>
						<field name="routing_id" select="1"/>
						<field name="type"/>

						<field name="bom_lines" colspan="4" nolabel="1" widget="one2many_list"/>
					</page>
					<page string="Revisions">
						<field name="revision_ids" colspan="4" nolabel="1" widget="one2many_list"/>
					</page>
					<page string="Properties">
						<field name="position" select="1" />
						<field name="active" select="1"/>
						<field name="sequence"/>
						<field name="bom_id"/>

						<field name="date_start" select="1"/>
						<field name="date_stop" select="1"/>
						<field name="product_rounding"/>
						<field name="product_efficiency"/>
						<field name="property_ids" colspan="4" nolabel="1"/>
					</page>
				</notebook>
			</form>
		</field>
	</record>
	<record model="ir.ui.view" id="mrp_bom_tree_view">
		<field name="name">mrp.bom.tree</field>
		<field name="model">mrp.bom</field>
		<field name="type">tree</field>
		<field name="field_parent">bom_lines</field>
		<field name="arch" type="xml">
			<tree string="BoM Structure">
				<field name="name"/>
				<field name="code"/>
				<field name="product_id"/>
				<field name="product_qty"/>
				<field name="product_uom"/>
				<field name="date_start"/>
				<field name="date_stop"/>
			</tree>
		</field>
	</record>
	<record model="ir.actions.act_window" id="mrp_bom_form_action">
		<field name="name">mrp.bom.final.form</field>
		<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_form_view"/>
	</record>
	<menuitem name="Production/Configuration/Bill of Materials" id="menu_mrp_bom_form_action" action="mrp_bom_form_action"/>

	<record model="ir.actions.act_window" id="mrp_bom_tree_action">
		<field name="name">mrp.bom.final.tree</field>
		<field name="type">ir.actions.act_window</field>
		<field name="res_model">mrp.bom</field>
		<field name="view_type">tree</field>
		<field name="domain">[('bom_id','=',False)]</field>
		<field name="view_id" ref="mrp_bom_tree_view"/>
	</record>
	<menuitem name="Production/Configuration/Bill of Materials/BoMs Structure" action="mrp_bom_tree_action" id="menu_bom_tree"/>

	<record model="ir.actions.act_window" id="mrp_bom_form_action2">
		<field name="name">mrp.bom.form</field>
		<field name="type">ir.actions.act_window</field>
		<field name="res_model">mrp.bom</field>
		<field name="view_type">form</field>
		<field name="view_id" ref="mrp_bom_form_view"/>
	</record>
	<menuitem name="Production/Configuration/Bill of Materials/BoMs Components" id="menu_mrp_bom_form_action2" action="mrp_bom_form_action2"/>


	<record model="ir.actions.act_window" id="action2">
		<field name="name">Bill of Materials Architecture</field>
		<field name="type">ir.actions.act_window</field>
		<field name="res_model">mrp.bom</field>
		<field name="domain">[('id','in',active_ids)]</field>
		<field name="view_type">tree</field>
		<field name="view_id" ref="mrp_bom_tree_view"/>
	</record>
	<record model="ir.values" id="ir_bom_architecture_open">
		<field name="key2" eval="'client_action_multi'"/>
		<field name="model" eval="'mrp.bom'"/>
		<field name="name">Bill of Material Architecture</field>
		<field name="value" eval="'ir.actions.act_window,'+str(action2)"/>
		<field name="object" eval="True"/>
	</record>

	<record model="ir.ui.view" id="mrp_bom_revision_tree" >
		<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 name="name" colspan="4" />
			</tree>
		</field>
	</record>
	<record model="ir.ui.view" id="mrp_bom_revision_form" >
		<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 name="name" colspan="4" />
				<field name="indice" colspan="1" />
				<field name="date" colspan="1" />
				<field name="author_id" readonly="1" />
				<field name="description" colspan="4"/>
			</form>
		</field>
	</record>

	<!-- 
	Productions
	--> 

	<record model="ir.ui.view" id="mrp_production_tree_view">
		<field name="name">mrp.production.tree</field>
		<field name="model">mrp.production</field>
		<field name="type">tree</field>
		<field name="arch" type="xml">
			<tree string="Production Orders" colors="red:date_planned&lt;current_date and state not in ('done','cancel')">
				<field name="name"/>
				<field name="priority"/>

				<field name="product_id"/>
				<field name="product_qty"/>
				<field name="date_planned"/>
				<field name="date_start"/>
				<field name="date_finnished"/>
				<field name="state"/>
			</tree>
		</field>
	</record>

	<record model="ir.ui.view" id="mrp_production_form_view">
		<field name="name">mrp.production.form</field>
		<field name="model">mrp.production</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Production Orders">
				<notebook>
				<page string="General">
					<field name="name" select="1" colspan="3"/>
					<field name="date_planned" select="1"/>
					<field name="priority"/>

					<field name="product_id" on_change="product_id_change(product_id)" select="1"/>
					<field name="product_qty"/>
					<field name="product_uom"/>
					<field name="bom_id" select="1"/>

					<newline/>
					<field name="location_src_id" select="1"/>
					<field name="location_dest_id"/>

					<field name="move_lines" colspan="4" nolabel="1" widget="one2many_list"/>
					<field name="state" select="1"/>
					<group colspan="2" col="7">
						<button name="action_compute" string="Compute Data" states="draft" type="object"/>
						<button name="button_confirm" string="Confirm Production" states="draft"/>
						<button name="button_produce" string="Start Production" states="ready"/>
						<button name="button_produce_done" string="Production done" states="in_production"/>
						<button name="force_production" string="Force Reservation" states="confirmed,picking_except" type="object" />
						<button name="button_cancel" string="Cancel" states="draft,ready,confirmed,in_production,picking_except"/>
						<button name="button_recreate" string="Recreate Picking" states="picking_except"/>
					</group>
				</page><page string="Planned Materials">
					<field name="product_lines" colspan="4" nolabel="1" widget="one2many_list"/>
				</page><page string="Workcenters">
					<field name="workcenter_lines" colspan="4" nolabel="1" widget="one2many_list"/>
				</page><page string="Others Info">
					<field name="date_start" select="1"/>
					<field name="date_finnished"/>
					<field name="picking_id"/>
					<field name="origin"/>
					<field name="move_prod_id"/>
					<newline />
					<field name="move_created_ids" nolabel="1" colspan="4"/>
				</page>
				</notebook>
			</form>
		</field>
	</record>
	<record model="ir.actions.act_window" id="mrp_production_action">
		<field name="name">mrp.production.form</field>
		<field name="type">ir.actions.act_window</field>
		<field name="res_model">mrp.production</field>
		<field name="view_type">form</field>
		<field name="view_id" ref="mrp_production_form_view"/>
	</record>
	<menuitem name="Production/Production Orders" id="menu_mrp_production_action" action="mrp_production_action"/>
	<record model="ir.actions.act_window" id="mrp_production_action2">
		<field name="name">mrp.production.form</field>
		<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">tree,form</field>
		<field name="domain">[('state','=','ready')]</field>
	</record>
	<menuitem name="Production/Production Orders/Production Orders to start" action="mrp_production_action2" id="menu_production_orders_start"/>
	<record model="ir.actions.act_window" id="mrp_production_action3">
		<field name="name">mrp.production.form</field>
		<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">tree,form</field>
		<field name="domain">[('state','=','in_production')]</field>
	</record>
	<menuitem name="Production/Production Orders/Production Orders in progress" id="menu_mrp_production_action3" action="mrp_production_action3"/>
	<record model="ir.actions.act_window" id="mrp_production_action4">
		<field name="name">mrp.production.confirmed.form</field>
		<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">tree,form</field>
		<field name="domain">[('state','=','confirmed')]</field>
	</record>
	<menuitem name="Production/Production Orders/Production Orders waiting Goods" action="mrp_production_action4" id="menu_production_orders_waiting4"/>

	<record model="ir.ui.view" id="mrp_production_workcenter_form.view">
		<field name="name">mrp.production.workcenter.line.form</field>
		<field name="model">mrp.production.workcenter.line</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Production Workcenters">
				<field name="name" colspan="3" select="1"/>
				<field name="workcenter_id" select="1" colspan="3"/>
				<field name="sequence"/>
				<field name="cycle"/>
				<field name="hour"/>
			</form>
		</field>
	</record>
	<record model="ir.ui.view" id="mrp_production_workcenter_tree.view">
		<field name="name">mrp.production.workcenter.line.tree</field>
		<field name="model">mrp.production.workcenter.line</field>
		<field name="type">tree</field>
		<field name="arch" type="xml">
			<tree string="Production Workcenters">
				<field name="sequence"/>
				<field name="name"/>
				<field name="workcenter_id"/>
				<field name="cycle"/>
				<field name="hour"/>
			</tree>
		</field>
	</record>

	<record model="ir.ui.view" id="mrp_production_lot_form.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 name="move_id" colspan="3" on_change="onchange_lot_line_id(lot_id)"/>
				<field name="name"/>
				<field name="product_id"/>
				<field name="product_uom"/>
				<field name="product_qty"/>
				<field name="tracking_id"/>
			</form>
		</field>
	</record>
	<record model="ir.ui.view" id="mrp_production_lot_tree.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_uom"/>
				<field name="product_qty"/>
				<field name="tracking_id"/>
			</tree>
		</field>
	</record>



	<record model="ir.ui.view" id="mrp_production_product_form.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">
			<form string="Planned Products">
				<field name="name"/>
				<field name="product_id"/>
				<field name="product_uom"/>
				<field name="product_qty"/>
			</form>
		</field>
	</record>
	<record model="ir.ui.view" id="mrp_production_product_tree.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">
			<tree string="Planned Products">
				<field name="product_id"/>
				<field name="product_uom"/>
				<field name="product_qty"/>
			</tree>
		</field>
	</record>

	<!--
	Procurement
	-->

	<record model="ir.ui.view" id="mrp_procurement_tree_view">
		<field name="name">mrp.procurement.tree</field>
		<field name="model">mrp.procurement</field>
		<field name="type">tree</field>
		<field name="arch" type="xml">
			<tree string="Procurement Lines">
				<field name="name"/>
				<field name="product_id"/>
				<field name="product_qty"/>
				<field name="product_uom" string="UOM"/>
				<field name="date_planned"/>
				<field name="procure_method"/>
				<field name="state"/>
				<field name="message"/>
			</tree>
		</field>
	</record>
	<record model="ir.ui.view" id="mrp_procurement_form_view">
		<field name="name">mrp.procurement.form</field>
		<field name="model">mrp.procurement</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Procurement">
				<separator string="General Information" colspan="4"/>
				<field name="name" colspan="3" select="1"/>
				<field name="priority"/>
				<field name="date_planned" select="1"/>
				<field name="procure_method" select="1"/>
				<field name="date_close" select="1"/>
				<newline/>
				<field name="product_qty"/>
				<field name="product_uom"/>
				<field name="product_id" select="1"/>
				<field name="location_id" select="1"/>
				<newline/>
				<field name="origin"/>
				<field name="move_id"/>
				<newline/>
				<field name="message" colspan="3"/>
				<separator string="Properties" colspan="4"/>
				<field name="property_ids" colspan="3"/>
				<separator string="Document State" colspan="4"/>
				<field name="state" readonly="1"/>
				<group col="5" colspan="2">
					<button string="Confirm" name="button_confirm" states="draft"/>
					<button string="Retry" name="button_restart" states="exception"/>
					<button string="Cancel" name="button_cancel" states="exception"/>
					<button string="Run Procurement" name="button_check" states="confirmed"/>
					<button string="Cancel" name="button_cancel" states="draft,running"/>
				</group>
			</form>
		</field>
	</record>
	<record model="ir.actions.act_window" id="mrp_procurement_action">
		<field name="name">mrp.procurement.form</field>
		<field name="type">ir.actions.act_window</field>
		<field name="res_model">mrp.procurement</field>
		<field name="view_type">form</field>
		<field name="view_id" ref="mrp_procurement_form_view"/>
	</record>
	<menuitem name="Production/Procurement Orders" id="menu_mrp_procurement_action" action="mrp_procurement_action"/>

	<record model="ir.actions.act_window" id="mrp_procurement_action2">
		<field name="name">mrp.procurement.form</field>
		<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','=','draft')]</field>
	</record>
	<menuitem name="Production/Procurement Orders/Draft Procurements" id="menu_mrp_procurement_action2" action="mrp_procurement_action2"/>
	<record model="ir.actions.act_window" id="mrp_procurement_action3">
		<field name="name">mrp.procurement.form</field>
		<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','=','confirmed')]</field>
	</record>
	<menuitem name="Production/Procurement Orders/Unschedulled Procurements" id="menu_mrp_procurement_action3" action="mrp_procurement_action3"/>
	<record model="ir.actions.act_window" id="mrp_procurement_action4">
		<field name="name">mrp.procurement.form</field>
		<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', '&lt;&gt;', '')]</field>
	</record>
	<menuitem name="Production/Procurement Orders/All exceptions/Exceptions to fix" id="menu_mrp_procurement_action4" action="mrp_procurement_action4"/>
	<record model="ir.actions.act_window" id="mrp_procurement_action5">
		<field name="name">mrp.procurement.form</field>
		<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>
	<menuitem name="Production/Procurement Orders/All exceptions" id="menu_mrp_procurement_action5" action="mrp_procurement_action5"/>

	=============================
	Order Point
	=============================
	<record model="ir.ui.view" id="view_warehouse_orderpoint_tree">
		<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="Orderpoint rules">
				<field name="warehouse_id"/>
				<field name="product_id"/>
				<field name="product_uom"/>
				<field name="product_min_qty"/>
				<field name="product_max_qty"/>
<!--
				<field name="logic"/>
-->
			</tree>
		</field>
	</record>
	<record model="ir.ui.view" id="view_warehouse_orderpoint_form">
		<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="Orderpoint rule">
				<field name="name" select="1"/>
				<field name="active" select="1"/>
				<field name="warehouse_id" select="1"/>
<!--
				<field name="logic"/>
-->
				<field name="product_id" on_change="onchange_product_id(product_id)" select="1"/>
				<field name="product_uom"/>
				<field name="product_min_qty"/>
				<field name="product_max_qty"/>
				<field name="qty_multiple"/>
				<field name="procurement_id" readonly="1"/>
			</form>
		</field>
	</record>
	<record model="ir.actions.act_window" id="action_orderpoint_form">
		<field name="name">stock.warehouse.orderpoint</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_form"/>
	</record>
	<menuitem name="Inventory Control/Reordering Policy" sequence="4"/>
	<menuitem name="Inventory Control/Reordering Policy/Order Point" id="menu_action_orderpoint_form" action="action_orderpoint_form"/>


</data>
</terp>
