[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'
|
_inherit = 'theme.utils'
|
||||||
|
|
||||||
def _theme_beauty_post_copy(self, mod):
|
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')
|
self.enable_view('website.footer_custom')
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ $o-website-values-palettes: (
|
|||||||
'font': 'Questrial',
|
'font': 'Questrial',
|
||||||
'headings-font': 'DM Serif Display',
|
'headings-font': 'DM Serif Display',
|
||||||
|
|
||||||
'header-template': 'Contact',
|
'header-template': 'sales_two',
|
||||||
'footer-template': 'default',
|
'footer-template': 'default',
|
||||||
'header-links-style': 'outline',
|
'header-links-style': 'outline',
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,5 @@ class ThemeBookstore(models.AbstractModel):
|
|||||||
_inherit = 'theme.utils'
|
_inherit = 'theme.utils'
|
||||||
|
|
||||||
def _theme_bookstore_post_copy(self, mod):
|
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')
|
self.enable_view('website.template_footer_links')
|
||||||
|
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ $o-website-values-palettes: (
|
|||||||
'btn-border-radius-lg': 0px,
|
'btn-border-radius-lg': 0px,
|
||||||
'font': 'Source Sans Pro',
|
'font': 'Source Sans Pro',
|
||||||
'headings-font': 'DM Serif Display',
|
'headings-font': 'DM Serif Display',
|
||||||
'header-template': 'Contact',
|
'header-template': 'sales_two',
|
||||||
'footer-template': 'links',
|
'footer-template': 'links',
|
||||||
'header-links-style': 'border-bottom',
|
'header-links-style': 'border-bottom',
|
||||||
'link-underline': 'never',
|
'link-underline': 'never',
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ class ThemeGraphene(models.AbstractModel):
|
|||||||
_inherit = 'theme.utils'
|
_inherit = 'theme.utils'
|
||||||
|
|
||||||
def _theme_graphene_post_copy(self, mod):
|
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')
|
self.enable_view('website.template_footer_centered')
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ $o-website-values-palettes: (
|
|||||||
|
|
||||||
'btn-ripple': true,
|
'btn-ripple': true,
|
||||||
'layout': 'boxed',
|
'layout': 'boxed',
|
||||||
'header-template': 'Contact',
|
'header-template': 'sales_two',
|
||||||
'footer-template': 'centered',
|
'footer-template': 'centered',
|
||||||
|
|
||||||
'btn-font-size-lg': 1rem,
|
'btn-font-size-lg': 1rem,
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ class ThemeOdooExperts(models.AbstractModel):
|
|||||||
_inherit = 'theme.utils'
|
_inherit = 'theme.utils'
|
||||||
|
|
||||||
def _theme_odoo_experts_post_copy(self, mod):
|
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')
|
self.enable_view('website.template_footer_contact')
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ $o-website-values-palettes: (
|
|||||||
'font': 'Lato',
|
'font': 'Lato',
|
||||||
'headings-font': 'Work Sans',
|
'headings-font': 'Work Sans',
|
||||||
'navbar-font': 'Work Sans',
|
'navbar-font': 'Work Sans',
|
||||||
'header-template': 'Contact',
|
'header-template': 'sales_two',
|
||||||
'footer-template': 'contact',
|
'footer-template': 'contact',
|
||||||
'link-underline': 'never',
|
'link-underline': 'never',
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user