diff --git a/addons/website_customer/models/res_partner.py b/addons/website_customer/models/res_partner.py index 24592b3965b..61a5556fc19 100644 --- a/addons/website_customer/models/res_partner.py +++ b/addons/website_customer/models/res_partner.py @@ -22,12 +22,12 @@ class Tags(models.Model): @api.model def get_selection_class(self): - classname = ['default', 'primary', 'success', 'warning', 'danger'] + classname = ['light', 'primary', 'success', 'warning', 'danger'] return [(x, str.title(x)) for x in classname] name = fields.Char('Category Name', required=True, translate=True) partner_ids = fields.Many2many('res.partner', 'res_partner_res_partner_tag_rel', 'tag_id', 'partner_id', string='Partners') - classname = fields.Selection('get_selection_class', 'Class', default='default', help="Bootstrap class to customize the color", required=True) + classname = fields.Selection('get_selection_class', 'Class', default='light', help="Bootstrap class to customize the color", required=True) active = fields.Boolean('Active', default=True) def _default_is_published(self): diff --git a/addons/website_customer/views/snippets.xml b/addons/website_customer/views/snippets.xml index c21fd8955e6..a524999ab69 100644 --- a/addons/website_customer/views/snippets.xml +++ b/addons/website_customer/views/snippets.xml @@ -3,7 +3,7 @@ diff --git a/addons/website_customer/views/website_customer_templates.xml b/addons/website_customer/views/website_customer_templates.xml index ee5310d7e46..4dc17b59071 100644 --- a/addons/website_customer/views/website_customer_templates.xml +++ b/addons/website_customer/views/website_customer_templates.xml @@ -4,66 +4,163 @@ - + @@ -146,18 +249,12 @@
-
+
-
- + - -
-
@@ -177,38 +274,31 @@