[ADD] theme saas-15

This commit is contained in:
Design
2021-05-12 08:31:54 +02:00
committed by Jeremy Kersten
commit 1680be7f69
3871 changed files with 154991 additions and 0 deletions
+27
View File
@@ -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.
View File
+17
View File
@@ -0,0 +1,17 @@
{
'name': 'Theme Anelusia eCommerce Plugin',
'description': 'Anelusia eCommerce Plugin',
'category': 'Hidden',
'sequence': 181,
'version': '1.0',
'author': 'Odoo S.A.',
'depends': ['theme_anelusia', 'website_sale'],
'data': [
'views/theme.xml',
'views/layout.xml',
],
'demo': [
'demo/products.xml',
],
'auto_install': True,
}
+291
View File
@@ -0,0 +1,291 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<delete id="website_sale.sub_computers" model="product.public.category"/>
<delete id="website_sale.Components" model="product.public.category"/>
<delete id="website_sale.devices" model="product.public.category"/>
<delete id="website_sale.laptops" model="product.public.category"/>
<delete id="website_sale.network" model="product.public.category"/>
<delete id="website_sale.Computer_all_in_one" model="product.public.category"/>
<delete id="website_sale.External_Hard_Drive" model="product.public.category"/>
<delete id="website_sale.Headset" model="product.public.category"/>
<delete id="website_sale.Keyboard_Mouse" model="product.public.category"/>
<delete id="website_sale.Pen_Drive" model="product.public.category"/>
<delete id="website_sale.printer" model="product.public.category"/>
<delete id="website_sale.Screen" model="product.public.category"/>
<delete id="website_sale.server" model="product.public.category"/>
<delete id="website_sale.services" model="product.public.category"/>
<delete id="website_sale.Software" model="product.public.category"/>
<delete id="website_sale.Speakers" model="product.public.category"/>
<!-- Create new categories -->
<record id="man" model="product.public.category">
<field name="name">Man</field>
</record>
<record id="shoes" model="product.public.category">
<field name="parent_id" ref="man"/>
<field name="name">Shoes</field>
</record>
<record id="tshirt" model="product.public.category">
<field name="parent_id" ref="man"/>
<field name="name">T-Shirt</field>
</record>
<record id="shirt" model="product.public.category">
<field name="parent_id" ref="man"/>
<field name="name">Shirt</field>
</record>
<record id="jumper" model="product.public.category">
<field name="parent_id" ref="man"/>
<field name="name">Jumper</field>
</record>
<record id="woman" model="product.public.category">
<field name="name">Woman</field>
</record>
<record id="jeans" model="product.public.category">
<field name="parent_id" ref="woman"/>
<field name="name">Jeans</field>
</record>
<record id="sleeveless_dress" model="product.public.category">
<field name="parent_id" ref="woman"/>
<field name="name">Sleeveless Dress</field>
</record>
<record id="sleeveless_top" model="product.public.category">
<field name="parent_id" ref="woman"/>
<field name="name">Sleeveless Top</field>
</record>
<record id="skirt" model="product.public.category">
<field name="parent_id" ref="woman"/>
<field name="name">Skirt</field>
</record>
<record id="product.anelusia_product_1" model="product.product">
<field name="name">Leather Shoes</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.shoes')])]"/>
<field name="standard_price">99.0</field>
<field name="list_price">99.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_01.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_2" model="product.product">
<field name="name">Converse Shoes</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.shoes')])]"/>
<field name="standard_price">139.0</field>
<field name="list_price">139.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_02.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_3" model="product.product">
<field name="name">Jeans</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.jeans')])]"/>
<field name="standard_price">29.0</field>
<field name="list_price">29.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_03.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_4" model="product.product">
<field name="name">Jeans</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.jeans')])]"/>
<field name="standard_price">29.0</field>
<field name="list_price">29.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_04.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_5" model="product.product">
<field name="name">Pink Shirt</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.shirt')])]"/>
<field name="standard_price">29.0</field>
<field name="list_price">29.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_05.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_6" model="product.product">
<field name="name">Sleeveless Top</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.sleeveless_top')])]"/>
<field name="standard_price">69.0</field>
<field name="list_price">69.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_06.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_7" model="product.product">
<field name="name">T-Shirt</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.tshirt')])]"/>
<field name="standard_price">9.0</field>
<field name="list_price">9.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_07.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_8" model="product.product">
<field name="name">T-Shirt</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.tshirt')])]"/>
<field name="standard_price">19.0</field>
<field name="list_price">19.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_08.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_9" model="product.product">
<field name="name">T-Shirt</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.tshirt')])]"/>
<field name="standard_price">19.0</field>
<field name="list_price">19.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_09.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_10" model="product.product">
<field name="name">Sleeveless Dress</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.sleeveless_dress')])]"/>
<field name="standard_price">129.0</field>
<field name="list_price">129.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_10.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_11" model="product.product">
<field name="name">Sleeveless Dress</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.sleeveless_dress')])]"/>
<field name="standard_price">149.0</field>
<field name="list_price">149.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_11.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_12" model="product.product">
<field name="name">Skirt</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.skirt')])]"/>
<field name="standard_price">39.0</field>
<field name="list_price">39.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_12.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_13" model="product.product">
<field name="name">Skirt</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.skirt')])]"/>
<field name="standard_price">29.0</field>
<field name="list_price">29.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_13.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_14" model="product.product">
<field name="name">Skirt</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.skirt')])]"/>
<field name="standard_price">19.0</field>
<field name="list_price">19.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_14.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_15" model="product.product">
<field name="name">Jumper</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.jumper')])]"/>
<field name="standard_price">49.0</field>
<field name="list_price">49.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_15.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
<record id="product.anelusia_product_16" model="product.product">
<field name="name">Jumper</field>
<field name="website_published">True</field>
<field name="website_sequence">99</field>
<field name="website_size_x">1</field>
<field name="website_size_y">2</field>
<field name="public_categ_ids" eval="[(6,0,[ref('theme_anelusia_sale.jumper')])]"/>
<field name="standard_price">59.0</field>
<field name="list_price">59.0</field>
<field name="type">consu</field>
<field name="image" type="base64" file="theme_anelusia/static/src/img/content/product_img_16.jpg"/>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
</record>
</data>
</openerp>
+110
View File
@@ -0,0 +1,110 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * theme_anelusia_sale
#
# Translators:
# Ermin Trevisan <trevi@twanda.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-24 11:31+0000\n"
"PO-Revision-Date: 2017-03-24 11:31+0000\n"
"Last-Translator: Ermin Trevisan <trevi@twanda.com>, 2017\n"
"Language-Team: German (https://www.transifex.com/odoo/teams/41243/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid ""
"<i class=\"fa fa-shopping-cart\"/>\n"
" Add to Cart"
msgstr ""
"<i class=\"fa fa-shopping-cart\"/>\n"
"In den Einkaufskorb"
#. module: theme_anelusia_sale
#. openerp-web
#: code:addons/theme_anelusia_sale/static/src/js/website_sale.test.js:12
#, python-format
msgid "Click on Menu button"
msgstr "Menü-Button anklicken"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jeans
msgid "Jeans"
msgstr "Jeans"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jumper
msgid "Jumper"
msgstr "Jumper"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.man
msgid "Man"
msgstr "Männer"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid "Product Name"
msgstr "Produktname"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_categories
msgid "Product categories"
msgstr "Produktkategorie"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_filters
msgid "Product filters"
msgstr "Produktfilter"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "Search..."
msgstr "Suchen..."
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shirt
msgid "Shirt"
msgstr "Hemd"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shoes
msgid "Shoes"
msgstr "Schuhe"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.skirt
msgid "Skirt"
msgstr "Rock"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_dress
msgid "Sleeveless Dress"
msgstr "Ärmelloses Kleid"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_top
msgid "Sleeveless Top"
msgstr "Ärmelloses Top"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.tshirt
msgid "T-Shirt"
msgstr "T-Shirt"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.woman
msgid "Woman"
msgstr "Frauen"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "pagination form-inline col-md-12"
msgstr "pagination form-inline col-md-12"
+109
View File
@@ -0,0 +1,109 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * theme_anelusia_sale
#
# Translators:
# Martin Trigaux, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-24 11:31+0000\n"
"PO-Revision-Date: 2017-03-24 13:38+0000\n"
"Last-Translator: Martin Trigaux, 2019\n"
"Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid ""
"<i class=\"fa fa-shopping-cart\"/>\n"
" Add to Cart"
msgstr ""
#. module: theme_anelusia_sale
#. openerp-web
#: code:addons/theme_anelusia_sale/static/src/js/website_sale.test.js:12
#, python-format
msgid "Click on Menu button"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jeans
msgid "Jeans"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jumper
msgid "Jumper"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.man
msgid "Man"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid "Product Name"
msgstr "Nombre del producto"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_categories
msgid "Product categories"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_filters
msgid "Product filters"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "Search..."
msgstr "Buscar…"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shirt
msgid "Shirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shoes
msgid "Shoes"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.skirt
msgid "Skirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_dress
msgid "Sleeveless Dress"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_top
msgid "Sleeveless Top"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.tshirt
msgid "T-Shirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.woman
msgid "Woman"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "pagination form-inline col-md-12"
msgstr ""
+109
View File
@@ -0,0 +1,109 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * theme_anelusia_sale
#
# Translators:
# Martin Trigaux, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-24 11:31+0000\n"
"PO-Revision-Date: 2017-03-24 13:38+0000\n"
"Last-Translator: Martin Trigaux, 2019\n"
"Language-Team: French (https://www.transifex.com/odoo/teams/41243/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid ""
"<i class=\"fa fa-shopping-cart\"/>\n"
" Add to Cart"
msgstr ""
#. module: theme_anelusia_sale
#. openerp-web
#: code:addons/theme_anelusia_sale/static/src/js/website_sale.test.js:12
#, python-format
msgid "Click on Menu button"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jeans
msgid "Jeans"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jumper
msgid "Jumper"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.man
msgid "Man"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid "Product Name"
msgstr "Nom de l'article"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_categories
msgid "Product categories"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_filters
msgid "Product filters"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "Search..."
msgstr "Recherche…"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shirt
msgid "Shirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shoes
msgid "Shoes"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.skirt
msgid "Skirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_dress
msgid "Sleeveless Dress"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_top
msgid "Sleeveless Top"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.tshirt
msgid "T-Shirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.woman
msgid "Woman"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "pagination form-inline col-md-12"
msgstr ""
+110
View File
@@ -0,0 +1,110 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * theme_anelusia_sale
#
# Translators:
# Yenthe Van Ginneken <yenthespam@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-24 11:31+0000\n"
"PO-Revision-Date: 2017-03-24 11:31+0000\n"
"Last-Translator: Yenthe Van Ginneken <yenthespam@gmail.com>, 2017\n"
"Language-Team: Dutch (https://www.transifex.com/odoo/teams/41243/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid ""
"<i class=\"fa fa-shopping-cart\"/>\n"
" Add to Cart"
msgstr ""
"<i class=\"fa fa-shopping-cart\"/>\n"
" Toevoegen aan winkelmandje"
#. module: theme_anelusia_sale
#. openerp-web
#: code:addons/theme_anelusia_sale/static/src/js/website_sale.test.js:12
#, python-format
msgid "Click on Menu button"
msgstr "Klik op menu knop"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jeans
msgid "Jeans"
msgstr "Jeans"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jumper
msgid "Jumper"
msgstr "Jumper"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.man
msgid "Man"
msgstr "Man"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid "Product Name"
msgstr "Productnaam"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_categories
msgid "Product categories"
msgstr "Productcategorieën"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_filters
msgid "Product filters"
msgstr "Product filters"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "Search..."
msgstr "Zoek.."
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shirt
msgid "Shirt"
msgstr "T-shirt"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shoes
msgid "Shoes"
msgstr "Schoenen"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.skirt
msgid "Skirt"
msgstr "Rok"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_dress
msgid "Sleeveless Dress"
msgstr "Mouwloze jurk"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_top
msgid "Sleeveless Top"
msgstr "Mouwloos topje"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.tshirt
msgid "T-Shirt"
msgstr "T-shirt"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.woman
msgid "Woman"
msgstr "Vrouwen"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "pagination form-inline col-md-12"
msgstr "pagination form-inline col-md-12"
@@ -0,0 +1,105 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * theme_anelusia_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-24 11:31+0000\n"
"PO-Revision-Date: 2017-03-24 11:31+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid "<i class=\"fa fa-shopping-cart\"/>\n"
" Add to Cart"
msgstr ""
#. module: theme_anelusia_sale
#. openerp-web
#: code:addons/theme_anelusia_sale/static/src/js/website_sale.test.js:12
#, python-format
msgid "Click on Menu button"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jeans
msgid "Jeans"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jumper
msgid "Jumper"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.man
msgid "Man"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid "Product Name"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_categories
msgid "Product categories"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_filters
msgid "Product filters"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "Search..."
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shirt
msgid "Shirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shoes
msgid "Shoes"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.skirt
msgid "Skirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_dress
msgid "Sleeveless Dress"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_top
msgid "Sleeveless Top"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.tshirt
msgid "T-Shirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.woman
msgid "Woman"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "pagination form-inline col-md-12"
msgstr ""
+110
View File
@@ -0,0 +1,110 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * theme_anelusia_sale
#
# Translators:
# inspur qiuguodong <qiuguodong@inspur.com>, 2018
# Martin Trigaux, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-24 11:31+0000\n"
"PO-Revision-Date: 2017-03-24 13:38+0000\n"
"Last-Translator: Martin Trigaux, 2019\n"
"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid ""
"<i class=\"fa fa-shopping-cart\"/>\n"
" Add to Cart"
msgstr ""
#. module: theme_anelusia_sale
#. openerp-web
#: code:addons/theme_anelusia_sale/static/src/js/website_sale.test.js:12
#, python-format
msgid "Click on Menu button"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jeans
msgid "Jeans"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.jumper
msgid "Jumper"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.man
msgid "Man"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.product
msgid "Product Name"
msgstr "产品名称"
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_categories
msgid "Product categories"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.products_filters
msgid "Product filters"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "Search..."
msgstr "搜索"
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shirt
msgid "Shirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.shoes
msgid "Shoes"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.skirt
msgid "Skirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_dress
msgid "Sleeveless Dress"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.sleeveless_top
msgid "Sleeveless Top"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.tshirt
msgid "T-Shirt"
msgstr ""
#. module: theme_anelusia_sale
#: model:product.public.category,name:theme_anelusia_sale.woman
msgid "Woman"
msgstr ""
#. module: theme_anelusia_sale
#: model:ir.ui.view,arch_db:theme_anelusia_sale.search
msgid "pagination form-inline col-md-12"
msgstr ""
@@ -0,0 +1,42 @@
odoo.define('theme_anelusia_sale.website_sale_test', function (require) {
'use strict';
var base = require('web_editor.base')
var core = require('web.core');
var Tour = require('web.Tour');
var _t = core._t;
base.ready().then(function () {
var additional_step = {
title: _t('Click on Menu button'),
element: '.navbar-header span:contains("MENU")',
waitFor: 'li:contains("Review Order")',
};
var last_valid_steps = [
{
tour: Tour.tours.shop_customize,
title: 'check optional product is removed',
additional_step: additional_step,
},
{
tour: Tour.tours.event_buy_tickets,
title: 'Order Now',
additional_step: additional_step,
},
];
_.each(last_valid_steps, function (s) {
if (s.tour) {
var steps = s.tour.steps;
for (var k=0; k<steps.length; k++) {
if (steps[k].title === s.title) {
steps.splice(k+1, 0, s.additional_step);
break;
}
}
}
});
});
});
@@ -0,0 +1,563 @@
#wrap > .container-fluid form.pagination, #wrap > .container form.pagination {
float: none;
padding-right: 0;
width: 100%;
}
.oe_website_sale {
overflow: hidden;
padding-bottom: 20px;
background-color: @color-alpha;
.page-header {
small {
display: block;
a {
color: red;
}
}
}
.oe_product_cart {
&:hover {
border: 1px solid @gray-lighter;
}
.in {
background-color: rgba(0, 0, 0, 0.5);
}
}
.oe_product {
border: 0;
h5 {
a {
color: @color-epsilon;
}
}
.ribbon {
background-color: red;
top: 0px;
width: 145px;
}
// Product name, price and quick cart part
section {
padding: 0px 15px;
h5 {
padding: 10px 0px;
font-size: 13px;
margin: 0px;
text-align: left;
border-bottom: 1px solid @gray-lighter;
a {
color: @color-delta;
&:hover {
text-decoration: none;
}
}
}
.text-info {
text-align: left;
color: @gray-light;
}
.oe_subdescription {
margin-bottom: 0px;
}
.product_price {
font-size: 12px;
position: relative;
text-align: left;
padding: 0;
b {
.text-danger {
color: red;
}
}
.btn-default { // cart btn
background: rgba(0, 0, 0, 0);
border: none;
font-size: 15px;
position: relative;
padding-right: 0px;
top: -6px;
padding-bottom: 0px;
}
}
}
}
}
#products_grid {
padding-left: 15px;
background-color: white;
table, tbody {
background-color: rgba(0, 0, 0, 0) !important;
}
.products_pager {
margin-top: 15px;
ul {
a {
border: rgba(0, 0, 0, 0);
color: @gray;
min-width: 35px;
}
}
}
.pagination > .active > a {
border-bottom: 3px solid @color-epsilon;
background-color: rgba(0, 0, 0, 0);
color: @color-epsilon;
}
.pagination a {
.transition (all 0.3s ease-out);
&:hover {
border-bottom: 3px solid @color-delta;
background: rgba(0, 0, 0, 0);
color: @gray-light;
}
}
.products_pager > ul {
li:first-child > a {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
li:last-child > a {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
}
}
/* ================= Product size in col-md-10 ================= */
#products_grid.col-md-10 {
@media (min-width: @screen-sm-min) {
> table tr:not(:first-child) {
height: 140px;
}
}
.oe-height-1 {
height: 70px;
}
.oe-height-2 {
height: 140px;
}
.oe-height-4 {
height: 280px;
}
.oe-height-6 {
height: 420px;
}
.oe-height-8 {
height: 560px;
}
}
/* =================== Search =================== */
#wrap {
.search {
background-color: @color-beta;
}
}
.js_sale .search form {
padding-right: 0px;
}
.form-inline .input-group {
background-color: white;
width: 100%;
.form-control {
width: 100%;
.BorderRadius (0px);
height: 50px;
box-shadow: none;
text-transform: lowercase;
border: none;
&:focus {
box-shadow: none;
}
}
.input-group-btn {
width: 50px;
.btn-default {
.BorderRadius (0px);
height: 50px;
width: 50px;
&:hover {
background-color: white !important;
}
}
.btn {
line-height: 2.5;
}
}
}
/* =================== Categories =================== */
#products_grid_before {
padding-top: 0px;
padding-bottom: 800em;
margin-bottom: -800em;
background-color: @color-delta;
.nav-pills > li.active > a {
background-color: rgba(0, 0, 0, 0);
color: @color-beta;
&:hover {
background-color: @gray-dark;
}
}
#o_shop_collapse_category {
padding-left: 15px;
padding-right: 15px;
i {
color: @color-beta;
}
}
ul.nav-stacked li a {
font-size: 16px;
color: @color-beta;
margin: 1px 0px;
&:hover, &:focus {
background-color: @gray-dark;
color: @color-beta;
}
}
.nav-pills > li > ul {
padding-left: 15px;
}
> ul > li > a {
color: @color-beta;
text-transform: uppercase;
font-size: 18px !important;
}
.main-category {
text-transform: uppercase;
font-size: 18px;
color: @color-gamma;
}
.category-name {
font-size: 15px;
text-transform: uppercase;
text-align: left;
margin-top: 0px;
padding: 10px 15px;
color: @color-alpha;
border-bottom: 1px solid @gray-dark;
}
/* =========== Filters ========== */
.js_attributes {
border-right-width: 0px;
padding: 0px 15px 15px 15px;
border-color: @gray-dark;
strong {
display: block;
padding-left: 10px;
margin-bottom: 10px;
margin-top: 10px;
color: @color-gamma;
text-transform: uppercase;
}
.css_attribute_color.active {
border: 5px ridge @color-alpha;
}
li > ul {
display: block;
}
label > span {
color: @gray;
}
}
}
/* =================== Product page =================== */
.js_sale {
background-color: @color-alpha;
> .container:first-child {
width: 100%;
}
> .oe_website_sale:not(#product_detail), > .container:first-child {
> .row:first-child {
background-color: @color-delta;
}
}
.breadcrumb {
padding-top: 20px;
background: rgba(0, 0, 0, 0);
border-bottom: 1px solid @gray-lighter;
li {
font-size: 15px;
a {
color: @color-gamma;
}
}
}
}
#product_detail {
.col-md-5 {
padding: 40px;
}
}
.oe_website_sale.container {
width: 100%;
}
.js_add_cart_variants > li {
border-bottom: 1px solid white;
padding-bottom: 20px;
> strong {
width: 100%;
display: inline-block;
margin: 20px 0px;
padding: 5px 0px;
font-size: 20px;
color: @color-delta;
}
}
.js_add_cart_variants {
color: @gray;
/* ======== PRICE ======== */
.oe_price_h4 {
font-size: 25px;
@media (max-width: @screen-sm-max) {
text-align: center;
}
.oe_currency_value {
font-size: 25px;
}
.oe_price {
font-weight: 300;
}
}
}
.discount .oe_default_price {
display: inline-block;
}
.product-title {
text-align: center;
color: @gray;
}
.product-description {
text-align: center;
font-size: 18px;
}
#add_to_cart {
padding: 30px;
border: none;
min-width: 240px;
display: inline-block;
.transition (all 0.5s ease-out);
@media (max-width: @screen-sm-max) {
margin: 0 auto;
}
.fa {
font-size: 30px;
padding-right: 10px;
}
}
/* ======= ADD QUANTITY ========= */
.oe_website_spinner {
margin-bottom: 25px;
width: 240px;
height: 50px;
@media (max-width: @screen-sm-max) {
margin: 0 auto;
}
.input-group-addon {
border-radius: 0px;
width: 50px;
color: white;
&:first-child, &:last-child {
border: none;
background-color: @gray;
}
a {
color: white;
}
}
input {
height: 50px;
}
.js_quantity {
text-align: center;
border-color: @gray;
height: 50px;
}
}
.badge, .active > a > .badge {
padding: 5px 10px;
margin-left: 15px;
background-color: @color-gamma;
color: white;
min-width: 28px;
}
.list-unstyled .css_attribute_color.active {
border: 3px solid @color-gamma;
}
#website_sale_recommended_products {
padding: 30px;
h3 {
text-align: center;
border-bottom: 5px solid @color-epsilon;
padding-bottom: 20px;
color: @color-gamma;
}
.row {
padding: 0 15px;
}
.col-md-2 {
margin-top: 10px;
min-height: 160px;
span {
color: @color-epsilon;
}
}
}
/* ===================== Product list view ======================= */
@media (min-width: 400px) {
.oe_product.oe_list {
min-height: 200px !important;
}
}
.oe_list {
margin: 5px 0 5px 15px;
border: 1px solid @gray-lighter;
width: 90% !important;
img {
padding: 10px 0;
}
section {
h5 {
text-align: left !important;
font-size: 24px !important;
}
.product_price {
display: inline-block;
font-size: 18px !important;
}
.oe_subdescription {
max-width: 70%;
}
}
}
#products_grid {
.products_pager {
height: 65px;
}
}
/* =================== Modal =================== */
#modal_optional_products {
.modal-title {
background: rgba(0, 0, 0, 0);
}
.input-group {
border-collapse: inherit;
}
}
/* =================== Shopping cart =================== */
.oe_website_sale {
color: @gray;
.oe_cart {
.btn {
@media (max-width: @screen-xs-max) {
padding: 10px;
}
}
.btn-primary {
background-color: @color-epsilon;
color: white;
&:hover {
background-color: @color-mu;
}
}
strong {
color: @gray;
}
.well {
background-color: rgba(0, 0, 0, 0);
}
#cart_products {
img {
max-width: 100px;
}
}
.oe_website_spinner {
width: auto;
margin: auto;
border-collapse: inherit;
}
.a-submit {
padding: 20px 0px;
min-width: 150px;
}
h4 .oe_currency_value, h4 .text-right {
font-size: 16px;
}
}
#right_column {
color: @gray;
a {
color: red;
}
.btn {
.BorderRadius (0px);
border: none;
}
.input-group-btn {
padding-left: 5px;
}
h4 {
color: @gray;
border-bottom: 1px solid @gray;
font-size: 22px;
font-weight: bold;
}
.fa {
padding-right: 5px;
}
}
.wizard {
padding-right: 15px;
box-shadow: none;
@media (max-width: @screen-sm-min) {
padding-right: 0px;
}
li {
@media (max-width: @screen-sm-min) {
padding-left: 7px;
}
}
}
}
#payment_method {
.oe_sale_acquirer_button {
.btn-primary {
background-color: @color-epsilon;
color: white;
&:hover {
background-color: @color-mu;
}
}
}
}
/* ======================== PAY =========================== */
.oe_sale_acquirer_button {
.btn {
min-width: 150px;
text-transform: uppercase;
font-size: 20px;
margin-bottom: 20px;
}
}
+135
View File
@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Product grid view -->
<template id="products" inherit_id='website_sale.products' name="Products" priority="15">
<xpath expr="//*[contains(@class, 'oe_website_sale')]//*[1]" position="before">
<t t-call="theme_anelusia_sale.search"/>
</xpath>
<!-- Add pager to the top and bottom -->
<xpath expr="//div[@id='products_grid']/*[1]" position="before">
<div class="products_pager">
<div class="row">
<t t-call="website_sale.pricelist_list"/>
<t t-call="website.pager"/>
</div>
</div>
</xpath>
<xpath expr="//div[@id='products_grid']/*[last()]" position="after">
<div class="products_pager">
<div class="row">
<t t-call="website_sale.pricelist_list"/>
<t t-call="website.pager"/>
</div>
</div>
</xpath>
<!-- Remove original pager -->
<xpath expr="//div[contains(@class, 'products_pager')]" position="replace">
</xpath>
<xpath expr="//div[contains(@class, 'oe_website_sale')]/div[@class='products_pager']" position="replace">
</xpath>
<xpath expr="//div[contains(@class, 'js_sale')]/*[last()]" position="replace">
<div class="oe_structure"/>
</xpath>
</template>
<!-- Rearrange product page -->
<template id="product" inherit_id='website_sale.product' name="Product">
<!-- Widen breadcrumb -->
<xpath expr="//*[@id='wrap']//*[contains(@class, 'row')]/*[1]" position="attributes">
<attribute name="class">col-xs-12</attribute>
</xpath>
<!-- Move Published button -->
<xpath expr="//*[@id='wrap']//*[contains(@class, 'row')]/*[3]" position="attributes">
<attribute name="class">col-xs-12</attribute>
<attribute name="id">website_published_button</attribute>
</xpath>
<!-- Move search bar -->
<xpath expr="//*[@id='wrap']//*[contains(@class, 'row')]/*[2]" position="replace">
</xpath>
<xpath expr="//*[@id='wrap']//*[contains(@class, 'row')]" position="before">
<t t-call="theme_anelusia_sale.search"/>
</xpath>
<!-- Move product name -->
<xpath expr="//div[contains(@class, 'col-lg-offset-1')]/h1" position="replace">
</xpath>
<xpath expr="//*[@id='website_published_button']" position="after">
<div class="col-sm-12 product-title">
<h1 itemprop="name" t-field="product.name">Product Name</h1>
</div>
</xpath>
<!-- Hide useless hr -->
<xpath expr="//div[contains(@class, 'col-lg-offset-1')]/hr" position="replace">
</xpath>
<!-- New add to cart button -->
<xpath expr="//a[@id='add_to_cart']" position="replace">
<a id="add_to_cart" class="btn btn-primary btn-lg mt8 js_check_product a-submit center-block" href="#">
<i class="fa fa-shopping-cart"/>
Add to Cart
</a>
</xpath>
</template>
<!-- Add class to recommended products -->
<template id="recommended_products" inherit_id="website_sale.recommended_products" name="Alternative Products">
<xpath expr="//div[contains(@class, 'container')]" position="attributes">
<attribute name='id'>website_sale_recommended_products</attribute>
</xpath>
</template>
<!-- Add h3 tag to the category list -->
<template id="products_categories" inherit_id="website_sale.products_categories" name="Product Categories">
<xpath expr="//div[@id='products_grid_before']/ul" position="before">
<h3 class="category-name">Product categories</h3>
</xpath>
<xpath expr="//div[@id='products_grid_before']" position="attributes">
<attribute name="class">col-md-2 col-sm-4 hidden-xs</attribute>
</xpath>
<xpath expr="//div[@id='products_grid']" position="attributes">
<attribute name="class">col-md-10 col-sm-8</attribute>
</xpath>
</template>
<!-- Add h3 tag before filters -->
<template id="products_filters" inherit_id="website_sale.products_attributes" name="Product Filters">
<xpath expr="//form[contains(@class, 'js_attributes')]" position="before">
<h3 class="category-name">Product filters</h3>
</xpath>
</template>
<record id="website_sale.products_add_to_cart" model="ir.ui.view">
<field name="active" eval='True'/>
</record>
<record id="website_sale.products_categories" model="ir.ui.view">
<field name="active" eval='True'/>
</record>
<template id="search" name="search">
<div class="row">
<div class="col-md-12">
<t t-if="not keep">
<form action="/shop" method="get" class="pagination form-inline col-md-12">
<div class="input-group">
<input name="search" class="search-query form-control" placeholder="Search..." type="text"/>
<span class="input-group-btn">
<a class="btn btn-default a-submit"><i class="fa fa-search"/></a>
</span>
</div>
</form>
</t>
<t t-if="keep">
<t t-call="website_sale.search">
<t t-set="search_class">pagination form-inline col-md-12</t>
</t>
</t>
</div>
</div>
</template>
</data>
</openerp>
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="less" name="theme_anelusia_sale_less" inherit_id="website.assets_frontend">
<xpath expr="//link[last()]" position="after">
<link href="/theme_anelusia_sale/static/src/less/theme_ecommerce.less" rel="stylesheet" type="text/less"/>
</xpath>
</template>
<template id="assets_frontend" inherit_id="website.assets_frontend" name="theme_anelusia_sale frontend scripts" priority="99">
<xpath expr="script[last()]" position="after">
<script type="text/javascript" src="/theme_anelusia_sale/static/src/js/website_sale.test.js"></script>
</xpath>
</template>
</data>
</openerp>