[ADD] theme 8.0
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
Odoo Proprietary License v1.0
|
||||
|
||||
This software and associated files (the "Software") may only be used (executed,
|
||||
modified, executed after modifications) if you have purchased a valid license
|
||||
from the authors, typically via Odoo Apps, or if you have received a written
|
||||
agreement from the authors of the Software (see the COPYRIGHT file).
|
||||
|
||||
You may develop Odoo modules that use the Software as a library (typically
|
||||
by depending on it, importing it and using its resources), but without copying
|
||||
any source code or material from the Software. You may distribute those
|
||||
modules under the license of your choice, provided that this license is
|
||||
compatible with the terms of the Odoo Proprietary License (For example:
|
||||
LGPL, MIT, or proprietary licenses similar to this one).
|
||||
|
||||
It is forbidden to publish, distribute, sublicense, or sell copies of the Software
|
||||
or modified copies of the Software.
|
||||
|
||||
The above copyright notice and this permission notice must be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
'name': 'Theme Beauty eCommerce Plugin',
|
||||
'description': 'Beauty eCommerce Plugin',
|
||||
'category': 'Hidden',
|
||||
'version': '1.0',
|
||||
'author': 'Odoo S.A.',
|
||||
'depends': ['theme_loftspace_sale', 'theme_beauty'],
|
||||
'demo': [
|
||||
'demo/products.xml',
|
||||
],
|
||||
'auto_install': True,
|
||||
}
|
||||
@@ -0,0 +1,218 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user