[REF] website: install theme_default on first website by default

The original goal was to not have any pre-installed theme by default
and to force the user to consider installing one through the customize
dialog.

Now that we have a system to allow switching theme, it is better to have
one installed by default and allow the user to switch theme from the
customize dialog (note that last part was made in the parent commit with
the merge of website_theme_install into website).

Note: theme_default is purely empty, it is only installed by default for
clarity in the theme selection screen, for the default website.
This commit is contained in:
qsm-odoo
2019-11-12 15:53:21 +00:00
committed by Jeremy Kersten
parent 88e910e187
commit 986415cf05
2 changed files with 11 additions and 1 deletions
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="website.default_website" model="website">
<field name="theme_id" ref="base.module_theme_default"/>
</record>
</odoo>