219 lines
12 KiB
XML
219 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<!-- Delete loftspace categories -->
|
|
<delete id="theme_loftspace_sale.living" model="product.public.category"/>
|
|
<delete id="theme_loftspace_sale.sofa" model="product.public.category"/>
|
|
<delete id="theme_loftspace_sale.armchair" model="product.public.category"/>
|
|
<delete id="theme_loftspace_sale.cabinet" model="product.public.category"/>
|
|
<delete id="theme_loftspace_sale.table" model="product.public.category"/>
|
|
<delete id="theme_loftspace_sale.bedroom" model="product.public.category"/>
|
|
<delete id="theme_loftspace_sale.bed" model="product.public.category"/>
|
|
<delete id="theme_loftspace_sale.accessories" model="product.public.category"/>
|
|
<delete id="theme_loftspace_sale.lamp" model="product.public.category"/>
|
|
<delete id="theme_loftspace_sale.pillow" model="product.public.category"/>
|
|
|
|
<!-- Create new categories -->
|
|
<record id="body_lotion" model="product.public.category">
|
|
<field name="name">Body Lotion</field>
|
|
</record>
|
|
<record id="body_lotion_face" model="product.public.category">
|
|
<field name="parent_id" ref="body_lotion"/>
|
|
<field name="name">Face</field>
|
|
</record>
|
|
<record id="body_lotion_body" model="product.public.category">
|
|
<field name="parent_id" ref="body_lotion"/>
|
|
<field name="name">Body</field>
|
|
</record>
|
|
|
|
<record id="parfumes" model="product.public.category">
|
|
<field name="name">Parfumes</field>
|
|
</record>
|
|
<record id="parfumes_men" model="product.public.category">
|
|
<field name="parent_id" ref="parfumes"/>
|
|
<field name="name">For Men</field>
|
|
</record>
|
|
<record id="parfumes_women" model="product.public.category">
|
|
<field name="parent_id" ref="parfumes"/>
|
|
<field name="name">For Women</field>
|
|
</record>
|
|
|
|
<record id="make_up" model="product.public.category">
|
|
<field name="name">Make Up</field>
|
|
</record>
|
|
<record id="lipstick" model="product.public.category">
|
|
<field name="parent_id" ref="make_up"/>
|
|
<field name="name">Lipstick</field>
|
|
</record>
|
|
|
|
|
|
<!-- Delete loftspace products -->
|
|
<delete id="theme_loftspace_sale.product_1" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_2" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_3" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_4" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_5" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_6" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_7" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_8" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_9" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_10" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_11" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_12" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_13" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_14" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_15" model="product.product"/>
|
|
<delete id="theme_loftspace_sale.product_16" model="product.product"/>
|
|
|
|
<!-- Create new products -->
|
|
<record id="product_1" model="product.product">
|
|
<field name="name">Red Lipstick</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.lipstick')])]"/>
|
|
<field name="list_price">3.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_01.jpg"/>
|
|
<field name="image_variant" type="base64" file="theme_beauty/static/src/img/content/product_img_01.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_2" model="product.product">
|
|
<field name="name">Gold Parfume</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.parfumes_women')])]"/>
|
|
<field name="list_price">2.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_02.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_3" model="product.product">
|
|
<field name="name">Blue Body Lotion</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_body')])]"/>
|
|
<field name="list_price">15.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_03.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_4" model="product.product">
|
|
<field name="name">Pink Body Lotion</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_body')])]"/>
|
|
<field name="list_price">2.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_04.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_5" model="product.product">
|
|
<field name="name">Sun Lotion</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_body')])]"/>
|
|
<field name="list_price">19.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_05.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_6" model="product.product">
|
|
<field name="name">Ocean Parfume</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.parfumes_men')])]"/>
|
|
<field name="list_price">2.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_06.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_7" model="product.product">
|
|
<field name="name">Night Face Cream</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_face')])]"/>
|
|
<field name="list_price">1.5</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_07.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_8" model="product.product">
|
|
<field name="name">Day Face Cream</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_face')])]"/>
|
|
<field name="list_price">9.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_08.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_9" model="product.product">
|
|
<field name="name">Kiwi Body Lotion</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_body')])]"/>
|
|
<field name="list_price">3.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_09.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_10" model="product.product">
|
|
<field name="name">Lavender Body Lotion</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_body')])]"/>
|
|
<field name="list_price">3.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_10.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_11" model="product.product">
|
|
<field name="name">Shower Gel</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_body')])]"/>
|
|
<field name="list_price">9.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_11.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_12" model="product.product">
|
|
<field name="name">Turkquise Parfume</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.parfumes_men')])]"/>
|
|
<field name="list_price">19.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_12.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_13" model="product.product">
|
|
<field name="name">Cream for Lips</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_face')])]"/>
|
|
<field name="list_price">19.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_13.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_14" model="product.product">
|
|
<field name="name">Hand Creme</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.body_lotion_body')])]"/>
|
|
<field name="list_price">14.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_14.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_15" model="product.product">
|
|
<field name="name">Cayenne Parfum</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.parfumes_women')])]"/>
|
|
<field name="list_price">12.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_15.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
<record id="product_16" model="product.product">
|
|
<field name="name">Dream Parfume</field>
|
|
<field name="public_categ_ids" eval="[(6,0,[ref('theme_beauty_sale.parfumes_women')])]"/>
|
|
<field name="list_price">11.0</field>
|
|
<field name="image" type="base64" file="theme_beauty/static/src/img/content/product_img_16.jpg"/>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="website_size_x">1</field>
|
|
<field name="website_size_y">2</field>
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|