From c6c3bf57e228a863e9de4c1fd771511a3bb114c4 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Sat, 13 Jul 2019 18:18:50 +0000 Subject: [PATCH] publish muk_web_client_notification - 12.0 --- muk_web_client_notification/README.rst | 228 +++++++++--------- muk_web_client_notification/__init__.py | 7 +- muk_web_client_notification/__manifest__.py | 11 +- muk_web_client_notification/doc/index.rst | 228 +++++++++--------- .../models/__init__.py | 7 +- muk_web_client_notification/models/bus.py | 7 +- .../models/res_users.py | 7 +- .../static/src/js/client_notification.js | 9 +- .../template/assets.xml | 15 +- .../views/res_config_settings_view.xml | 79 +++--- .../views/send_notifications.xml | 139 ++++++----- .../wizards/__init__.py | 7 +- .../wizards/send_notifications.py | 199 +++++++-------- 13 files changed, 491 insertions(+), 452 deletions(-) diff --git a/muk_web_client_notification/README.rst b/muk_web_client_notification/README.rst index 316342f..a100a1e 100644 --- a/muk_web_client_notification/README.rst +++ b/muk_web_client_notification/README.rst @@ -1,114 +1,114 @@ -=========================== -MuK Web Client Notification -=========================== - -Adds a notification channel to the web client. By sending a message to this -channel, a notification is send to the web client. - -Installation -============ - -To install this module, you need to: - -Download the module and add it to your Odoo addons folder. Afterward, 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. - -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 -============ - -To upgrade this module, you need to: - -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 -============= - -No additional configuration is needed to use this module. - -Usage -============= - -Messages can either be sent via a wizard or directly from the python code either -via a method in ResUsers or by an entry in the bus system. - -Credits -======= - -Contributors ------------- - -* Mathias Markl - -Images ------------- - -Some pictures are based on or inspired by the icon set of Font Awesome: - -* `Font Awesome `_ - -Author & Maintainer -------------------- - -This module is maintained by the `MuK IT GmbH `_. - -MuK IT is an Austrian company specialized in customizing and extending Odoo. -We develop custom solutions for your individual needs to help you focus on -your strength and expertise to grow your business. - -If you want to get in touch please contact us via mail -(sale@mukit.at) or visit our website (https://mukit.at). +=========================== +MuK Web Client Notification +=========================== + +Adds a notification channel to the web client. By sending a message to this +channel, a notification is send to the web client. + +Installation +============ + +To install this module, you need to: + +Download the module and add it to your Odoo addons folder. Afterward, 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. + +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 +============ + +To upgrade this module, you need to: + +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 +============= + +No additional configuration is needed to use this module. + +Usage +============= + +Messages can either be sent via a wizard or directly from the python code either +via a method in ResUsers or by an entry in the bus system. + +Credits +======= + +Contributors +------------ + +* Mathias Markl + +Images +------------ + +Some pictures are based on or inspired by the icon set of Font Awesome: + +* `Font Awesome `_ + +Author & Maintainer +------------------- + +This module is maintained by the `MuK IT GmbH `_. + +MuK IT is an Austrian company specialized in customizing and extending Odoo. +We develop custom solutions for your individual needs to help you focus on +your strength and expertise to grow your business. + +If you want to get in touch please contact us via mail +(sale@mukit.at) or visit our website (https://mukit.at). diff --git a/muk_web_client_notification/__init__.py b/muk_web_client_notification/__init__.py index d0986d0..18de6c7 100644 --- a/muk_web_client_notification/__init__.py +++ b/muk_web_client_notification/__init__.py @@ -1,6 +1,9 @@ ################################################################################### # -# Copyright (C) 2017 MuK IT GmbH +# Copyright (c) 2017-2019 MuK IT GmbH. +# +# This file is part of MuK Web Notification +# (see https://mukit.at). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -13,7 +16,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ################################################################################### diff --git a/muk_web_client_notification/__manifest__.py b/muk_web_client_notification/__manifest__.py index ebda91e..dbf34c1 100644 --- a/muk_web_client_notification/__manifest__.py +++ b/muk_web_client_notification/__manifest__.py @@ -1,6 +1,9 @@ ################################################################################### -# -# Copyright (C) 2017 MuK IT GmbH +# +# Copyright (c) 2017-2019 MuK IT GmbH. +# +# This file is part of MuK Web Notification +# (see https://mukit.at). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -13,14 +16,14 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ################################################################################### { "name": "MuK Web Notification", "summary": """Web Client Notification""", - "version": "12.0.1.0.2", + "version": "12.0.2.0.0", "category": "Extra Tools", "license": "AGPL-3", "website": "http://www.mukit.at", diff --git a/muk_web_client_notification/doc/index.rst b/muk_web_client_notification/doc/index.rst index 316342f..a100a1e 100644 --- a/muk_web_client_notification/doc/index.rst +++ b/muk_web_client_notification/doc/index.rst @@ -1,114 +1,114 @@ -=========================== -MuK Web Client Notification -=========================== - -Adds a notification channel to the web client. By sending a message to this -channel, a notification is send to the web client. - -Installation -============ - -To install this module, you need to: - -Download the module and add it to your Odoo addons folder. Afterward, 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. - -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 -============ - -To upgrade this module, you need to: - -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 -============= - -No additional configuration is needed to use this module. - -Usage -============= - -Messages can either be sent via a wizard or directly from the python code either -via a method in ResUsers or by an entry in the bus system. - -Credits -======= - -Contributors ------------- - -* Mathias Markl - -Images ------------- - -Some pictures are based on or inspired by the icon set of Font Awesome: - -* `Font Awesome `_ - -Author & Maintainer -------------------- - -This module is maintained by the `MuK IT GmbH `_. - -MuK IT is an Austrian company specialized in customizing and extending Odoo. -We develop custom solutions for your individual needs to help you focus on -your strength and expertise to grow your business. - -If you want to get in touch please contact us via mail -(sale@mukit.at) or visit our website (https://mukit.at). +=========================== +MuK Web Client Notification +=========================== + +Adds a notification channel to the web client. By sending a message to this +channel, a notification is send to the web client. + +Installation +============ + +To install this module, you need to: + +Download the module and add it to your Odoo addons folder. Afterward, 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. + +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 +============ + +To upgrade this module, you need to: + +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 +============= + +No additional configuration is needed to use this module. + +Usage +============= + +Messages can either be sent via a wizard or directly from the python code either +via a method in ResUsers or by an entry in the bus system. + +Credits +======= + +Contributors +------------ + +* Mathias Markl + +Images +------------ + +Some pictures are based on or inspired by the icon set of Font Awesome: + +* `Font Awesome `_ + +Author & Maintainer +------------------- + +This module is maintained by the `MuK IT GmbH `_. + +MuK IT is an Austrian company specialized in customizing and extending Odoo. +We develop custom solutions for your individual needs to help you focus on +your strength and expertise to grow your business. + +If you want to get in touch please contact us via mail +(sale@mukit.at) or visit our website (https://mukit.at). diff --git a/muk_web_client_notification/models/__init__.py b/muk_web_client_notification/models/__init__.py index cd236c2..169f0fc 100644 --- a/muk_web_client_notification/models/__init__.py +++ b/muk_web_client_notification/models/__init__.py @@ -1,6 +1,9 @@ ################################################################################### # -# Copyright (C) 2017 MuK IT GmbH +# Copyright (c) 2017-2019 MuK IT GmbH. +# +# This file is part of MuK Web Notification +# (see https://mukit.at). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -13,7 +16,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ################################################################################### diff --git a/muk_web_client_notification/models/bus.py b/muk_web_client_notification/models/bus.py index 424da66..cb28d29 100644 --- a/muk_web_client_notification/models/bus.py +++ b/muk_web_client_notification/models/bus.py @@ -1,6 +1,9 @@ ################################################################################### # -# Copyright (C) 2017 MuK IT GmbH +# Copyright (c) 2017-2019 MuK IT GmbH. +# +# This file is part of MuK Web Notification +# (see https://mukit.at). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -13,7 +16,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ################################################################################### diff --git a/muk_web_client_notification/models/res_users.py b/muk_web_client_notification/models/res_users.py index f245c49..45c5fe1 100644 --- a/muk_web_client_notification/models/res_users.py +++ b/muk_web_client_notification/models/res_users.py @@ -1,6 +1,9 @@ ################################################################################### # -# Copyright (C) 2017 MuK IT GmbH +# Copyright (c) 2017-2019 MuK IT GmbH. +# +# This file is part of MuK Web Notification +# (see https://mukit.at). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -13,7 +16,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ################################################################################### diff --git a/muk_web_client_notification/static/src/js/client_notification.js b/muk_web_client_notification/static/src/js/client_notification.js index 84815c4..7e6ad5e 100644 --- a/muk_web_client_notification/static/src/js/client_notification.js +++ b/muk_web_client_notification/static/src/js/client_notification.js @@ -1,6 +1,9 @@ /********************************************************************************** -* -* Copyright (C) 2017 MuK IT GmbH +* +* Copyright (c) 2017-2019 MuK IT GmbH. +* +* This file is part of MuK Web Notification +* (see https://mukit.at). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -13,7 +16,7 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License -* along with this program. If not, see . +* along with this program. If not, see . * **********************************************************************************/ diff --git a/muk_web_client_notification/template/assets.xml b/muk_web_client_notification/template/assets.xml index 7642002..f30cf17 100644 --- a/muk_web_client_notification/template/assets.xml +++ b/muk_web_client_notification/template/assets.xml @@ -1,8 +1,12 @@ - + along with this program. If not, see . + + -->