Skip to content

Commit

Permalink
Merge pull request #257 from lalithkota/17.0-develop
Browse files Browse the repository at this point in the history
Copied PBMS modules from other repos
  • Loading branch information
lalithkota authored Sep 5, 2024
2 parents 590c024 + e61c118 commit ca5988c
Show file tree
Hide file tree
Showing 264 changed files with 6,272 additions and 9,526 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/build.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tag the repo
on:
workflow_dispatch:
inputs:
new-tag:
description: Tag in "vN.N.N" format
required: true
type: string
previous-tag:
description: Previous tag. "None" if no previous tag
required: true
type: string
default: latest
jobs:
tag-repo:
uses: openg2p/openg2p-packaging/.github/workflows/tag.yml@main
with:
new-tag: ${{ inputs.new-tag }}
previous-tag: ${{ inputs.previous-tag }}
secrets:
OPENG2P_BOT_GITHUB_PAT: ${{ secrets.OPENG2P_BOT_GITHUB_PAT }}
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install test-pre-requirments
run: |
if [ -f test-pre-requirements.txt ]; then
pip install -r test-pre-requirements.txt
fi
- name: Install addons and dependencies
run: oca_install_addons
- name: Check licenses
Expand All @@ -93,7 +98,9 @@ jobs:
run: oca_init_test_database
- name: Run tests
run: oca_run_tests
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Update .pot files
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'openg2p' }}
9 changes: 1 addition & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
^g2p_notifications_rest_api/|
^g2p_program_registrant_info_rest_api/|
^g2p_programs_rest_api/|
# END NOT INSTALLABLE ADDONS
Expand Down Expand Up @@ -49,14 +50,6 @@ repos:
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://openg2p.org"]
- id: oca-gen-addon-readme
args:
- --addons-dir=.
- --branch=17.0-develop
- --org-name=OpenG2P
- --repo-name=openg2p-program
- --if-source-changed
- --keep-source-digest
- id: oca-gen-addons-table
- id: oca-gen-external-dependencies
- repo: https://github.com/OCA/odoo-pre-commit-hooks
Expand Down
67 changes: 42 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,44 +21,61 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[g2p_entitlement_differential](g2p_entitlement_differential/) | 17.0.1.0.0 | | OpenG2P Entitlement: Differential
[g2p_entitlement_in_kind](g2p_entitlement_in_kind/) | 17.0.1.0.0 | | OpenG2P Entitlement: In-Kind
[g2p_entitlement_voucher](g2p_entitlement_voucher/) | 17.0.1.0.0 | | OpenG2P Entitlement: Voucher
[g2p_payment_cash](g2p_payment_cash/) | 17.0.1.0.0 | | OpenG2P Program Payment: Cash
[g2p_payment_files](g2p_payment_files/) | 17.0.1.0.0 | | OpenG2P Program Payments: In Files
[g2p_payment_g2p_connect](g2p_payment_g2p_connect/) | 17.0.1.0.0 | | OpenG2P Program Payment: G2P Connect Payment Manager
[g2p_payment_interop_layer](g2p_payment_interop_layer/) | 17.0.1.0.0 | | OpenG2P Program Payment (Payment Interoperability Layer)
[g2p_payment_phee](g2p_payment_phee/) | 17.0.1.0.0 | | OpenG2P Program Payment (Payment Hub EE)
[g2p_payment_simple_mpesa](g2p_payment_simple_mpesa/) | 17.0.1.0.0 | | OpenG2P Program Payment: Simple Mpesa Payment Manager
[g2p_program_approval](g2p_program_approval/) | 17.0.1.0.0 | | OpenG2P Program: Approval
[g2p_program_assessment](g2p_program_assessment/) | 17.0.1.0.0 | | OpenG2P Program: Assessment
[g2p_program_autoenrol](g2p_program_autoenrol/) | 17.0.1.0.0 | | OpenG2P Programs: Autoenrol
[g2p_program_cycleless](g2p_program_cycleless/) | 17.0.1.0.0 | | OpenG2P Programs: Cycleless
[g2p_program_documents](g2p_program_documents/) | 17.0.1.0.0 | | OpenG2P Program: Documents
[g2p_program_registrant_info](g2p_program_registrant_info/) | 17.0.1.0.0 | | G2P Program: Registrant Info
[g2p_program_reimbursement](g2p_program_reimbursement/) | 17.0.1.0.0 | | OpenG2P Programs: Reimbursement
[g2p_programs](g2p_programs/) | 17.0.1.0.0 | | OpenG2P Programs
[g2p_proxy_means_test](g2p_proxy_means_test/) | 17.0.1.0.0 | | G2P: Proxy Means Test
[g2p_entitlement_differential](g2p_entitlement_differential/) | 17.0.0.0.0 | | OpenG2P Entitlement: Differential
[g2p_entitlement_in_kind](g2p_entitlement_in_kind/) | 17.0.0.0.0 | | OpenG2P Entitlement: In-Kind
[g2p_entitlement_voucher](g2p_entitlement_voucher/) | 17.0.0.0.0 | | OpenG2P Entitlement: Voucher
[g2p_formio](g2p_formio/) | 17.0.0.0.0 | | Form builders allow you to create, manage, and use dynamic forms with ease.
[g2p_mis_importer](g2p_mis_importer/) | 17.0.0.0.0 | | G2P MIS Importer
[g2p_notifications_base](g2p_notifications_base/) | 17.0.0.0.0 | | G2P Notifications: Base
[g2p_notifications_fast2sms](g2p_notifications_fast2sms/) | 17.0.0.0.0 | | G2P Notifications: Fast2SMS Service Provider
[g2p_notifications_voucher](g2p_notifications_voucher/) | 17.0.0.0.0 | | G2P Notifications: Voucher
[g2p_notifications_wiserv](g2p_notifications_wiserv/) | 17.0.0.0.0 | | G2P Notifications: Wiserv SMS Service Provider
[g2p_odk_importer_program](g2p_odk_importer_program/) | 17.0.0.0.0 | | Import records from ODK and add then into Program
[g2p_openid_vci_programs](g2p_openid_vci_programs/) | 17.0.0.0.0 | | G2P OpenID VCI: Program Beneficiaries
[g2p_payment_cash](g2p_payment_cash/) | 17.0.0.0.0 | | OpenG2P Program Payment: Cash
[g2p_payment_files](g2p_payment_files/) | 17.0.0.0.0 | | OpenG2P Program Payments: In Files
[g2p_payment_g2p_connect](g2p_payment_g2p_connect/) | 17.0.0.0.0 | | OpenG2P Program Payment: G2P Connect Payment Manager
[g2p_payment_interop_layer](g2p_payment_interop_layer/) | 17.0.0.0.0 | | OpenG2P Program Payment (Payment Interoperability Layer)
[g2p_payment_phee](g2p_payment_phee/) | 17.0.0.0.0 | | OpenG2P Program Payment (Payment Hub EE)
[g2p_payment_simple_mpesa](g2p_payment_simple_mpesa/) | 17.0.0.0.0 | | OpenG2P Program Payment: Simple Mpesa Payment Manager
[g2p_program_approval](g2p_program_approval/) | 17.0.0.0.0 | | OpenG2P Program: Approval
[g2p_program_assessment](g2p_program_assessment/) | 17.0.0.0.0 | | OpenG2P Program: Assessment
[g2p_program_autoenrol](g2p_program_autoenrol/) | 17.0.0.0.0 | | OpenG2P Programs: Autoenrol
[g2p_program_cycleless](g2p_program_cycleless/) | 17.0.0.0.0 | | OpenG2P Programs: Cycleless
[g2p_program_documents](g2p_program_documents/) | 17.0.0.0.0 | | OpenG2P Program: Documents
[g2p_program_registrant_info](g2p_program_registrant_info/) | 17.0.0.0.0 | | G2P Program: Registrant Info
[g2p_program_reimbursement](g2p_program_reimbursement/) | 17.0.0.0.0 | | OpenG2P Programs: Reimbursement
[g2p_programs](g2p_programs/) | 17.0.0.0.0 | | OpenG2P Programs
[g2p_proxy_means_test](g2p_proxy_means_test/) | 17.0.0.0.0 | | G2P: Proxy Means Test
[g2p_social_registry_importer](g2p_social_registry_importer/) | 17.0.0.0.0 | | Import records from Social Registry
[g2p_theme](g2p_theme/) | 17.0.0.0.0 | | OpenG2P Theme


Unported addons
---------------
addon | version | maintainers | summary
--- | --- | --- | ---
[g2p_program_registrant_info_rest_api](g2p_program_registrant_info_rest_api/) | 17.0.1.0.0 (unported) | | G2P Program : Program Registrant Info Rest API
[g2p_programs_rest_api](g2p_programs_rest_api/) | 17.0.1.0.0 (unported) | | G2P Programs: REST API
[g2p_notifications_rest_api](g2p_notifications_rest_api/) | 17.0.0.0.0 (unported) | | G2P Notifications: REST API
[g2p_program_registrant_info_rest_api](g2p_program_registrant_info_rest_api/) | 17.0.0.0.0 (unported) | | G2P Program : Program Registrant Info Rest API
[g2p_programs_rest_api](g2p_programs_rest_api/) | 17.0.0.0.0 (unported) | | G2P Programs: REST API

[//]: # (end addons)

<!-- prettier-ignore-end -->

## License
## Contributors

[OpenSPP](https://openspp.org) donated the original code to the project.

Contributors include:

This repository is licensed under [MPL-2.0](LICENSE).
* Edwin Gonzales ([Newlogic](https://newlogic.com))
* Jeremi Joslin ([Newlogic](https://newlogic.com))
* Michael Gonzales ([Newlogic](https://newlogic.com))

## License

However, each module can have a totally different license, as long as they adhere to OpenG2P
policy. Consult each module's `__manifest__.py` file, which contains a `license` key
that explains its license.
This repository is licensed under [LGPL-3.0](LICENSE).

----
<!-- /!\ Non OCA Context : Set here the full description of your organization. -->
3 changes: 3 additions & 0 deletions g2p_entitlement_differential/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# OpenG2P Entitlement: Differential

Refer to https://docs.openg2p.org.
57 changes: 0 additions & 57 deletions g2p_entitlement_differential/README.rst

This file was deleted.

5 changes: 2 additions & 3 deletions g2p_entitlement_differential/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
"name": "OpenG2P Entitlement: Differential",
"category": "G2P",
# Part of OpenG2P. See LICENSE file for full copyright and licensing details.
"version": "17.0.1.0.0",
"version": "17.0.0.0.0",
"sequence": 1,
"author": "OpenG2P",
"website": "https://openg2p.org",
"license": "Other OSI approved licence",
"development_status": "Alpha",
"license": "LGPL-3",
"depends": ["spp_entitlement_cash"],
"data": ["views/entitlement_manager_view.xml"],
"demo": [],
Expand Down
Loading

0 comments on commit ca5988c

Please sign in to comment.