Browse Source

publish muk_branding - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
e26a707ab4
  1. 2
      muk_branding/__manifest__.py
  2. 14
      muk_branding/doc/index.rst
  3. 16
      muk_branding/models/res_config_settings.py
  4. 47
      muk_branding/views/res_config_settings_view.xml

2
muk_branding/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Branding",
"summary": """Branding Features""",
"version": "12.0.1.0.0",
"version": "12.0.1.0.1",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

14
muk_branding/doc/index.rst

@ -90,13 +90,13 @@ If a new system should be branded automatically, it is recommended to set the
flag ``auto_install`` of this module to ``True`` and to adjust the corresponding
variables in the config file.
* branding_system_name
* branding_publisher
* branding_website
* branding_documentation
* branding_support
* branding_store
* branding_share
* ``branding_system_name``
* ``branding_publisher``
* ``branding_website``
* ``branding_documentation``
* ``branding_support``
* ``branding_store``
* ``branding_share``
Usage
=============

16
muk_branding/models/res_config_settings.py

@ -27,6 +27,22 @@ class ResConfigSettings(models.TransientModel):
# Database
#----------------------------------------------------------
module_muk_web_branding = fields.Boolean(
string="Web Branding",
help="Customize the backend according to your needs.")
module_muk_mail_branding = fields.Boolean(
string="Mail Branding",
help="Brand your outgoing mails with your own style.")
module_muk_website_branding = fields.Boolean(
string="Website Branding",
help="Brand the website according to your needs.")
module_muk_pos_branding = fields.Boolean(
string="PoS Branding",
help="Brand the PoS panel according to your needs.")
branding_system_name = fields.Char(
string='System Name')

47
muk_branding/views/res_config_settings_view.xml

@ -27,6 +27,53 @@
<field name="arch" type="xml">
<xpath expr="//div[hasclass('settings')]" position="inside">
<div class="app_settings_block" data-string="Branding" data-key="muk_branding" groups="base.group_system">
<h2>Extensions</h2>
<div class="row mt16 o_settings_container" name="branding_extensions">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_muk_web_branding"/>
</div>
<div class="o_setting_right_pane">
<label for="module_muk_web_branding"/>
<div class="text-muted">
Customize the Backend 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_mail_branding"/>
</div>
<div class="o_setting_right_pane">
<label for="module_muk_mail_branding"/>
<div class="text-muted">
Brand your outgoing mails with your own style
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_muk_website_branding"/>
</div>
<div class="o_setting_right_pane">
<label for="module_muk_website_branding"/>
<div class="text-muted">
Brand the website 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_pos_branding"/>
</div>
<div class="o_setting_right_pane">
<label for="module_muk_pos_branding"/>
<div class="text-muted">
Brand the PoS panel according to your needs
</div>
</div>
</div>
</div>
<h2>System Parameters</h2>
<div class="row mt16 o_settings_container" name="branding_parameters">
<div class="col-12 col-lg-6 o_setting_box">

Loading…
Cancel
Save