From da152e0e638ddaaaf00ffda0bf64aa75c4061f1b Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Thu, 1 Dec 2022 13:34:00 +0100 Subject: [PATCH] publish muk_web_theme --- muk_web_theme/__init__.py | 42 +++++++++++++++ muk_web_theme/__manifest__.py | 42 +++++++++++++++ muk_web_theme/doc/index.rst | 51 ------------------- muk_web_theme/models/__init__.py | 42 +++++++++++++++ muk_web_theme/models/ir_http.py | 42 +++++++++++++++ muk_web_theme/models/res_company.py | 42 +++++++++++++++ muk_web_theme/models/res_config_settings.py | 42 +++++++++++++++ muk_web_theme/models/res_users.py | 42 +++++++++++++++ muk_web_theme/models/web_editor_assets.py | 42 +++++++++++++++ muk_web_theme/static/src/colors.scss | 42 +++++++++++++++ muk_web_theme/static/src/core/pager/pager.xml | 44 +++++++++++++++- muk_web_theme/static/src/mixins.scss | 42 +++++++++++++++ muk_web_theme/static/src/variables.scss | 42 +++++++++++++++ muk_web_theme/static/src/views/form/form.scss | 42 +++++++++++++++ muk_web_theme/static/src/views/list/list.scss | 42 +++++++++++++++ .../static/src/webclient/appsbar/appsbar.js | 42 +++++++++++++++ .../static/src/webclient/appsbar/appsbar.scss | 42 +++++++++++++++ .../static/src/webclient/appsbar/appsbar.xml | 44 +++++++++++++++- .../static/src/webclient/appsmenu/appsmenu.js | 42 +++++++++++++++ .../src/webclient/appsmenu/appsmenu.scss | 42 +++++++++++++++ .../src/webclient/appsmenu/appsmenu.xml | 44 +++++++++++++++- .../src/webclient/appssearch/appssearch.js | 42 +++++++++++++++ .../src/webclient/appssearch/appssearch.scss | 42 +++++++++++++++ .../src/webclient/appssearch/appssearch.xml | 44 +++++++++++++++- .../static/src/webclient/navbar/navbar.js | 44 +++++++++++++++- .../static/src/webclient/navbar/navbar.scss | 42 +++++++++++++++ .../static/src/webclient/navbar/navbar.xml | 44 +++++++++++++++- muk_web_theme/templates/webclient.xml | 42 +++++++++++++++ muk_web_theme/views/res_config_settings.xml | 42 +++++++++++++++ muk_web_theme/views/res_users.xml | 42 +++++++++++++++ 30 files changed, 1224 insertions(+), 57 deletions(-) diff --git a/muk_web_theme/__init__.py b/muk_web_theme/__init__.py index d380f7e..b032aae 100644 --- a/muk_web_theme/__init__.py +++ b/muk_web_theme/__init__.py @@ -1,3 +1,45 @@ +################################################################################### +# +# Copyright (c) 2017-today MuK IT GmbH. +# +# This file is part of MuK Backend Theme +# (see https://mukit.at). +# +# MuK Proprietary License v1.0 +# +# This software and associated files (the "Software") may only be used +# (executed, modified, executed after modifications) if you have +# purchased a valid license from MuK IT GmbH. +# +# The above permissions are granted for a single database per purchased +# license. Furthermore, with a valid license it is permitted to use the +# software on other databases as long as the usage is limited to a testing +# or development environment. +# +# You may develop modules based on the Software or that use the Software +# as a library (typically by depending on it, importing it and using its +# resources), but without copying any source code or material from the +# Software. You may distribute those modules under the license of your +# choice, provided that this license is compatible with the terms of the +# MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses +# similar to this one). +# +# It is forbidden to publish, distribute, sublicense, or sell copies of +# the Software or modified copies of the Software. +# +# The above copyright notice and this permission notice must be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +################################################################################### + from . import models from odoo import api, SUPERUSER_ID diff --git a/muk_web_theme/__manifest__.py b/muk_web_theme/__manifest__.py index 508bcfe..9f6d248 100644 --- a/muk_web_theme/__manifest__.py +++ b/muk_web_theme/__manifest__.py @@ -1,3 +1,45 @@ +################################################################################### +# +# Copyright (c) 2017-today MuK IT GmbH. +# +# This file is part of MuK Backend Theme +# (see https://mukit.at). +# +# MuK Proprietary License v1.0 +# +# This software and associated files (the "Software") may only be used +# (executed, modified, executed after modifications) if you have +# purchased a valid license from MuK IT GmbH. +# +# The above permissions are granted for a single database per purchased +# license. Furthermore, with a valid license it is permitted to use the +# software on other databases as long as the usage is limited to a testing +# or development environment. +# +# You may develop modules based on the Software or that use the Software +# as a library (typically by depending on it, importing it and using its +# resources), but without copying any source code or material from the +# Software. You may distribute those modules under the license of your +# choice, provided that this license is compatible with the terms of the +# MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses +# similar to this one). +# +# It is forbidden to publish, distribute, sublicense, or sell copies of +# the Software or modified copies of the Software. +# +# The above copyright notice and this permission notice must be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +################################################################################### + { 'name': 'MuK Backend Theme', 'summary': 'Odoo Community Backend Theme', diff --git a/muk_web_theme/doc/index.rst b/muk_web_theme/doc/index.rst index 1955512..8355d53 100644 --- a/muk_web_theme/doc/index.rst +++ b/muk_web_theme/doc/index.rst @@ -17,49 +17,6 @@ your Odoo server and go to the Apps menu. Trigger the debug mode and update the list by clicking on the "Update Apps List" link. Now install the module by clicking on the install button. -Another way to install this module is via the package management for Python -(`PyPI `_). - -To install our modules using the package manager make sure -`odoo-autodiscover `_ is installed -correctly. Then open a console and install the module by entering the following -command: - -``pip install --extra-index-url https://nexus.mukit.at/repository/odoo/simple `` - -The module name consists of the Odoo version and the module name, where -underscores are replaced by a dash. - -**Module:** - -``odoo-addon-`` - -**Example:** - -``sudo -H pip3 install --extra-index-url https://nexus.mukit.at/repository/odoo/simple odoo11-addon-muk-utils`` - -Once the installation has been successfully completed, the app is already in the -correct folder. Log on to your Odoo server and go to the Apps menu. Trigger the -debug mode and update the list by clicking on the "Update Apps List" link. Now -install the module by clicking on the install button. - -The biggest advantage of this variant is that you can now also update the app -using the "pip" command. To do this, enter the following command in your console: - -``pip install --upgrade --extra-index-url https://nexus.mukit.at/repository/odoo/simple `` - -When the process is finished, restart your server and update the application in -Odoo. The steps are the same as for the installation only the button has changed -from "Install" to "Upgrade". - -You can also view available Apps directly in our `repository `_ -and find a more detailed installation guide on our `website `_. - -For modules licensed under OPL-1, you will receive access data when you purchase -the module. If the modules were not purchased directly from -`MuK IT `_ please contact our support (support@mukit.at) -with a confirmation of purchase to receive the corresponding access data. - Upgrade ============ @@ -69,14 +26,6 @@ Download the module and add it to your Odoo addons folder. Restart the server and log on to your Odoo server. Select the Apps menu and upgrade the module by clicking on the upgrade button. -If you installed the module using the "pip" command, you can also update the -module in the same way. Just type the following command into the console: - -``pip install --upgrade --extra-index-url https://nexus.mukit.at/repository/odoo/simple `` - -When the process is finished, restart your server and update the application in -Odoo, just like you would normally. - Configuration ============= diff --git a/muk_web_theme/models/__init__.py b/muk_web_theme/models/__init__.py index 1f01491..a624d8b 100644 --- a/muk_web_theme/models/__init__.py +++ b/muk_web_theme/models/__init__.py @@ -1,3 +1,45 @@ +################################################################################### +# +# Copyright (c) 2017-today MuK IT GmbH. +# +# This file is part of MuK Backend Theme +# (see https://mukit.at). +# +# MuK Proprietary License v1.0 +# +# This software and associated files (the "Software") may only be used +# (executed, modified, executed after modifications) if you have +# purchased a valid license from MuK IT GmbH. +# +# The above permissions are granted for a single database per purchased +# license. Furthermore, with a valid license it is permitted to use the +# software on other databases as long as the usage is limited to a testing +# or development environment. +# +# You may develop modules based on the Software or that use the Software +# as a library (typically by depending on it, importing it and using its +# resources), but without copying any source code or material from the +# Software. You may distribute those modules under the license of your +# choice, provided that this license is compatible with the terms of the +# MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses +# similar to this one). +# +# It is forbidden to publish, distribute, sublicense, or sell copies of +# the Software or modified copies of the Software. +# +# The above copyright notice and this permission notice must be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +################################################################################### + from . import res_company from . import res_config_settings from . import res_users diff --git a/muk_web_theme/models/ir_http.py b/muk_web_theme/models/ir_http.py index e52a58d..51a4d22 100644 --- a/muk_web_theme/models/ir_http.py +++ b/muk_web_theme/models/ir_http.py @@ -1,3 +1,45 @@ +################################################################################### +# +# Copyright (c) 2017-today MuK IT GmbH. +# +# This file is part of MuK Backend Theme +# (see https://mukit.at). +# +# MuK Proprietary License v1.0 +# +# This software and associated files (the "Software") may only be used +# (executed, modified, executed after modifications) if you have +# purchased a valid license from MuK IT GmbH. +# +# The above permissions are granted for a single database per purchased +# license. Furthermore, with a valid license it is permitted to use the +# software on other databases as long as the usage is limited to a testing +# or development environment. +# +# You may develop modules based on the Software or that use the Software +# as a library (typically by depending on it, importing it and using its +# resources), but without copying any source code or material from the +# Software. You may distribute those modules under the license of your +# choice, provided that this license is compatible with the terms of the +# MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses +# similar to this one). +# +# It is forbidden to publish, distribute, sublicense, or sell copies of +# the Software or modified copies of the Software. +# +# The above copyright notice and this permission notice must be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +################################################################################### + from odoo import models from odoo.http import request diff --git a/muk_web_theme/models/res_company.py b/muk_web_theme/models/res_company.py index 0546ebe..2d8a6af 100644 --- a/muk_web_theme/models/res_company.py +++ b/muk_web_theme/models/res_company.py @@ -1,3 +1,45 @@ +################################################################################### +# +# Copyright (c) 2017-today MuK IT GmbH. +# +# This file is part of MuK Backend Theme +# (see https://mukit.at). +# +# MuK Proprietary License v1.0 +# +# This software and associated files (the "Software") may only be used +# (executed, modified, executed after modifications) if you have +# purchased a valid license from MuK IT GmbH. +# +# The above permissions are granted for a single database per purchased +# license. Furthermore, with a valid license it is permitted to use the +# software on other databases as long as the usage is limited to a testing +# or development environment. +# +# You may develop modules based on the Software or that use the Software +# as a library (typically by depending on it, importing it and using its +# resources), but without copying any source code or material from the +# Software. You may distribute those modules under the license of your +# choice, provided that this license is compatible with the terms of the +# MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses +# similar to this one). +# +# It is forbidden to publish, distribute, sublicense, or sell copies of +# the Software or modified copies of the Software. +# +# The above copyright notice and this permission notice must be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +################################################################################### + from odoo import models, fields diff --git a/muk_web_theme/models/res_config_settings.py b/muk_web_theme/models/res_config_settings.py index 7859959..d2f7230 100644 --- a/muk_web_theme/models/res_config_settings.py +++ b/muk_web_theme/models/res_config_settings.py @@ -1,3 +1,45 @@ +################################################################################### +# +# Copyright (c) 2017-today MuK IT GmbH. +# +# This file is part of MuK Backend Theme +# (see https://mukit.at). +# +# MuK Proprietary License v1.0 +# +# This software and associated files (the "Software") may only be used +# (executed, modified, executed after modifications) if you have +# purchased a valid license from MuK IT GmbH. +# +# The above permissions are granted for a single database per purchased +# license. Furthermore, with a valid license it is permitted to use the +# software on other databases as long as the usage is limited to a testing +# or development environment. +# +# You may develop modules based on the Software or that use the Software +# as a library (typically by depending on it, importing it and using its +# resources), but without copying any source code or material from the +# Software. You may distribute those modules under the license of your +# choice, provided that this license is compatible with the terms of the +# MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses +# similar to this one). +# +# It is forbidden to publish, distribute, sublicense, or sell copies of +# the Software or modified copies of the Software. +# +# The above copyright notice and this permission notice must be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +################################################################################### + import re import uuid import base64 diff --git a/muk_web_theme/models/res_users.py b/muk_web_theme/models/res_users.py index 06f8210..3f392bf 100644 --- a/muk_web_theme/models/res_users.py +++ b/muk_web_theme/models/res_users.py @@ -1,3 +1,45 @@ +################################################################################### +# +# Copyright (c) 2017-today MuK IT GmbH. +# +# This file is part of MuK Backend Theme +# (see https://mukit.at). +# +# MuK Proprietary License v1.0 +# +# This software and associated files (the "Software") may only be used +# (executed, modified, executed after modifications) if you have +# purchased a valid license from MuK IT GmbH. +# +# The above permissions are granted for a single database per purchased +# license. Furthermore, with a valid license it is permitted to use the +# software on other databases as long as the usage is limited to a testing +# or development environment. +# +# You may develop modules based on the Software or that use the Software +# as a library (typically by depending on it, importing it and using its +# resources), but without copying any source code or material from the +# Software. You may distribute those modules under the license of your +# choice, provided that this license is compatible with the terms of the +# MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses +# similar to this one). +# +# It is forbidden to publish, distribute, sublicense, or sell copies of +# the Software or modified copies of the Software. +# +# The above copyright notice and this permission notice must be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +################################################################################### + from odoo import models, fields, api diff --git a/muk_web_theme/models/web_editor_assets.py b/muk_web_theme/models/web_editor_assets.py index 366c490..d7efa76 100644 --- a/muk_web_theme/models/web_editor_assets.py +++ b/muk_web_theme/models/web_editor_assets.py @@ -1,3 +1,45 @@ +################################################################################### +# +# Copyright (c) 2017-today MuK IT GmbH. +# +# This file is part of MuK Backend Theme +# (see https://mukit.at). +# +# MuK Proprietary License v1.0 +# +# This software and associated files (the "Software") may only be used +# (executed, modified, executed after modifications) if you have +# purchased a valid license from MuK IT GmbH. +# +# The above permissions are granted for a single database per purchased +# license. Furthermore, with a valid license it is permitted to use the +# software on other databases as long as the usage is limited to a testing +# or development environment. +# +# You may develop modules based on the Software or that use the Software +# as a library (typically by depending on it, importing it and using its +# resources), but without copying any source code or material from the +# Software. You may distribute those modules under the license of your +# choice, provided that this license is compatible with the terms of the +# MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses +# similar to this one). +# +# It is forbidden to publish, distribute, sublicense, or sell copies of +# the Software or modified copies of the Software. +# +# The above copyright notice and this permission notice must be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +################################################################################### + import re import uuid import base64 diff --git a/muk_web_theme/static/src/colors.scss b/muk_web_theme/static/src/colors.scss index 7156972..f9fe048 100644 --- a/muk_web_theme/static/src/colors.scss +++ b/muk_web_theme/static/src/colors.scss @@ -1,3 +1,45 @@ +/********************************************************************************** +* +* Copyright (c) 2017-today MuK IT GmbH. +* +* This file is part of MuK Backend Theme +* (see https://mukit.at). +* +* MuK Proprietary License v1.0 +* +* This software and associated files (the "Software") may only be used +* (executed, modified, executed after modifications) if you have +* purchased a valid license from MuK IT GmbH. +* +* The above permissions are granted for a single database per purchased +* license. Furthermore, with a valid license it is permitted to use the +* software on other databases as long as the usage is limited to a testing +* or development environment. +* +* You may develop modules based on the Software or that use the Software +* as a library (typically by depending on it, importing it and using its +* resources), but without copying any source code or material from the +* Software. You may distribute those modules under the license of your +* choice, provided that this license is compatible with the terms of the +* MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses +* similar to this one). +* +* It is forbidden to publish, distribute, sublicense, or sell copies of +* the Software or modified copies of the Software. +* +* The above copyright notice and this permission notice must be included +* in all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +* DEALINGS IN THE SOFTWARE. +* +**********************************************************************************/ + $o-brand-odoo: #243742; $o-brand-primary: #5D8DA8; diff --git a/muk_web_theme/static/src/core/pager/pager.xml b/muk_web_theme/static/src/core/pager/pager.xml index 0d727a8..d37a351 100644 --- a/muk_web_theme/static/src/core/pager/pager.xml +++ b/muk_web_theme/static/src/core/pager/pager.xml @@ -1,4 +1,46 @@ - + + +