-
Notifications
You must be signed in to change notification settings - Fork 15
[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
reichie020212
wants to merge
25
commits into
17.0
Choose a base branch
from
54038-spp_mis-upgrade
base: 17.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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 0daf257
[Ref] spp_sms: continuation of migration to 17.0
reichie020212 ba3389a
[RMV] spp_sms: removed obsolete model
reichie020212 077cf59
Add test for iap account
megaxayda 9ef2902
Update tests for spp.sms
megaxayda 3237460
[IMP] spp_sms: refactor mailing model to streamline domain updates an…
megaxayda a89c87c
[IMP] spp_sms: enhance mailing model logic, improve SMS sending error…
megaxayda 518ad1f
[IMP] spp_sms: precommit fix
megaxayda 587f01a
[IMP] spp_sms: update test files
megaxayda d628c7c
[ADD] spp_sms: enhance tests for mailing domain updates and registran…
megaxayda aec0183
[FIX] spp_sms: fix test case error
reichie020212 0031dfa
[ADD] spp_sms: add test case for spp_sms API
reichie020212 b8c2c14
[IMP] spp_sms: improve test cases for mailing domain evaluation and r…
megaxayda 0579d6c
[ADD] spp_sms: add tests for program type onchange and non-Twilio pro…
megaxayda 7acafea
[IMP] spp_sms: update placeholder text
megaxayda 5bc82c7
[IMP] spp_sms: created iap account data for twilio
reichie020212 c4fbd7a
[REF] spp_sms: used extend function
reichie020212 6e95d46
[IMP] spp_sms: add sequence field and use the first record
reichie020212 b0cb8fd
[REF] spp_sms: change development_status to Alpha
reichie020212 1748873
[IMP] spp_sms: improve README.rst
reichie020212 4cb2b5e
[REF] spp_sms: refactor sms sending
reichie020212 047e28d
Merge branch '54038-spp_mis-upgrade' of https://github.com/OpenSPP/op…
reichie020212 95d14b5
[IMP] spp_sms: support group of groups
reichie020212 bac5e19
[FIX] spp_sms: fix test case
reichie020212 6ec4f45
Merge branch '17.0' of https://github.com/OpenSPP/openspp-modules int…
reichie020212 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
kneckinator marked this conversation as resolved.
Show resolved
Hide resolved
|
||
: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>`_. | ||
kneckinator marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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**>`_. | ||
kneckinator marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
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| | ||
kneckinator marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
This module is part of the `openspp/openspp-communication <https://github.com/openspp/openspp-communication/tree/15.0/spp_sms>`_ project on GitHub. | ||
kneckinator marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
You are welcome to contribute. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Status should be alpha at this stage. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
"maintainers": ["jeremi", "gonzalesedwin1123", "reichie020212"], | ||
"external_dependencies": { | ||
"python": [ | ||
"twilio", | ||
"boto3", | ||
megaxayda marked this conversation as resolved.
Show resolved
Hide resolved
|
||
] | ||
}, | ||
"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, | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.