Permalink
Browse files

[IMP] product,*: use new product image field in demo data

* = hr_expense, mrp, point_of_sale, pos_restaurant, sale, website_sale_digital

Following previous commit, the recommended image field is now `image_original`
instead of `image`.

task-34045
PR: #30656
  • Loading branch information...
seb-odoo committed Feb 8, 2019
1 parent acdd3ed commit 9a496a31cbbac1a6721cc9c2798c2e4cb9cc58a7
@@ -31,7 +31,7 @@
<field name="uom_po_id" ref="uom.product_uom_km"/>
<field name="categ_id" ref="product.cat_expense"/>
<field name="can_be_expensed" eval="True" />
<field name="image" type="base64" file="hr_expense/static/img/car_travel-image.jpg"/>
<field name="image_original" type="base64" file="hr_expense/static/img/car_travel-image.jpg"/>
</record>

<record id="air_ticket" model="product.product">
@@ -42,7 +42,7 @@
<field name="default_code">EXP_AF</field>
<field name="categ_id" ref="product.cat_expense"/>
<field name="can_be_expensed" eval="True" />
<field name="image" type="base64" file="hr_expense/static/img/air_ticket-image.jpg"/>
<field name="image_original" type="base64" file="hr_expense/static/img/air_ticket-image.jpg"/>
</record>

<record id="product.expense_hotel" model="product.product">
@@ -175,7 +175,7 @@
<field name="description">Solid wood table.</field>
<field name="default_code">FURN_9666</field>
<field name="tracking">serial</field>
<field name="image" type="base64" file="mrp/static/img/table.png"/>
<field name="image_original" type="base64" file="mrp/static/img/table.png"/>
</record>
<record id="product_product_computer_desk_head" model="product.product">
<field name="name">Table Top</field>
@@ -189,7 +189,7 @@
<field name="description">Solid wood is a durable natural material.</field>
<field name="default_code">FURN_8522</field>
<field name="tracking">serial</field>
<field name="image" type="base64" file="mrp/static/img/table_top.png"/>
<field name="image_original" type="base64" file="mrp/static/img/table_top.png"/>
</record>
<record id="product_product_computer_desk_leg" model="product.product">
<field name="name">Table Leg</field>
@@ -203,7 +203,7 @@
<field name="description">18″ x 2½″ Square Leg</field>
<field name="default_code">FURN_2333</field>
<field name="tracking">lot</field>
<field name="image" type="base64" file="mrp/static/img/table_leg.png"/>
<field name="image_original" type="base64" file="mrp/static/img/table_leg.png"/>
</record>
<record id="product_product_computer_desk_bolt" model="product.product">
<field name="name">Bolt</field>
@@ -216,7 +216,7 @@
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="description">Stainless steel screw full (dia - 5mm, Length - 10mm)</field>
<field name="default_code">CONS_89957</field>
<field name="image" type="base64" file="mrp/static/img/product_product_computer_desk_bolt.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_computer_desk_bolt.png"/>
</record>
<record id="product_product_computer_desk_screw" model="product.product">
<field name="name">Screw</field>
@@ -229,7 +229,7 @@
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="description">Stainless steel screw</field>
<field name="default_code">CONS_25630</field>
<field name="image" type="base64" file="mrp/static/img/product_product_computer_desk_screw.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_computer_desk_screw.png"/>
</record>

<record id="product_product_wood_ply" model="product.product">
@@ -243,7 +243,7 @@
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="description">Layers that are stick together to assemble wood panels.</field>
<field name="default_code">FURN_7111</field>
<field name="image" type="base64" file="mrp/static/img/product_product_wood_ply.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_wood_ply.png"/>
</record>
<record id="product_product_wood_wear" model="product.product">
<field name="name">Wear Layer</field>
@@ -256,7 +256,7 @@
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="description">Top layer of a wood panel.</field>
<field name="default_code">FURN_8111</field>
<field name="image" type="base64" file="mrp/static/img/product_product_wood_wear.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_wood_wear.png"/>
</record>
<record id="product_product_ply_veneer" model="product.product">
<field name="name">Ply Veneer</field>
@@ -268,7 +268,7 @@
<field name="uom_id" ref="uom.product_uom_unit"/>
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="default_code">FURN_9111</field>
<field name="image" type="base64" file="mrp/static/img/product_product_ply_veneer.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_ply_veneer.png"/>
</record>

<record id="product_product_wood_panel" model="product.product">
@@ -281,7 +281,7 @@
<field name="uom_id" ref="uom.product_uom_unit"/>
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="default_code">FURN_7023</field>
<field name="image" type="base64" file="mrp/static/img/product_product_wood_panel.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_wood_panel.png"/>
</record>
<record id="product_product_plastic_laminate" model="product.product">
<field name="name">Plastic Laminate</field>
@@ -293,7 +293,7 @@
<field name="uom_id" ref="uom.product_uom_unit"/>
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="default_code">FURN_8621</field>
<field name="image" type="base64" file="mrp/static/img/product_product_plastic_laminate.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_plastic_laminate.png"/>
</record>

<record id="product_product_computer_desk_product_template" model="product.template">
@@ -422,7 +422,7 @@
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="description">Table kit</field>
<field name="default_code">FURN_78236</field>
<field name="image" type="base64" file="mrp/static/img/product_product_table_kit.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_table_kit.png"/>
</record>

<record id="product_product_table_kit_product_template" model="product.template">
@@ -466,7 +466,7 @@
<field name="description">Drawer on casters for great usability.</field>
<field name="default_code">FURN_2100</field>
<field name="barcode">601647855646</field>
<field name="image" type="base64" file="mrp/static/img/product_product_drawer_black.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_drawer_black.png"/>
</record>

<record id="product_product_drawer_case" model="product.product">
@@ -481,7 +481,7 @@
<field name="uom_po_id" ref="uom.product_uom_unit"/>
<field name="default_code">FURN_5623</field>
<field name="barcode">601647855647</field>
<field name="image" type="base64" file="mrp/static/img/product_product_drawer_case_black.png"/>
<field name="image_original" type="base64" file="mrp/static/img/product_product_drawer_case_black.png"/>
</record>

<record id="product.product_product_27" model="product.product">
@@ -54,7 +54,7 @@
<field name="pos_categ_id" ref="pos_category_miscellaneous"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/wall_shelf_unit.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/wall_shelf_unit.png"/>
</record>
<record id="small_shelf" model="product.product">
<field name="available_in_pos">True</field>
@@ -69,7 +69,7 @@
<field name="to_weight">True</field>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/small_shelf.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/small_shelf.png"/>
</record>

<record id="letter_tray" model="product.product">
@@ -84,7 +84,7 @@
<field name="pos_categ_id" ref="pos_category_miscellaneous"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/letter_tray.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/letter_tray.png"/>
</record>
<record id="desk_organizer" model="product.product">
<field name="available_in_pos">True</field>
@@ -99,7 +99,7 @@
<field name="pos_categ_id" ref="pos_category_miscellaneous"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/desk_organizer.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/desk_organizer.png"/>
<field name="taxes_id" eval='[(5,)]'/> <!-- no taxes -->
</record>

@@ -116,7 +116,7 @@
<field name="pos_categ_id" ref="pos_category_miscellaneous"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/magnetic_board.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/magnetic_board.png"/>
</record>
<record id="monitor_stand" model="product.product">
<field name="available_in_pos">True</field>
@@ -130,7 +130,7 @@
<field name="pos_categ_id" ref="pos_category_miscellaneous"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/monitor_stand.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/monitor_stand.png"/>
</record>
<record id="desk_pad" model="product.product">
<field name="available_in_pos">True</field>
@@ -144,7 +144,7 @@
<field name="pos_categ_id" ref="pos_category_miscellaneous"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/desk_pad.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/desk_pad.png"/>
</record>

<record id="whiteboard" model="product.product">
@@ -157,7 +157,7 @@
<field name="categ_id" ref="product.product_category_5"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/whiteboard.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/whiteboard.png"/>
</record>

<record id="led_lamp" model="product.product">
@@ -172,7 +172,7 @@
<field name="pos_categ_id" ref="pos_category_miscellaneous"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/led_lamp.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/led_lamp.png"/>
</record>

<record id="newspaper_rack" model="product.product">
@@ -188,7 +188,7 @@
<field name="pos_categ_id" ref="pos_category_miscellaneous"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/newspaper_stand.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/newspaper_stand.png"/>
</record>

<record id="whiteboard_pen" model="product.product">
@@ -202,7 +202,7 @@
<field name="pos_categ_id" ref="pos_category_miscellaneous"/>
<field name="uom_id" ref="uom.product_uom_kgm" />
<field name="uom_po_id" ref="uom.product_uom_kgm" />
<field name="image" type="base64" file="point_of_sale/static/img/whiteboard_pen.png"/>
<field name="image_original" type="base64" file="point_of_sale/static/img/whiteboard_pen.png"/>
</record>

<record id="product.product_product_1" model="product.product">
Oops, something went wrong.

0 comments on commit 9a496a3

Please sign in to comment.