Browse Source

publish muk_web_theme - 12.0

pull/115/head
MuK IT GmbH 6 years ago
parent
commit
c836c66878
  1. 2
      muk_web_theme/__manifest__.py
  2. 8
      muk_web_theme/models/res_config_settings.py
  3. 25
      muk_web_theme/views/res_config_settings_view.xml

2
muk_web_theme/__manifest__.py

@ -19,7 +19,7 @@
{
"name": "MuK Backend Theme",
"summary": "Odoo Community Backend Theme",
"version": "12.0.1.6.4",
"version": "12.0.1.6.5",
"category": "Themes/Backend",
"license": "AGPL-3",
"author": "MuK IT",

8
muk_web_theme/models/res_config_settings.py

@ -34,6 +34,14 @@ class ResConfigSettings(models.TransientModel):
# Database
#----------------------------------------------------------
module_muk_web_theme_branding = fields.Boolean(
string="Theme Branding",
help="Customize the theme according to your needs.")
module_muk_web_theme_website = fields.Boolean(
string="Theme Website",
help="Add theme styled website navigation.")
theme_background_image = fields.Binary(
related="company_id.background_image",
readonly=False,

25
muk_web_theme/views/res_config_settings_view.xml

@ -110,6 +110,31 @@
</div>
</div>
</div>
<h2 id="web_theme_extension_title">Backend Theme Extensions</h2>
<div class="row mt16 o_settings_container" name="web_theme_extension">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_muk_web_theme_branding"/>
</div>
<div class="o_setting_right_pane">
<label for="module_muk_web_theme_branding"/>
<div class="text-muted">
Customize the theme according to your needs
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_muk_web_theme_website"/>
</div>
<div class="o_setting_right_pane">
<label for="module_muk_web_theme_website"/>
<div class="text-muted">
Add theme styled website navigation
</div>
</div>
</div>
</div>
</div>
</field>
</record>

Loading…
Cancel
Save