Skip to content
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

G2P-2867: Reimbursement portal moved to program repo #265

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ addon | version | maintainers | summary
[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_reimbursement_portal](g2p_reimbursement_portal/) | 17.0.0.0.0 | | G2P Reimbursement Portal
[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

Expand Down
4 changes: 3 additions & 1 deletion g2p_program_reimbursement/models/entitlement.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ def submit_reimbursement_claim(
"is_cash_entitlement": True,
"valid_from": reimbursement_cycle.start_date,
"valid_until": reimbursement_cycle.end_date,
"supporting_document_ids": [(4, file) for file in supporting_document_file_ids],
"supporting_document_ids": [(4, file) for file in supporting_document_file_ids]
if supporting_document_file_ids
else [],
"reimbursement_original_entitlement_id": self.id,
}
)
Expand Down
57 changes: 57 additions & 0 deletions g2p_reimbursement_portal/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
========================
G2P Reimbursement Portal
========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4bbe1a58e66a83399a043122ac92dd023b8d6b6737dfb3c48bbd318fa0ccb5a0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/github-OpenG2P%2Fopeng2p--program-lightgray.png?logo=github
:target: https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_reimbursement_portal
:alt: OpenG2P/openg2p-program

|badge1| |badge2|

OpenG2P Reimbursement Portal

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OpenG2P/openg2p-program/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OpenG2P/openg2p-program/issues/new?body=module:%20g2p_reimbursement_portal%0Aversion:%2017.0-develop%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
~~~~~~~

* OpenG2P

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

This module is part of the `OpenG2P/openg2p-program <https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_reimbursement_portal>`_ project on GitHub.

You are welcome to contribute.
3 changes: 3 additions & 0 deletions g2p_reimbursement_portal/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Part of OpenG2P. See LICENSE file for full copyright and licensing details.
from . import models
from . import controllers
32 changes: 32 additions & 0 deletions g2p_reimbursement_portal/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "G2P Reimbursement Portal",
"category": "G2P",
"version": "17.0.0.0.0",
"sequence": 1,
"author": "OpenG2P",
"website": "https://openg2p.org",
"license": "LGPL-3",
"development_status": "Alpha",
"depends": ["g2p_program_reimbursement", "g2p_agent_portal_base", "g2p_program_cycleless"],
"data": [
"data/g2p_reimbursement_portal_form_data.xml",
"views/g2p_portal_reimbursement.xml",
"views/g2p_portal_form_template.xml",
"views/g2p_portal_form_submitted.xml",
"views/g2p_portal_dashboard.xml",
"views/home.xml",
"views/login.xml",
"views/profile.xml",
"views/website_page.xml",
],
"assets": {
"website.assets_wysiwyg": [
"g2p_reimbursement_portal/static/src/js/reim_form_editor.js",
],
},
"demo": [],
"images": [],
"application": True,
"installable": True,
"auto_install": False,
}
1 change: 1 addition & 0 deletions g2p_reimbursement_portal/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import main
Loading
Loading