Browse Source

opcion cambiar colores de web

edgar 7 years ago
parent
commit
56670725d5

+ 2 - 1
static/src/css/custom.css

@@ -1,6 +1,7 @@
+
 .cover { -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: grey; color: white; position: relative; }
 .cover .blog_title { position: absolute; text-align: center; top: -5%; left: 0; right: 0; }
 .cover_footer { min-height: 215px; height: 215px; cursor: pointer; }
 @media screen and (min-width:991px) {
 	#myCarousel1 { height: 472px; overflow: hidden; }
-}
+}

+ 2 - 2
static/src/less/custom_theme.less

@@ -1,6 +1,5 @@
 @import url(https://fonts.googleapis.com/css?family=Open+Sans:700,400);
 
-
 /*Font*/
 @font-family:      'Open Sans', sans-serif;
 @font-size-base:	14px;
@@ -19,4 +18,5 @@
 @sale-label-color:  #f7941d;
 @text-muted		:	#9E9E9E;
 /*img*/
- @img-path:			'../img/';
+ @img-path:			'../img/';
+

+ 2 - 0
static/src/less/options/colors/colors.less

@@ -1,3 +1,5 @@
+@color_de_tema: @theme;
+
 @font-size-base:	14px;
 @font-size-body:	14px;
 @title:				18px;

+ 1 - 0
static/src/less/options/colors/theme_aqua.less

@@ -1,3 +1,4 @@
+
 @font-size-base:	14px;
 @font-size-body:	14px;
 @title:				18px;

+ 26 - 0
static/src/less/web.less

@@ -307,6 +307,32 @@ a:hover {
 	}
 }
 
+.color_tema{
+	color: @theme;
+}
+
+.fondo_tema{
+	background: @theme;
+}
+
+.link_tema{
+	color: @theme;
+}
+
+.link_tema:hover{
+	color: @theme;
+}
+
+.fondo_link_tema{
+	background: @theme;
+}
+
+.fondo_link_tema:hover{
+	background: @theme;
+}
+
+
+
 /* Home slider
 -------------------------------*/
 .theme-home-slider {

+ 0 - 1
static/src/less/website.less

@@ -5,4 +5,3 @@
 @import "footer.less";
 @import "product.less";
 @import "custom.less";
-@import "https://www.amojeans.com.py/amojeans/less/personalizado.less";

+ 361 - 460
views/slider_view.xml

@@ -1,475 +1,376 @@
 <?xml version="1.0" encoding="utf-8"?>
 <openerp>
-<data>
-
-    <menuitem id="menu_slider_config" parent="base.menu_base_partner" name="Slider Configuration" sequence="40"/>
-
-<!-- Product Category Slider -->
-    <!-- Product Category Slider Form View-->
-    <record id="prod_cat_slider_form_view" model="ir.ui.view">
-        <field name="name">product.category.slider.form.view</field>
-        <field name="model">product.category.slider.config</field>
-        <field name="arch" type="xml">
-            <form string="Product/Category Slider">
-                <sheet>
-                    <group>
-                        <field name="name"/>
-                        <field name="active"/>
-                        <field name="no_of_counts"/>
-                        <field name="prod_cat_type"/>
-                        <field name="auto_rotate"/>
-                        <field name="sliding_speed"
-                               attrs="{'invisible': [('auto_rotate', '=', False)]}"/>
-                        <field name="collections_product"
-                               attrs="{'invisible': [('prod_cat_type', '=', 'category')],
-                                       'required': [('prod_cat_type', '=', 'product')]}"
-                               widget="many2many_tags"/>
-                        <field name="collections_category"
-                               attrs="{'invisible': [('prod_cat_type', '=', 'product')],
-                                       'required': [('prod_cat_type', '=', 'category')]}"
-                               widget="many2many_tags"/>
-                    </group>
-                </sheet>
-            </form>
-        </field>
-    </record>
-
-    <!-- Product Category Slider List View-->
-    <record id="prod_cat_slider_list_view" model="ir.ui.view">
-        <field name="name">product.category.slider.list.view</field>
-        <field name="model">product.category.slider.config</field>
-        <field name="arch" type="xml">
-            <tree string="Product/Category Slider">
-                <field name="name"/>
-                <field name="no_of_counts"/>
-                <field name="prod_cat_type"/>
-<!--                 <field name="auto_rotate"/>
-                <field name="sliding_speed"/>
-                <field name="collections"/> -->
-            </tree>
-        </field>
-    </record>
-
-    <!-- Product Category Slider Action -->
-    <record id="prod_cat_slider_action" model="ir.actions.act_window">
-        <field name="name">Slider de Productos por Categoria</field>
-        <field name="type">ir.actions.act_window</field>
-        <field name="res_model">product.category.slider.config</field>
-        <field name="view_type">form</field>
-        <field name="view_mode">tree,form</field>
-        <field name="view_id" eval="False"/>
-        <field name="help" type="html">
-            <p class="oe_view_nocontent_create">
-                Click para crear un nuevo Slider.
+    <data>
+        <menuitem id="menu_slider_config" name="Slider Configuration" parent="base.menu_base_partner" sequence="40"/>
+        <!-- Product Category Slider -->
+        <!-- Product Category Slider Form View-->
+        <record id="prod_cat_slider_form_view" model="ir.ui.view">
+            <field name="name">product.category.slider.form.view</field>
+            <field name="model">product.category.slider.config</field>
+            <field name="arch" type="xml">
+                <form string="Product/Category Slider">
+                    <sheet>
+                        <group>
+                            <field name="name"/>
+                            <field name="active"/>
+                            <field name="no_of_counts"/>
+                            <field name="prod_cat_type"/>
+                            <field name="auto_rotate"/>
+                            <field attrs="{'invisible': [('auto_rotate', '=', False)]}" name="sliding_speed"/>
+                            <field attrs="{'invisible': [('prod_cat_type', '=', 'category')],                                        'required': [('prod_cat_type', '=', 'product')]}" name="collections_product" widget="many2many_tags"/>
+                            <field attrs="{'invisible': [('prod_cat_type', '=', 'product')],                                        'required': [('prod_cat_type', '=', 'category')]}" name="collections_category" widget="many2many_tags"/>
+                        </group>
+                    </sheet>
+                </form>
+            </field>
+        </record>
+        <!-- Product Category Slider List View-->
+        <record id="prod_cat_slider_list_view" model="ir.ui.view">
+            <field name="name">product.category.slider.list.view</field>
+            <field name="model">product.category.slider.config</field>
+            <field name="arch" type="xml">
+                <tree string="Product/Category Slider">
+                    <field name="name"/>
+                    <field name="no_of_counts"/>
+                    <field name="prod_cat_type"/>
+                    <!--                 <field name="auto_rotate"/><field name="sliding_speed"/><field name="collections"/>-->
+                </tree>
+            </field>
+        </record>
+        <!-- Product Category Slider Action -->
+        <record id="prod_cat_slider_action" model="ir.actions.act_window">
+            <field name="name">Slider de Productos por Categoria</field>
+            <field name="type">ir.actions.act_window</field>
+            <field name="res_model">product.category.slider.config</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">tree,form</field>
+            <field eval="False" name="view_id"/>
+            <field name="help" type="html">
+                <p class="oe_view_nocontent_create">Click para crear un nuevo Slider.
             </p>
-        </field>
-    </record>
-
-    <!-- Product Category menu in slider config -->
-    <menuitem id="prod_cat_slider_menu"
-              name="Product/Category Slider Configuraton"
-              action="prod_cat_slider_action"
-              parent="kingfisher_pro.menu_slider_config"
-              sequence="60"/>
-
-<!-- Brands slider -->
-    <record id="product_brandz_search_view" model="ir.ui.view">
-        <field name="name">product.brands.search.form</field>
-        <field name="model">product.brands</field>
-        <field name="arch" type="xml">
-            <search string="Product Brands">
-                <field name="name"/>
-            </search>
-        </field>
-    </record>
-
-    <!-- Brand Products -->
-    <act_window id="action_open_brand_products"
-                name="Brand Products"
-                res_model="product.template"
-                view_type="form"
-                view_mode="kanban,form,tree"
-                domain="[('product_brand_id', '=', active_id)]"/>
-
-    <!-- Product Brand -->
-    <act_window id="action_open_single_product_brand"
-                name="Product Brand"
-                res_model="product.brands"
-                view_type="form"
-                view_mode="kanban,form,tree"
-                target="current"
-                domain="[('product_ids', 'in', active_id)]"/>
-
-    <!-- Product brand form view -->
-    <record id="view_product_brands_form_view" model="ir.ui.view">
-        <field name="name">product.brands.form</field>
-        <field name="model">product.brands</field>
-        <field name="arch" type="xml">
-            <form string="Marca de Producto">
-                <sheet>
-                    <field name="brand_logo" widget="image" class="oe_avatar oe_left"/>
-                    <div class="oe_title">
-                        <div class="oe_edit_only">
-                            <label for="name" string="Nombre de Marca"/>
+            </field>
+        </record>
+        <!-- Product Category menu in slider config -->
+        <menuitem action="prod_cat_slider_action" id="prod_cat_slider_menu" name="Product/Category Slider Configuraton" parent="kingfisher_pro.menu_slider_config" sequence="60"/>
+        <!-- Brands slider -->
+        <record id="product_brandz_search_view" model="ir.ui.view">
+            <field name="name">product.brands.search.form</field>
+            <field name="model">product.brands</field>
+            <field name="arch" type="xml">
+                <search string="Product Brands">
+                    <field name="name"/>
+                </search>
+            </field>
+        </record>
+        <!-- Brand Products -->
+        <act_window domain="[('product_brand_id', '=', active_id)]" id="action_open_brand_products" name="Brand Products" res_model="product.template" view_mode="kanban,form,tree" view_type="form"/>
+        <!-- Product Brand -->
+        <act_window domain="[('product_ids', 'in', active_id)]" id="action_open_single_product_brand" name="Product Brand" res_model="product.brands" target="current" view_mode="kanban,form,tree" view_type="form"/>
+        <!-- Product brand form view -->
+        <record id="view_product_brands_form_view" model="ir.ui.view">
+            <field name="name">product.brands.form</field>
+            <field name="model">product.brands</field>
+            <field name="arch" type="xml">
+                <form string="Marca de Producto">
+                    <sheet>
+                        <field class="oe_avatar oe_left" name="brand_logo" widget="image"/>
+                        <div class="oe_title">
+                            <div class="oe_edit_only">
+                                <label for="name" string="Nombre de Marca"/>
+                            </div>
+                            <h1>
+                                <field name="name"/>
+                            </h1>
                         </div>
-                        <h1>
-                            <field name="name"/>
-                        </h1>
-                    </div>
-                    <div class="oe_right oe_button_box">
-                        <button
-                            class="oe_inline oe_stat_button"
-                            type="action"
-                            name="%(action_open_brand_products)d"
-                            icon="fa-cubes">
-                            <field name="products_count" string="Products" widget="statinfo" />
-                        </button>
-                    </div>
-                    <group string="Tapa de Marca">
-                        <field name="brand_cover"
-                               height="74px"
-                               nolabel='1' widget="image"/>
-                    </group>
-                    <group string="Descripción">
-                        <field name="brand_description" nolabel="1"/>
-                    </group>
-                </sheet>
-            </form>
-        </field>
-    </record>
-
-    <!-- Product brand tree view -->
-    <record id="view_product_brands_tree_view" model="ir.ui.view">
-        <field name="name">product.brands.tree</field>
-        <field name="model">product.brands</field>
-        <field name="arch" type="xml">
-            <tree string="product.brands">
-                <field name="name"/>
-                <field name="brand_description"/>
-            </tree>
-        </field>
-    </record>
-
-    <!-- Product brand kanban view -->
-    <record id="view_product_brands_kanban_view" model="ir.ui.view">
-        <field name="name">product.brands.kanban</field>
-        <field name="model">product.brands</field>
-        <field name="arch" type="xml">
-            <kanban>
-                <field name="brand_logo"/>
-                <field name="products_count"/>
-                <field name="brand_description"/>
-                <templates>
-                    <t t-name="kanban-box">
-                        <div class="oe_kanban_vignette oe_semantic_html_override">
-                            <a type="open">
-                                <img t-att-src="kanban_image('product.product', 'brand_logo', record.id.value)"
-                                     height="74"
-                                     width="74"
-                                     class="o_kanban_image"/>
-                            </a>
-                            <div class="oe_kanban_details">
-                                <h4>
-                                    <a type="open">
-                                        <field name="name"/>
-                                    </a>
-                                </h4>
-                                <div>
-                                    <a name="%(kingfisher_pro.action_open_brand_products)d"
-                                       type="action">
-                                        <t t-esc="record.products_count.value"/> Productos
-                                    </a>
+                        <div class="oe_right oe_button_box">
+                            <button class="oe_inline oe_stat_button" icon="fa-cubes" name="%(action_open_brand_products)d" type="action">
+                                <field name="products_count" string="Products" widget="statinfo"/>
+                            </button>
+                        </div>
+                        <group string="Tapa de Marca">
+                            <field height="74px" name="brand_cover" nolabel="1" widget="image"/>
+                        </group>
+                        <group string="Descripción">
+                            <field name="brand_description" nolabel="1"/>
+                        </group>
+                    </sheet>
+                </form>
+            </field>
+        </record>
+        <!-- Product brand tree view -->
+        <record id="view_product_brands_tree_view" model="ir.ui.view">
+            <field name="name">product.brands.tree</field>
+            <field name="model">product.brands</field>
+            <field name="arch" type="xml">
+                <tree string="product.brands">
+                    <field name="name"/>
+                    <field name="brand_description"/>
+                </tree>
+            </field>
+        </record>
+        <!-- Product brand kanban view -->
+        <record id="view_product_brands_kanban_view" model="ir.ui.view">
+            <field name="name">product.brands.kanban</field>
+            <field name="model">product.brands</field>
+            <field name="arch" type="xml">
+                <kanban>
+                    <field name="brand_logo"/>
+                    <field name="products_count"/>
+                    <field name="brand_description"/>
+                    <templates>
+                        <t t-name="kanban-box">
+                            <div class="oe_kanban_vignette oe_semantic_html_override">
+                                <a type="open">
+                                    <img class="o_kanban_image" height="74" t-att-src="kanban_image('product.product', 'brand_logo', record.id.value)" width="74"/>
+                                </a>
+                                <div class="oe_kanban_details">
+                                    <h4>
+                                        <a type="open">
+                                            <field name="name"/>
+                                        </a>
+                                    </h4>
+                                    <div>
+                                        <a name="%(kingfisher_pro.action_open_brand_products)d" type="action">
+                                            <t t-esc="record.products_count.value"/>Productos</a>
+                                    </div>
+                                    <span>
+                                        <t t-raw="record.brand_description.value.substr(0,200)"/>
+                                        <t t-if="record.brand_description.value.length &gt;200">
+                                            <a type="open">
+                                                <b>...</b>
+                                            </a>
+                                        </t>
+                                    </span>
                                 </div>
-                                <span>
-                                    <t t-raw="record.brand_description.value.substr(0,200)"/>
-                                    <t t-if="record.brand_description.value.length > 200">
-                                        <a type="open"><b>...</b></a>
-                                    </t>
-                                </span>
                             </div>
-                        </div>
-                    </t>
-                </templates>
-            </kanban>
-        </field>
-    </record>
-
-    <!-- Product brand search view -->
-    <record id="inherit_product_search_view" model="ir.ui.view">
-        <field name="name">inherited.product.search.form</field>
-        <field name="model">product.product</field>
-        <field name="inherit_id" ref="product.product_search_form_view"/>
-        <field name="arch" type="xml">
-            <field name="name" position="after">
-                <field name="product_brand_id"/>
+                        </t>
+                    </templates>
+                </kanban>
             </field>
-            <field name="categ_id" position='before'>
-                <filter string="Brands" name="groupby_brand" domain="[]"
-                        context="{'group_by' : 'product_brand_id'}"/>
+        </record>
+        <!-- Product brand search view -->
+        <record id="inherit_product_search_view" model="ir.ui.view">
+            <field name="name">inherited.product.search.form</field>
+            <field name="model">product.product</field>
+            <field name="inherit_id" ref="product.product_search_form_view"/>
+            <field name="arch" type="xml">
+                <field name="name" position="after">
+                    <field name="product_brand_id"/>
+                </field>
+                <field name="categ_id" position="before">
+                    <filter context="{'group_by' : 'product_brand_id'}" domain="[]" name="groupby_brand" string="Brands"/>
+                </field>
             </field>
-        </field>
-    </record>
-
-    <!-- Product template inherited search view -->
-    <record id="inherited_view_product_template_search_brand" model="ir.ui.view">
-        <field name="name">product.template.search.brand</field>
-        <field name="model">product.template</field>
-        <field name="inherit_id" ref="product.product_template_search_view"/>
-        <field name="arch" type="xml">
-            <field name="name" position="after">
-                <field name="product_brand_id"/>
+        </record>
+        <!-- Product template inherited search view -->
+        <record id="inherited_view_product_template_search_brand" model="ir.ui.view">
+            <field name="name">product.template.search.brand</field>
+            <field name="model">product.template</field>
+            <field name="inherit_id" ref="product.product_template_search_view"/>
+            <field name="arch" type="xml">
+                <field name="name" position="after">
+                    <field name="product_brand_id"/>
+                </field>
+                <field name="categ_id" position="before">
+                    <filter context="{'group_by' : 'product_brand_id'}" domain="[]" name="groupby_brand" string="Brand"/>
+                </field>
             </field>
-            <field name="categ_id" position='before'>
-                <filter string="Brand" name="groupby_brand" domain="[]"
-                        context="{'group_by' : 'product_brand_id'}"/>
+        </record>
+        <!-- Product product inherited search view -->
+        <record id="inherited_product_template_form_brand_add" model="ir.ui.view">
+            <field name="name">product.template.product.form</field>
+            <field name="model">product.template</field>
+            <field name="inherit_id" ref="product.product_template_form_view"/>
+            <field name="arch" type="xml">
+                <field name="name" position="after">
+                    <field name="product_brand_id" placeholder="Brand"/>
+                </field>
             </field>
-        </field>
-    </record>
-
-    <!-- Product product inherited search view -->
-    <record id="inherited_product_template_form_brand_add" model="ir.ui.view">
-        <field name="name">product.template.product.form</field>
-        <field name="model">product.template</field>
-        <field name="inherit_id" ref="product.product_template_form_view" />
-        <field name="arch" type="xml">
-            <field name="name" position="after"  >
-                <field name="product_brand_id" placeholder="Brand"/>
+        </record>
+        <!-- Product template inherited kanban view -->
+        <record id="inherited_view_product_template_kanban_brand" model="ir.ui.view">
+            <field name="name">product kanban view: add brand</field>
+            <field name="model">product.template</field>
+            <field name="inherit_id" ref="product.product_template_kanban_view"/>
+            <field name="arch" type="xml">
+                <xpath expr="//h4" position="after">
+                    <div>
+                        <a name="%(action_open_single_product_brand)d" t-if="record.product_brand_id" type="action">
+                            <field name="product_brand_id"/>
+                        </a>
+                    </div>
+                </xpath>
+            </field>
+        </record>
+        <!-- Product product inherited kanban view -->
+        <record id="inherited_view_product_variant_kanban_brand" model="ir.ui.view">
+            <field name="name">product variant kanban view: add brand</field>
+            <field name="model">product.product</field>
+            <field name="inherit_id" ref="product.product_kanban_view"/>
+            <field name="arch" type="xml">
+                <xpath expr="//h4" position="after">
+                    <div>
+                        <a t-if="record.product_brand_id" type="open">
+                            <field name="product_brand_id"/>
+                        </a>
+                    </div>
+                </xpath>
             </field>
-        </field>
-    </record>
-
-    <!-- Product template inherited kanban view -->
-    <record id="inherited_view_product_template_kanban_brand" model="ir.ui.view">
-        <field name="name">product kanban view: add brand</field>
-        <field name="model">product.template</field>
-        <field name="inherit_id" ref="product.product_template_kanban_view" />
-        <field name="arch" type="xml">
-            <xpath expr="//h4" position="after">
-                <div>
-                    <a t-if="record.product_brand_id" type="action"
-                       name="%(action_open_single_product_brand)d">
-                        <field name="product_brand_id"/>
-                    </a>
-                </div>
-            </xpath>
-        </field>
-    </record>
-
-    <!-- Product product inherited kanban view -->
-    <record id="inherited_view_product_variant_kanban_brand" model="ir.ui.view">
-        <field name="name">product variant kanban view: add brand</field>
-        <field name="model">product.product</field>
-        <field name="inherit_id" ref="product.product_kanban_view" />
-        <field name="arch" type="xml">
-            <xpath expr="//h4" position="after">
-                <div>
-                    <a t-if="record.product_brand_id" type="open">
-                        <field name="product_brand_id"/>
-                    </a>
-                </div>
-            </xpath>
-        </field>
-    </record>
-
-    <!-- Product template inherited tree view -->
-    <record id="inherited_view_product_template_tree_brand" model="ir.ui.view">
-        <field name="name">product tree view: add brand</field>
-        <field name="model">product.template</field>
-        <field name="inherit_id" ref="product.product_template_tree_view" />
-        <field name="arch" type="xml">
-            <field name="name" position="after">
-                <field name="product_brand_id"/>
+        </record>
+        <!-- Product template inherited tree view -->
+        <record id="inherited_view_product_template_tree_brand" model="ir.ui.view">
+            <field name="name">product tree view: add brand</field>
+            <field name="model">product.template</field>
+            <field name="inherit_id" ref="product.product_template_tree_view"/>
+            <field name="arch" type="xml">
+                <field name="name" position="after">
+                    <field name="product_brand_id"/>
+                </field>
             </field>
-        </field>
-    </record>
-
-    <!-- Product product inherited tree view -->
-    <record id="inherited_view_product_variant_tree_brand" model="ir.ui.view">
-        <field name="name">product variant tree view: add brand</field>
-        <field name="model">product.product</field>
-        <field name="inherit_id" ref="product.product_product_tree_view" />
-        <field name="arch" type="xml">
-            <field name="name" position="after">
-                <field name="product_brand_id"/>
+        </record>
+        <!-- Product product inherited tree view -->
+        <record id="inherited_view_product_variant_tree_brand" model="ir.ui.view">
+            <field name="name">product variant tree view: add brand</field>
+            <field name="model">product.product</field>
+            <field name="inherit_id" ref="product.product_product_tree_view"/>
+            <field name="arch" type="xml">
+                <field name="name" position="after">
+                    <field name="product_brand_id"/>
+                </field>
             </field>
-        </field>
-    </record>
-
-    <!-- Product brand action -->
-    <record model="ir.actions.act_window" id="action_product_brand">
-        <field name="name">Marcas</field>
-        <field name="res_model">product.brands</field>
-        <field name="view_type">form</field>
-        <field name="view_mode">kanban,form,tree</field>
-    </record>
-
-    <!-- Brand Menu -->
-    <menuitem id="menu_product_brand"
-              name="Product Brands"
-              action="action_product_brand"
-              parent="kingfisher_pro.menu_slider_config"/>
-
-<!-- Blog Slider -->
-    <!-- Blog Slider Form View-->
-    <record id="dynamic_blog_slider_form_view" model="ir.ui.view">
-        <field name="name">dynamic.blog.slider.form.view</field>
-        <field name="model">blog.slider.config</field>
-        <field name="arch" type="xml">
-            <form string="Slider del Blog">
-                <sheet>
-                    <group>
-                        <field name="name"/>
-                        <field name="active"/>
-                        <field name="no_of_counts"/>
-                        <field name="auto_rotate"/>
-                        <field name="sliding_speed"
-                               attrs="{'invisible': [('auto_rotate', '=', False)]}"/>
-                        <field name="collections_blog_post"
-                               widget="many2many_tags"/>
-                    </group>
-                </sheet>
-            </form>
-        </field>
-    </record>
-
-    <!-- Blog Slider List View-->
-    <record id="dynamic_blog_slider_list_view" model="ir.ui.view">
-        <field name="name">dynamic.blog.slider.list.view</field>
-        <field name="model">blog.slider.config</field>
-        <field name="arch" type="xml">
-            <tree string="Blog Post Slider">
-                <field name="name"/>
-                <field name="no_of_counts"/>
-            </tree>
-        </field>
-    </record>
-
-    <!-- Blog Slider Action -->
-    <record id="dynamic_blog_slider_action" model="ir.actions.act_window">
-        <field name="name">Blog-Slider de Publicaciones</field>
-        <field name="type">ir.actions.act_window</field>
-        <field name="res_model">blog.slider.config</field>
-        <field name="view_type">form</field>
-        <field name="view_mode">tree,form</field>
-        <field name="view_id" eval="False"/>
-        <field name="help" type="html">
-            <p class="oe_view_nocontent_create">
-                Click para Crear un Nuevo Slider.
+        </record>
+        <!-- Product brand action -->
+        <record id="action_product_brand" model="ir.actions.act_window">
+            <field name="name">Marcas</field>
+            <field name="res_model">product.brands</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">kanban,form,tree</field>
+        </record>
+        <!-- Brand Menu -->
+        <menuitem action="action_product_brand" id="menu_product_brand" name="Product Brands" parent="kingfisher_pro.menu_slider_config"/>
+        <!-- Blog Slider -->
+        <!-- Blog Slider Form View-->
+        <record id="dynamic_blog_slider_form_view" model="ir.ui.view">
+            <field name="name">dynamic.blog.slider.form.view</field>
+            <field name="model">blog.slider.config</field>
+            <field name="arch" type="xml">
+                <form string="Slider del Blog">
+                    <sheet>
+                        <group>
+                            <field name="name"/>
+                            <field name="active"/>
+                            <field name="no_of_counts"/>
+                            <field name="auto_rotate"/>
+                            <field attrs="{'invisible': [('auto_rotate', '=', False)]}" name="sliding_speed"/>
+                            <field name="collections_blog_post" widget="many2many_tags"/>
+                        </group>
+                    </sheet>
+                </form>
+            </field>
+        </record>
+        <!-- Blog Slider List View-->
+        <record id="dynamic_blog_slider_list_view" model="ir.ui.view">
+            <field name="name">dynamic.blog.slider.list.view</field>
+            <field name="model">blog.slider.config</field>
+            <field name="arch" type="xml">
+                <tree string="Blog Post Slider">
+                    <field name="name"/>
+                    <field name="no_of_counts"/>
+                </tree>
+            </field>
+        </record>
+        <!-- Blog Slider Action -->
+        <record id="dynamic_blog_slider_action" model="ir.actions.act_window">
+            <field name="name">Blog-Slider de Publicaciones</field>
+            <field name="type">ir.actions.act_window</field>
+            <field name="res_model">blog.slider.config</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">tree,form</field>
+            <field eval="False" name="view_id"/>
+            <field name="help" type="html">
+                <p class="oe_view_nocontent_create">Click para Crear un Nuevo Slider.
             </p>
-        </field>
-    </record>
-
-    <!-- Blog slider main menu in config -->
-    <menuitem name="Slider Configuración" id="blog_post_slider_configuration" parent="knowledge.menu_document" sequence="20" />
-
-    <menuitem id="dynamic_blog_slider_menu"
-              name="Configuración Slider Blog"
-              action="dynamic_blog_slider_action"
-              parent="kingfisher_pro.blog_post_slider_configuration"
-              sequence="60"/>
-
-
-    <!-- Multi Product Slider Form View-->
-    <record id="multi_slider_form_view" model="ir.ui.view">
-        <field name="name">multi.slider.form.view</field>
-        <field name="model">multi.slider.config</field>
-        <field name="arch" type="xml">
-            <form string="Multi Slider">
-                <sheet>
-                    <group>
-                        <field name="name"/>
-                        <field name="active"/>
-                    </group>
-                    <group string="Configuración del Slide">
-                        <field name="auto_rotate"/>
-                        <field name="sliding_speed"
-                               attrs="{'invisible': [('auto_rotate', '=', False)]}"/>
-                    </group>
-                    <group string="Configuración de Colecciones">
-                        <field name="no_of_collection"/>
-
-                        <field name="label_collection_1"
-                               attrs="{'invisible': [('no_of_collection', '=', False)]}"/>
-                        <field name="collection_1_ids"
-                            attrs="{'invisible': [('no_of_collection', '=', False)]}"
-                            widget='many2many_tags'/>
-
-                        <field name="label_collection_2"
-                               attrs="{'invisible': [('no_of_collection', '=', False)]}" />
-                        <field name="collection_2_ids"
-                            attrs="{'invisible': [('no_of_collection', '=', False)]}"
-                            widget='many2many_tags'/>
-
-                        <field name="label_collection_3"
-                               attrs="{'invisible': ['|', ('no_of_collection', '=', False),
-                                                          ('no_of_collection', 'not in', ('3', '4', '5'))],
-                                       'required': [('no_of_collection', 'in', ('3', '4', '5'))]}"/>
-                        <field name="collection_3_ids"
-                            attrs="{'invisible': ['|', ('no_of_collection', '=', False),
-                                                       ('no_of_collection', 'not in', ('3', '4', '5'))],
-                                    'required': ['|', ('no_of_collection', 'in', ('3', '4', '5'))]}"
-                            widget='many2many_tags'/>
-
-                        <field name="label_collection_4"
-                               attrs="{'invisible': ['|', ('no_of_collection', '=', False),
-                                                          ('no_of_collection', 'not in', ('4', '5'))],
-                                       'required': [('no_of_collection', 'in', ('4', '5'))]}"/>
-                        <field name="collection_4_ids"
-                            attrs="{'invisible': ['|', ('no_of_collection', '=', False),
-                                                       ('no_of_collection', 'not in', ('4', '5'))],
-                                    'required': [('no_of_collection', 'in', ('4', '5'))]}"
-                            widget='many2many_tags'/>
-
-                        <field name="label_collection_5"
-                               attrs="{'invisible': ['|', ('no_of_collection', '=', False),
-                                                          ('no_of_collection', '!=', '5')],
-                                       'required': [('no_of_collection', '=', '5')]}"/>
-                        <field name="collection_5_ids"
-                            attrs="{'invisible': ['|', ('no_of_collection', '=', False),
-                                                       ('no_of_collection', '!=', '5')],
-                                    'required': [('no_of_collection', '=', '5')]}"
-                            widget='many2many_tags'/>
-
-                    </group>
-                </sheet>
-            </form>
-        </field>
-    </record>
-
-    <!-- Multi Product Slider List View-->
-    <record id="multi_slider_list_view" model="ir.ui.view">
-        <field name="name">multi.slider.list.view</field>
-        <field name="model">multi.slider.config</field>
-        <field name="arch" type="xml">
-            <tree string="Slider Dinamico">
-                <field name="name"/>
-                <field name="active"/>
-                <field name="no_of_collection"/>
-            </tree>
-        </field>
-    </record>
-
-    <!-- Multi Product Slider Action -->
-    <record id="multi_slider_action" model="ir.actions.act_window">
-        <field name="name">Multi Slider</field>
-        <field name="type">ir.actions.act_window</field>
-        <field name="res_model">multi.slider.config</field>
-        <field name="view_type">form</field>
-        <field name="view_mode">tree,form</field>
-        <field name="view_id" eval="False"/>
-        <field name="help" type="html">
-            <p class="oe_view_nocontent_create">
-                Click para crear un Nuevo Slider.
+            </field>
+        </record>
+        <!-- Blog slider main menu in config -->
+        <menuitem id="blog_post_slider_configuration" name="Slider Configuración" parent="knowledge.menu_document" sequence="20"/>
+        <menuitem action="dynamic_blog_slider_action" id="dynamic_blog_slider_menu" name="Configuración Slider Blog" parent="kingfisher_pro.blog_post_slider_configuration" sequence="60"/>
+        <!-- Multi Product Slider Form View-->
+        <record id="multi_slider_form_view" model="ir.ui.view">
+            <field name="name">multi.slider.form.view</field>
+            <field name="model">multi.slider.config</field>
+            <field name="arch" type="xml">
+                <form string="Multi Slider">
+                    <sheet>
+                        <group>
+                            <field name="name"/>
+                            <field name="active"/>
+                        </group>
+                        <group string="Configuración del Slide">
+                            <field name="auto_rotate"/>
+                            <field attrs="{'invisible': [('auto_rotate', '=', False)]}" name="sliding_speed"/>
+                        </group>
+                        <group string="Configuración de Colecciones">
+                            <field name="no_of_collection"/>
+                            <field attrs="{'invisible': [('no_of_collection', '=', False)]}" name="label_collection_1"/>
+                            <field attrs="{'invisible': [('no_of_collection', '=', False)]}" name="collection_1_ids" widget="many2many_tags"/>
+                            <field attrs="{'invisible': [('no_of_collection', '=', False)]}" name="label_collection_2"/>
+                            <field attrs="{'invisible': [('no_of_collection', '=', False)]}" name="collection_2_ids" widget="many2many_tags"/>
+                            <field attrs="{'invisible': ['|', ('no_of_collection', '=', False),                                                           ('no_of_collection', 'not in', ('3', '4', '5'))],                                        'required': [('no_of_collection', 'in', ('3', '4', '5'))]}" name="label_collection_3"/>
+                            <field attrs="{'invisible': ['|', ('no_of_collection', '=', False),                                                        ('no_of_collection', 'not in', ('3', '4', '5'))],                                     'required': ['|', ('no_of_collection', 'in', ('3', '4', '5'))]}" name="collection_3_ids" widget="many2many_tags"/>
+                            <field attrs="{'invisible': ['|', ('no_of_collection', '=', False),                                                           ('no_of_collection', 'not in', ('4', '5'))],                                        'required': [('no_of_collection', 'in', ('4', '5'))]}" name="label_collection_4"/>
+                            <field attrs="{'invisible': ['|', ('no_of_collection', '=', False),                                                        ('no_of_collection', 'not in', ('4', '5'))],                                     'required': [('no_of_collection', 'in', ('4', '5'))]}" name="collection_4_ids" widget="many2many_tags"/>
+                            <field attrs="{'invisible': ['|', ('no_of_collection', '=', False),                                                           ('no_of_collection', '!=', '5')],                                        'required': [('no_of_collection', '=', '5')]}" name="label_collection_5"/>
+                            <field attrs="{'invisible': ['|', ('no_of_collection', '=', False),                                                        ('no_of_collection', '!=', '5')],                                     'required': [('no_of_collection', '=', '5')]}" name="collection_5_ids" widget="many2many_tags"/>
+                        </group>
+                    </sheet>
+                </form>
+            </field>
+        </record>
+        <!-- Multi Product Slider List View-->
+        <record id="multi_slider_list_view" model="ir.ui.view">
+            <field name="name">multi.slider.list.view</field>
+            <field name="model">multi.slider.config</field>
+            <field name="arch" type="xml">
+                <tree string="Slider Dinamico">
+                    <field name="name"/>
+                    <field name="active"/>
+                    <field name="no_of_collection"/>
+                </tree>
+            </field>
+        </record>
+        <!-- Multi Product Slider Action -->
+        <record id="multi_slider_action" model="ir.actions.act_window">
+            <field name="name">Multi Slider</field>
+            <field name="type">ir.actions.act_window</field>
+            <field name="res_model">multi.slider.config</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">tree,form</field>
+            <field eval="False" name="view_id"/>
+            <field name="help" type="html">
+                <p class="oe_view_nocontent_create">Click para crear un Nuevo Slider.
             </p>
-        </field>
-    </record>
-
-    <!-- Main menu in config -->
-    <menuitem id="multi_slider_menu"
-              name="Slider Multi-Producto"
-              action="multi_slider_action"
-              parent="kingfisher_pro.menu_slider_config"
-              sequence="70"/>
-
-</data>
-</openerp>
+            </field>
+        </record>
+        <!-- Main menu in config -->
+        <menuitem action="multi_slider_action" id="multi_slider_menu" name="Slider Multi-Producto" parent="kingfisher_pro.menu_slider_config" sequence="70"/>
+        <!-- Virta a Estirar -->
+        <record id="color_sitioweb_action" model="ir.actions.act_window">
+            <field name="name">Color - SitioWeb</field>
+            <field name="type">ir.actions.act_window</field>
+            <field name="res_model">ir.ui.view</field>
+            <field name="">ir.ui.view</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">tree,form</field>
+            <field name="target">inlineview</field>
+            <field eval="False" name="view_id"/>
+            <field name="domain">['|', '|', ['name', 'ilike', 'Color_Sitio_Web'], ['model', 'ilike', 'Color_Sitio_Web'], ['model_data_id', 'ilike', 'Color_Sitio_Web']]</field>
+            <field name="help" type="html">
+                <p class="oe_view_nocontent_create">Aqui va el ayuda.
+            </p>
+            </field>
+        </record>
+        <menuitem action="" id="color_base_menu" name="Color Sitio-WEb" parent="base.marketing_menu" sequence="100"/>
+        <menuitem action="color_sitioweb_action" id="color_menu_web" name="Sitio-WEb" parent="color_base_menu" sequence="100"/>
+    </data>
+</openerp>

+ 70 - 29
views/theme_customize.xml

@@ -15,7 +15,57 @@
                 <t id="custom_opt" t-if="True"/>
             </xpath>
         </template>
+        <template id="color_opt" inherit_id="website.theme" name="Color_Sitio_Web">
+            <xpath expr="//link[last()]" position="after">
+                <style type="text/less">
+                  
+/* COLOR DE TEMA*/
+                 @theme:             #62D2EA;
+
+
+
+
+/* COLOR DE CABECERA*/
+                   @header-bg:           #fff;
+
+
+
+
+/* COLORES CLAROS PREDETERMINADOS Cuerpo de la pagina*/
+                @light-color:       #ffffff;
+
+
+/* COLORES OSCUROS PREDETERMINADOS Fondo del pie de pagina*/
+                @dark-color:        #393939;
+
+
+/* COLOR TEXTO DE ETIQUETAS DEL SITIO WEB*/
+                @body-color:        #393939;
+
+
+/* COLOR DEL FONDO DE PIE DE PAGINA NO HABILITADO POR EL MOMENTO*/
+                @footer-bg:         #161b1e;
+
+
+
+/* COLOR DE TEXTO DE PIE DE PAGINA Subtitulos*/
+                @footer-text:       #b3b3b3;
 
+
+/* COLOR DE ETIQUETAS Y ALGUNOS TITULOS*/
+                @new-label-color:   #39b54a;
+
+
+/* COLOR DE ETIQUETAS DE VENTAS*/
+                @sale-label-color:  #f7941d;
+
+
+/* COLOR DE TEXTO DE PARRAFOS*/
+                @text-muted     :   #9E9E9E;
+
+                </style>
+            </xpath>
+        </template>
         <template active="False" customize_show="True" id="option_primary_color_aqua_theme" inherit_id="custom_opt" name="primary-color-aqua-theme">
             <xpath expr="//t[@id='custom_opt']" position="inside">
                 <link href="/kingfisher_pro/static/src/less/options/colors/theme_aqua.less" rel="stylesheet" type="text/less"/>
@@ -41,7 +91,6 @@
                 <link href="/kingfisher_pro/static/src/less/options/colors/theme_pink.less" rel="stylesheet" type="text/less"/>
             </xpath>
         </template>
-
         <!-- Option Primary Fonts -->
         <template active="False" customize_show="True" id="option_font_style_open_sans" inherit_id="custom_opt" name="option_font_style_open_sans">
             <xpath expr="//t[@id='custom_opt']" position="inside">
@@ -73,40 +122,37 @@
                 <link href="/kingfisher_pro/static/src/less/options/fonts/font-style-varela-round-font.less" rel="stylesheet" type="text/less"/>
             </xpath>
         </template>
-
         <!-- Background Pattern -->
-        <template id="option_bg_pattern_1" name="option_bg_pattern_1" inherit_id="custom_opt" active="False" customize_show="True">
+        <template active="False" customize_show="True" id="option_bg_pattern_1" inherit_id="custom_opt" name="option_bg_pattern_1">
             <xpath expr="." position="inside">
                 <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-1.less" rel="stylesheet" type="text/less"/>
             </xpath>
         </template>
-        <template id="option_bg_pattern_2" name="option_bg_pattern_2" inherit_id="custom_opt" active="False" customize_show="True">
+        <template active="False" customize_show="True" id="option_bg_pattern_2" inherit_id="custom_opt" name="option_bg_pattern_2">
             <xpath expr="." position="inside">
                 <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-2.less" rel="stylesheet" type="text/less"/>
             </xpath>
         </template>
-        <template id="option_bg_pattern_3" name="option_bg_pattern_3" inherit_id="custom_opt" active="False" customize_show="True">
+        <template active="False" customize_show="True" id="option_bg_pattern_3" inherit_id="custom_opt" name="option_bg_pattern_3">
             <xpath expr="." position="inside">
                 <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-3.less" rel="stylesheet" type="text/less"/>
             </xpath>
         </template>
-        <template id="option_bg_pattern_4" name="option_bg_pattern_4" inherit_id="custom_opt" active="False" customize_show="True">
+        <template active="False" customize_show="True" id="option_bg_pattern_4" inherit_id="custom_opt" name="option_bg_pattern_4">
             <xpath expr="." position="inside">
                 <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-4.less" rel="stylesheet" type="text/less"/>
             </xpath>
         </template>
-        <template id="option_bg_pattern_5" name="option_bg_pattern_5" inherit_id="custom_opt" active="False" customize_show="True">
+        <template active="False" customize_show="True" id="option_bg_pattern_5" inherit_id="custom_opt" name="option_bg_pattern_5">
             <xpath expr="." position="inside">
                 <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-5.less" rel="stylesheet" type="text/less"/>
             </xpath>
         </template>
-        <template id="option_bg_pattern_6" name="option_bg_pattern_6" inherit_id="custom_opt" active="False" customize_show="True">
+        <template active="False" customize_show="True" id="option_bg_pattern_6" inherit_id="custom_opt" name="option_bg_pattern_6">
             <xpath expr="." position="inside">
                 <link href="/kingfisher_pro/static/src/less/options/bg_patterns/bg-pattern-6.less" rel="stylesheet" type="text/less"/>
             </xpath>
         </template>
-
-
         <!-- Customize Theme Template -->
         <template id="kingfisher_pro_theme_customize" inherit_id="website_less.theme_customize" name="Theme Kingfisher Pro Modal">
             <xpath expr="//div//table[@name='color']" position="replace">
@@ -115,19 +161,19 @@
                         <td>
                             <label class="chd-color-combi">
                                 <img alt="Golden" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-gold.gif"/>
-                                <input data-disable="less" data-xmlid=""  name="colorvar-primary" type="radio"/>
+                                <input data-disable="less" data-xmlid="" name="colorvar-primary" type="radio"/>
                             </label>
                         </td>
                         <td>
                             <label class="chd-color-combi">
                                 <img alt="Aqua" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-emerald.gif"/>
-                                <input name="colorvar-primary" type="radio" data-xmlid="kingfisher_pro.option_primary_color_aqua_theme" data-enable="less"/>
+                                <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_aqua_theme" name="colorvar-primary" type="radio"/>
                             </label>
                         </td>
                         <td>
                             <label class="chd-color-combi">
                                 <img alt="Blue" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-cobalt.gif"/>
-                                <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_blue_theme"  name="colorvar-primary" type="radio"/>
+                                <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_blue_theme" name="colorvar-primary" type="radio"/>
                             </label>
                         </td>
                     </tr>
@@ -135,19 +181,19 @@
                         <td>
                             <label class="chd-color-combi">
                                 <img alt="Brown" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-stone.gif"/>
-                                <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_brown_theme"  name="colorvar-primary" type="radio"/>
+                                <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_brown_theme" name="colorvar-primary" type="radio"/>
                             </label>
                         </td>
                         <td>
                             <label class="chd-color-combi">
                                 <img alt="Orange" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-ruby.gif"/>
-                                <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_orange"  name="colorvar-primary" type="radio"/>
+                                <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_orange" name="colorvar-primary" type="radio"/>
                             </label>
                         </td>
                         <td>
                             <label class="chd-color-combi">
                                 <img alt="Pink" class="chd-color-combi-img" src="/kingfisher_pro/static/src/img/theme/variant-amethyst.gif"/>
-                                <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_pink"  name="colorvar-primary" type="radio"/>
+                                <input data-enable="less" data-xmlid="kingfisher_pro.option_primary_color_pink" name="colorvar-primary" type="radio"/>
                             </label>
                         </td>
                     </tr>
@@ -157,19 +203,19 @@
                     <tr>
                         <td>
                             <label class="chd-color-combi">
-                                <span class="pf-color1" />
+                                <span class="pf-color1"/>
                                 <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_1" name="colorvar_pattern" type="radio"/>
                             </label>
                         </td>
                         <td>
                             <label class="chd-color-combi">
-                                <span class="pf-color2" />
+                                <span class="pf-color2"/>
                                 <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_2" name="colorvar_pattern" type="radio"/>
                             </label>
                         </td>
                         <td>
                             <label class="chd-color-combi">
-                                <span class="pf-color3" />
+                                <span class="pf-color3"/>
                                 <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_3" name="colorvar_pattern" type="radio"/>
                             </label>
                         </td>
@@ -177,27 +223,25 @@
                     <tr>
                         <td>
                             <label class="chd-color-combi">
-                                <span class="pf-color4" />
+                                <span class="pf-color4"/>
                                 <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_4" name="colorvar_pattern" type="radio"/>
                             </label>
                         </td>
                         <td>
                             <label class="chd-color-combi">
-                                <span class="pf-color5" />
+                                <span class="pf-color5"/>
                                 <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_5" name="colorvar_pattern" type="radio"/>
                             </label>
                         </td>
                         <td>
                             <label class="chd-color-combi">
-                                <span class="pf-color6" />
+                                <span class="pf-color6"/>
                                 <input data-enable="less" data-xmlid="kingfisher_pro.option_bg_pattern_6" name="colorvar_pattern" type="radio"/>
                             </label>
                         </td>
                     </tr>
                 </table>
-
             </xpath>
-
             <xpath expr="//div//table[@name='font']" position="replace">
                 <table name="font">
                     <tr>
@@ -244,15 +288,12 @@
                     </tr>
                 </table>
             </xpath>
-
         </template>
-
-        <template id="website_less.option_layout_boxed" name="option_layout_boxed" inherit_id="website_less.default_options" active="False" customize_show="True">
+        <template active="False" customize_show="True" id="website_less.option_layout_boxed" inherit_id="website_less.default_options" name="option_layout_boxed">
             <xpath expr="//t[@id='default_options']" position="inside">
                 <link href="/website_less/static/src/less/option_layout_boxed.less" rel="stylesheet" type="text/less"/>
                 <link href="/kingfisher_pro/static/src/less/options/layout/boxed.less" rel="stylesheet" type="text/less"/>
             </xpath>
         </template>
-
     </data>
-</openerp>
+</openerp>