Skip to content

[UPG] spp_sms: upgrade spp_sms to 17.0 #785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
f37ce08
[UPG] spp_sms: upgrade spp_sms to 17.0
reichie020212 Mar 25, 2025
0daf257
[Ref] spp_sms: continuation of migration to 17.0
reichie020212 Mar 26, 2025
ba3389a
[RMV] spp_sms: removed obsolete model
reichie020212 Mar 26, 2025
077cf59
Add test for iap account
megaxayda Mar 28, 2025
9ef2902
Update tests for spp.sms
megaxayda Mar 31, 2025
3237460
[IMP] spp_sms: refactor mailing model to streamline domain updates an…
megaxayda Mar 31, 2025
a89c87c
[IMP] spp_sms: enhance mailing model logic, improve SMS sending error…
megaxayda Mar 31, 2025
518ad1f
[IMP] spp_sms: precommit fix
megaxayda Mar 31, 2025
587f01a
[IMP] spp_sms: update test files
megaxayda Mar 31, 2025
d628c7c
[ADD] spp_sms: enhance tests for mailing domain updates and registran…
megaxayda Apr 1, 2025
aec0183
[FIX] spp_sms: fix test case error
reichie020212 Apr 2, 2025
0031dfa
[ADD] spp_sms: add test case for spp_sms API
reichie020212 Apr 2, 2025
b8c2c14
[IMP] spp_sms: improve test cases for mailing domain evaluation and r…
megaxayda Apr 2, 2025
0579d6c
[ADD] spp_sms: add tests for program type onchange and non-Twilio pro…
megaxayda Apr 2, 2025
7acafea
[IMP] spp_sms: update placeholder text
megaxayda Apr 3, 2025
5bc82c7
[IMP] spp_sms: created iap account data for twilio
reichie020212 Apr 11, 2025
c4fbd7a
[REF] spp_sms: used extend function
reichie020212 Apr 11, 2025
6e95d46
[IMP] spp_sms: add sequence field and use the first record
reichie020212 Apr 11, 2025
b0cb8fd
[REF] spp_sms: change development_status to Alpha
reichie020212 Apr 11, 2025
1748873
[IMP] spp_sms: improve README.rst
reichie020212 Apr 11, 2025
4cb2b5e
[REF] spp_sms: refactor sms sending
reichie020212 Apr 11, 2025
047e28d
Merge branch '54038-spp_mis-upgrade' of https://github.com/OpenSPP/op…
reichie020212 Apr 11, 2025
95d14b5
[IMP] spp_sms: support group of groups
reichie020212 Apr 11, 2025
bac5e19
[FIX] spp_sms: fix test case
reichie020212 Apr 14, 2025
6ec4f45
Merge branch '17.0' of https://github.com/OpenSPP/openspp-modules int…
reichie020212 Apr 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# generated from manifests external_dependencies
Pillow>=10.3.0
PyLD
boto3
bravado_core
extendable_pydantic==1.3.0
faker
Expand All @@ -17,6 +18,7 @@ qrcode
shapely
simplejson
swagger_spec_validator
twilio
urllib3>=2.2.2
xlrd
zipp>=3.19.1
63 changes: 63 additions & 0 deletions spp_sms/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
===========
OpenSPP SMS
===========

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-openspp%2Fopenspp--communication-lightgray.png?logo=github
:target: https://github.com/openspp/openspp-communication/tree/15.0/spp_sms
:alt: openspp/openspp-communication

|badge1| |badge2| |badge3|

OpenSPP SMS

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/openspp/openspp-communication/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/openspp/openspp-communication/issues/new?body=module:%20spp_sms%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* OpenSPP.org

Maintainers
~~~~~~~~~~~

.. |maintainer-jeremi| image:: https://github.com/jeremi.png?size=40px
:target: https://github.com/jeremi
:alt: jeremi
.. |maintainer-gonzalesedwin1123| image:: https://github.com/gonzalesedwin1123.png?size=40px
:target: https://github.com/gonzalesedwin1123
:alt: gonzalesedwin1123

Current maintainers:

|maintainer-jeremi| |maintainer-gonzalesedwin1123|

This module is part of the `openspp/openspp-communication <https://github.com/openspp/openspp-communication/tree/15.0/spp_sms>`_ project on GitHub.

You are welcome to contribute.
5 changes: 5 additions & 0 deletions spp_sms/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.


from . import models
from . import tools
32 changes: 32 additions & 0 deletions spp_sms/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.


{
"name": "OpenSPP SMS",
"category": "OpenSPP",
"version": "17.0.1.0.0",
"sequence": 1,
"author": "OpenSPP.org",
"website": "https://github.com/OpenSPP/openspp-modules",
"license": "AGPL-3",
"depends": ["iap", "sms", "mass_mailing_sms", "g2p_registry_base", "g2p_programs"],
"development_status": "Beta",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Status should be alpha at this stage.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

"maintainers": ["jeremi", "gonzalesedwin1123", "reichie020212"],
"external_dependencies": {
"python": [
"twilio",
"boto3",
]
},
"data": [
"views/iap_account_view.xml",
"views/mailing_mailing.xml",
"security/ir.model.access.csv",
],
"assets": {},
"demo": [],
"images": [],
"application": True,
"installable": True,
"auto_install": False,
}
249 changes: 249 additions & 0 deletions spp_sms/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * spp_sms
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-02-24 02:22+0000\n"
"Last-Translator: Ammar ALBAYATI <ammar.albayati@wfp.org>\n"
"Language-Team: Arabic <https://translate.openspp.org/projects/openspp/"
"spp_sms/ar/>\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"X-Generator: Weblate 4.14\n"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_iap_account__sns_amazon_key
msgid "Access Key"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_iap_account__sms_twilio_account_id
msgid "Account ID"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_iap_account__active_status
msgid "Active"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields.selection,name:spp_sms.selection__iap_account__provider__sns_amazon
msgid "Amazon SNS"
msgstr ""

#. module: spp_sms
#: model_terms:ir.ui.view,arch_db:spp_sms.iap_account_view_form
msgid "Amazon SNS account"
msgstr ""

#. module: spp_sms
#: model:ir.model,name:spp_sms.model_res_partner
msgid "Contact"
msgstr "اتصال"

#. module: spp_sms
#: model_terms:ir.ui.view,arch_db:spp_sms.view_mail_mass_mailing_form
msgid "Contact Type"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__create_uid
msgid "Created by"
msgstr "انشأ من قبل"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__create_date
msgid "Created on"
msgstr "انشأ على"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_mailing_mailing__mailing_cycle_ids
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__cycle_id
#: model:ir.model.fields.selection,name:spp_sms.selection__mailing_mailing__mailing_registrant_type__cycle
#: model_terms:ir.ui.view,arch_db:spp_sms.view_mail_mass_mailing_form
msgid "Cycle"
msgstr "دورة"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__display_name
msgid "Display Name"
msgstr "الاسم"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_iap_account__sms_twilio_from
msgid "From"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields.selection,name:spp_sms.selection__mailing_mailing__mailing_registrant_type__group
#: model_terms:ir.ui.view,arch_db:spp_sms.view_mail_mass_mailing_form
msgid "Group"
msgstr "مجموعة"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_mailing_mailing__mailing_registrant_group_ids
#, fuzzy
msgid "Groups"
msgstr "العوائل"

#. module: spp_sms
#: model:ir.model,name:spp_sms.model_iap_account
msgid "IAP Account"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__id
msgid "ID"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_mailing_mailing__mailing_registrant_individual_ids
#: model:ir.model.fields.selection,name:spp_sms.selection__mailing_mailing__mailing_registrant_type__individual
#: model_terms:ir.ui.view,arch_db:spp_sms.view_mail_mass_mailing_form
msgid "Individual"
msgstr "فرد"

#. module: spp_sms
#: model_terms:ir.ui.view,arch_db:spp_sms.iap_account_view_form
msgid "Info"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants____last_update
msgid "Last Modified on"
msgstr "تاريخ آخر تعديل"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__write_uid
msgid "Last Updated by"
msgstr "آخر تحديث بواسطة"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__write_date
msgid "Last Updated on"
msgstr "آخر تحديث في"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_mailing_mailing__mailing_registrant_type
msgid "Mailing Registrant Type"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_res_partner__mailing_sms_id
#: model:ir.model.fields,field_description:spp_sms.field_res_users__mailing_sms_id
msgid "Mailing SMS ID"
msgstr ""

#. module: spp_sms
#: model:ir.model,name:spp_sms.model_mailing_mailing
msgid "Mass Mailing"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__mailing_cycle_id
msgid "Mass SMS Mail Cycle"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__mailing_group_id
msgid "Mass SMS Mail Group"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__mailing_individual_id
msgid "Mass SMS Mail Individual"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__mailing_program_id
msgid "Mass SMS Mail Program"
msgstr ""

#. module: spp_sms
#: model_terms:ir.ui.view,arch_db:spp_sms.view_mail_mass_mailing_form
msgid "Name"
msgstr "الإسم"

#. module: spp_sms
#: model:ir.model.fields.selection,name:spp_sms.selection__iap_account__provider__odoo
msgid "Odoo IAP"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__program_id
#: model:ir.model.fields.selection,name:spp_sms.selection__mailing_mailing__mailing_registrant_type__program
#: model_terms:ir.ui.view,arch_db:spp_sms.view_mail_mass_mailing_form
msgid "Program"
msgstr "برنامج"

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_mailing_mailing__mailing_program_ids
msgid "Programs"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_iap_account__provider
msgid "Provider"
msgstr ""

#. module: spp_sms
#: model_terms:ir.ui.view,arch_db:spp_sms.view_mail_mass_mailing_form
msgid "Recipients"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_iap_account__sns_amazon_region
msgid "Region"
msgstr ""

#. module: spp_sms
#: model:ir.model,name:spp_sms.model_spp_mailing_registrants
msgid "Registrant Mailing"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_spp_mailing_registrants__registrant_id
msgid "Registrants"
msgstr ""

#. module: spp_sms
#: model:ir.model,name:spp_sms.model_sms_api
msgid "SMS API"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_iap_account__sns_amazon_secret
msgid "Secret Access Key"
msgstr ""

#. module: spp_sms
#: model_terms:ir.ui.view,arch_db:spp_sms.view_mail_mass_mailing_form
msgid "Subject"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields,field_description:spp_sms.field_iap_account__sms_twilio_token_id
msgid "Token ID"
msgstr ""

#. module: spp_sms
#: model:ir.model.fields.selection,name:spp_sms.selection__iap_account__provider__sms_twilio
msgid "Twilio"
msgstr ""

#. module: spp_sms
#: model_terms:ir.ui.view,arch_db:spp_sms.iap_account_view_form
msgid "Twilio account"
msgstr ""

#. module: spp_sms
#: model_terms:ir.ui.view,arch_db:spp_sms.view_mail_mass_mailing_form
msgid "e.g. New Sale on all T-shirts"
msgstr ""
Loading
Loading