Launchpad automatic translations update.
[odoo/odoo.git] / addons / procurement / procurement_view.xml
index 4004122..518a890 100644 (file)
         <menuitem id="menu_stock_procurement" name="Automatic Procurements" parent="stock.menu_stock_configuration" sequence="5"/>
             <menuitem action="action_orderpoint_form" id="menu_stock_order_points" parent="menu_stock_procurement" sequence="10"/>
 
+
+        <record id="product_normal_form_view" model="ir.ui.view">
+            <field name="name">product.normal.form.orderpoint.inherit</field>
+            <field name="model">product.product</field>
+            <field name="type">form</field>
+            <field name="inherit_id" ref="product.product_normal_form_view"/>
+            <field name="arch" type="xml">
+                  <group name="misc" position="after">
+                      <group col="2" colspan="2" attrs="{'invisible':[('type', '=', 'service')]}">
+                          <separator string="Minimum Stock Rules" colspan="2"/>
+                          <field name="orderpoint_ids" context="{'default_product_uom': uom_id}" nolabel="1">
+                              <tree string="Minimum Stock Rule" editable="bottom">
+                                  <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection"/>
+                                  <field name="location_id" groups="base.group_extended"/>
+                                  <field name="product_min_qty"/>
+                                  <field name="product_max_qty"/>
+                                  <field name="product_uom" groups="base.group_extended"/>
+                              </tree>
+                          </field>
+                      </group>
+                  </group>
+            </field>
+        </record>
+
+
     </data>
 </openerp>