[FIX] mrp fix demo data due to previous refactor
authorsebastien beau <sebastien.beau@akretion.com.br>
Wed, 11 Jul 2012 09:43:51 +0000 (11:43 +0200)
committersebastien beau <sebastien.beau@akretion.com.br>
Wed, 11 Jul 2012 09:43:51 +0000 (11:43 +0200)
bzr revid: sebastien.beau@akretion.com.br-20120711094351-nn21w9odo13k14t0

addons/mrp/mrp_demo.xml

index 68fe21e..a008b2a 100644 (file)
         <field name="uom_po_id" ref="product.product_uom_kgm"/>
     </record>
     <record id="orange_supplier_asus" model="product.supplierinfo">
-        <field name="product_id" ref="product_orange"/>
+        <field name="product_template_id" ref="product_orange"/>
         <field name="name" ref="base.res_partner_asus"/>
         <field name="min_qty">1.0</field>
         <field name="product_uom" ref="product.product_uom_kgm"/>
         <field name="uom_po_id" ref="product.product_uom_kgm"/>
     </record>
     <record id="sugar_supplier_desertic" model="product.supplierinfo">
-        <field name="product_id" ref="product_sugar"/>
+        <field name="product_template_id" ref="product_sugar"/>
         <field name="name" ref="base.res_partner_desertic_hispafuentes"/>
         <field name="product_uom" ref="product.product_uom_kgm"/>
         <field name="min_qty">2.0</field>
         <field name="uom_po_id" ref="product_uom_litre"/>
     </record>
     <record id="water_supplier_agrolait" model="product.supplierinfo">
-        <field name="product_id" ref="product_water"/>
+        <field name="product_template_id" ref="product_water"/>
         <field name="name" ref="base.res_partner_agrolait"/>
         <field name="product_uom" ref="product_uom_litre"/>
         <field name="min_qty">2.0</field>
         <field name="uom_po_id" ref="product.product_uom_unit"/>
     </record>
     <record id="cloth_supplier_maxtor" model="product.supplierinfo">
-        <field name="product_id" ref="product_cloth"/>
+        <field name="product_template_id" ref="product_cloth"/>
         <field name="name" ref="base.res_partner_maxtor"/>
         <field name="product_uom" ref="product.product_uom_unit"/>
         <field name="min_qty">300.0</field>
         <field name="uom_po_id" ref="product.product_uom_unit"/>
     </record>
     <record id="buttons_supplier_asus" model="product.supplierinfo">
-        <field name="product_id" ref="product_buttons"/>
+        <field name="product_template_id" ref="product_buttons"/>
         <field name="name" ref="base.res_partner_asus"/>
         <field name="product_uom" ref="product.product_uom_unit"/>
         <field name="min_qty">100.0</field>