[IMP] point_of_sale: new product miscellaneous
authorRashmin Lumbhani <rlu@openerp.com>
Thu, 11 Sep 2014 09:12:40 +0000 (14:42 +0530)
committerRichard Mathot <rim@openerp.com>
Tue, 16 Sep 2014 08:21:00 +0000 (10:21 +0200)
addons/point_of_sale/point_of_sale_data.xml
addons/point_of_sale/static/img/product_product_49-image.jpg [new file with mode: 0644]
addons/product/product_data.xml
addons/product/static/img/product_product_49-image.jpg [deleted file]

index 3f8016f..1013c3c 100644 (file)
             <field name="body"><![CDATA[<p>Record sale orders, register payments, compute change to return, create invoices, and manage refunds through a specific web touch-screen interface.</p>
 <p>If you install the PoS proxy you will be able to interface Odoo with retail hardware: barcode scanners, printers, cash registers, weighing machines, credit card payment terminals.</p>]]></field>
         </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.product_uom_unit"/>
+            <field name="uom_po_id" ref="product.product_uom_unit"/>
+            <field name="default_code">MISC</field>
+            <field name="image" type="base64" file="point_of_sale/static/img/product_product_49-image.jpg"/>
+        </record>
     </data>
 </openerp>
 
diff --git a/addons/point_of_sale/static/img/product_product_49-image.jpg b/addons/point_of_sale/static/img/product_product_49-image.jpg
new file mode 100644 (file)
index 0000000..5aa7c32
Binary files /dev/null and b/addons/point_of_sale/static/img/product_product_49-image.jpg differ
index cfb5f9a..404c093 100644 (file)
@@ -256,15 +256,5 @@ parameter) will see those record just disappear.
             <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
deleted file mode 100644 (file)
index e9b3eb1..0000000
Binary files a/addons/product/static/img/product_product_49-image.jpg and /dev/null differ