mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] *: replace contact by sales_three header
See community commit for details. task-3060986 Part-of: odoo/design-themes#651
This commit is contained in:
@@ -5,5 +5,5 @@ class ThemeBeauty(models.AbstractModel):
|
||||
_inherit = 'theme.utils'
|
||||
|
||||
def _theme_beauty_post_copy(self, mod):
|
||||
self.enable_view('website.template_header_contact')
|
||||
self.enable_view('website.template_header_sales_two')
|
||||
self.enable_view('website.footer_custom')
|
||||
|
||||
@@ -65,7 +65,7 @@ $o-website-values-palettes: (
|
||||
'font': 'Questrial',
|
||||
'headings-font': 'DM Serif Display',
|
||||
|
||||
'header-template': 'Contact',
|
||||
'header-template': 'sales_two',
|
||||
'footer-template': 'default',
|
||||
'header-links-style': 'outline',
|
||||
|
||||
|
||||
@@ -5,6 +5,5 @@ class ThemeBookstore(models.AbstractModel):
|
||||
_inherit = 'theme.utils'
|
||||
|
||||
def _theme_bookstore_post_copy(self, mod):
|
||||
self.enable_view('website.template_header_contact')
|
||||
self.enable_view('website.template_header_sales_two')
|
||||
self.enable_view('website.template_footer_links')
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ $o-website-values-palettes: (
|
||||
'btn-border-radius-lg': 0px,
|
||||
'font': 'Source Sans Pro',
|
||||
'headings-font': 'DM Serif Display',
|
||||
'header-template': 'Contact',
|
||||
'header-template': 'sales_two',
|
||||
'footer-template': 'links',
|
||||
'header-links-style': 'border-bottom',
|
||||
'link-underline': 'never',
|
||||
|
||||
@@ -5,7 +5,7 @@ class ThemeGraphene(models.AbstractModel):
|
||||
_inherit = 'theme.utils'
|
||||
|
||||
def _theme_graphene_post_copy(self, mod):
|
||||
self.enable_view('website.template_header_contact')
|
||||
self.enable_view('website.template_header_sales_two')
|
||||
|
||||
self.enable_view('website.template_footer_centered')
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ $o-website-values-palettes: (
|
||||
|
||||
'btn-ripple': true,
|
||||
'layout': 'boxed',
|
||||
'header-template': 'Contact',
|
||||
'header-template': 'sales_two',
|
||||
'footer-template': 'centered',
|
||||
|
||||
'btn-font-size-lg': 1rem,
|
||||
|
||||
@@ -5,5 +5,5 @@ class ThemeOdooExperts(models.AbstractModel):
|
||||
_inherit = 'theme.utils'
|
||||
|
||||
def _theme_odoo_experts_post_copy(self, mod):
|
||||
self.enable_view('website.template_header_contact')
|
||||
self.enable_view('website.template_header_sales_two')
|
||||
self.enable_view('website.template_footer_contact')
|
||||
|
||||
@@ -88,7 +88,7 @@ $o-website-values-palettes: (
|
||||
'font': 'Lato',
|
||||
'headings-font': 'Work Sans',
|
||||
'navbar-font': 'Work Sans',
|
||||
'header-template': 'Contact',
|
||||
'header-template': 'sales_two',
|
||||
'footer-template': 'contact',
|
||||
'link-underline': 'never',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user