From 33a876817d3b4ab7d4fa686a2ef472dfe54a705a Mon Sep 17 00:00:00 2001 From: AjmalCybro Date: Tue, 9 May 2023 14:42:12 +0530 Subject: [PATCH] May 9 : [UPDT] License Updated 'multi_sms_gateway' --- multi_sms_gateway/__init__.py | 29 ++++++++-------- multi_sms_gateway/__manifest__.py | 33 +++++++++---------- multi_sms_gateway/models/__init__.py | 29 ++++++++-------- multi_sms_gateway/models/res_partner.py | 29 ++++++++-------- .../models/sms_connection_params.py | 29 ++++++++-------- multi_sms_gateway/models/sms_gateway.py | 29 ++++++++-------- .../models/sms_gateway_config.py | 29 ++++++++-------- multi_sms_gateway/models/sms_history.py | 29 ++++++++-------- multi_sms_gateway/wizard/__init__.py | 29 ++++++++-------- multi_sms_gateway/wizard/send_sms.py | 29 ++++++++-------- 10 files changed, 141 insertions(+), 153 deletions(-) diff --git a/multi_sms_gateway/__init__.py b/multi_sms_gateway/__init__.py index 8899504ef..85d723fdb 100644 --- a/multi_sms_gateway/__init__.py +++ b/multi_sms_gateway/__init__.py @@ -1,24 +1,23 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + from . import models from . import wizard diff --git a/multi_sms_gateway/__manifest__.py b/multi_sms_gateway/__manifest__.py index bb4011728..7e23df648 100644 --- a/multi_sms_gateway/__manifest__.py +++ b/multi_sms_gateway/__manifest__.py @@ -1,25 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + { 'name': 'Multiple SMS Gateway Integration', 'version': '16.0.1.0.0', @@ -47,9 +46,7 @@ 'wizard/send_sms_views.xml', 'views/multi_sms_gateway_menus.xml' ], - 'license': 'OPL-1', - # 'price': 4.99, # ToDo: Please update the price before publish - # 'currency': 'EUR', + 'license': 'AGPL-3', 'installable': True, 'auto_install': False, 'application': False diff --git a/multi_sms_gateway/models/__init__.py b/multi_sms_gateway/models/__init__.py index db5ff9bc5..f345a4377 100644 --- a/multi_sms_gateway/models/__init__.py +++ b/multi_sms_gateway/models/__init__.py @@ -1,25 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + from . import res_partner from . import sms_connection_params from . import sms_gateway diff --git a/multi_sms_gateway/models/res_partner.py b/multi_sms_gateway/models/res_partner.py index 1495fad06..7edabcf3d 100644 --- a/multi_sms_gateway/models/res_partner.py +++ b/multi_sms_gateway/models/res_partner.py @@ -1,25 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + """ This module helps to send sms from the form view of partner. """ from odoo import models, _ diff --git a/multi_sms_gateway/models/sms_connection_params.py b/multi_sms_gateway/models/sms_connection_params.py index 3a65f59a8..94d7f028e 100644 --- a/multi_sms_gateway/models/sms_connection_params.py +++ b/multi_sms_gateway/models/sms_connection_params.py @@ -1,25 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + """ This module helps to Connect SMS gateway. """ from odoo import fields, models diff --git a/multi_sms_gateway/models/sms_gateway.py b/multi_sms_gateway/models/sms_gateway.py index 3781a1612..3baabbb2b 100644 --- a/multi_sms_gateway/models/sms_gateway.py +++ b/multi_sms_gateway/models/sms_gateway.py @@ -1,25 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + """ This module helps to add gateway providers. """ from odoo import fields, models diff --git a/multi_sms_gateway/models/sms_gateway_config.py b/multi_sms_gateway/models/sms_gateway_config.py index 0cb6e0a48..0c3f6547a 100644 --- a/multi_sms_gateway/models/sms_gateway_config.py +++ b/multi_sms_gateway/models/sms_gateway_config.py @@ -1,25 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + """ This module helps to configure different SMS gateway. """ from odoo import fields, models diff --git a/multi_sms_gateway/models/sms_history.py b/multi_sms_gateway/models/sms_history.py index 0a762f909..907fbee1a 100644 --- a/multi_sms_gateway/models/sms_history.py +++ b/multi_sms_gateway/models/sms_history.py @@ -1,25 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + """ This module helps to see the history of all SMS send. """ from odoo import fields, models diff --git a/multi_sms_gateway/wizard/__init__.py b/multi_sms_gateway/wizard/__init__.py index 52a7a3a49..099b73352 100644 --- a/multi_sms_gateway/wizard/__init__.py +++ b/multi_sms_gateway/wizard/__init__.py @@ -1,23 +1,22 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + from . import send_sms diff --git a/multi_sms_gateway/wizard/send_sms.py b/multi_sms_gateway/wizard/send_sms.py index ff5314314..3d4f4cf99 100644 --- a/multi_sms_gateway/wizard/send_sms.py +++ b/multi_sms_gateway/wizard/send_sms.py @@ -1,25 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################### +############################################################################# # # Cybrosys Technologies Pvt. Ltd. # -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions (Contact : odoo@cybrosys.com) +# Copyright (C) 2023-TODAY Cybrosys Technologies(). # -# This program is under the terms of the Odoo Proprietary License v1.0 -# (OPL-1) -# It is forbidden to publish, distribute, sublicense, or sell copies of the -# Software or modified copies of the Software. +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # -# 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 NON INFRINGEMENT. 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. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # -############################################################################### +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + """ This module helps to add the sms details in the wizard and send SMS. """ import messagebird import requests