[IMP] [DATA] product: added default product.product data (Miscellaneous), consumable...
authorRashmin Lumbhani <rlu@openerp.com>
Wed, 20 Aug 2014 10:12:45 +0000 (15:42 +0530)
committerThibault Delavallée <tde@openerp.com>
Tue, 2 Sep 2014 07:48:36 +0000 (09:48 +0200)
addons/product/product_data.xml
addons/product/static/img/product_product_49-image.jpg [new file with mode: 0644]

index 54e6fac..cfb5f9a 100644 (file)
@@ -255,5 +255,16 @@ parameter) will see those record just disappear.
             <field name="type">service</field>
             <field name="sale_ok" eval="False"/>
         </record>
+
+        <record id="product_product_consumable" model="product.product">
+            <field name="name">Miscellaneous</field>
+            <field name="standard_price">13.0</field>
+            <field name="list_price">18.0</field>
+            <field name="type">consu</field>
+            <field name="uom_id" ref="product_uom_unit"/>
+            <field name="uom_po_id" ref="product_uom_unit"/>
+            <field name="default_code">MISC</field>
+            <field name="image" type="base64" file="product/static/img/product_product_49-image.jpg"/>
+        </record>
     </data>
 </openerp>
diff --git a/addons/product/static/img/product_product_49-image.jpg b/addons/product/static/img/product_product_49-image.jpg
new file mode 100644 (file)
index 0000000..e9b3eb1
Binary files /dev/null and b/addons/product/static/img/product_product_49-image.jpg differ