Skip to content

Commit

Permalink
G2P-1640: g2p_program whole payment manager migrated to odoo17
Browse files Browse the repository at this point in the history
  • Loading branch information
dibik96 committed Jan 18, 2024
1 parent bafb07c commit 390ad5f
Show file tree
Hide file tree
Showing 14 changed files with 102 additions and 197 deletions.
8 changes: 4 additions & 4 deletions g2p_payment_g2p_connect/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ OpenG2P Program Payment: G2P Connect Payment Manager
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:81c41f1c1bbf5c8bf43037f3238f41e7fc27ba59bccc9c6a52523920fe69b5ee
!! source digest: sha256:a3b7235594fd9b2f7c893d7ef0635b1f16eceaf00ece6621405d1328860c201b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/15.0-develop/g2p_payment_g2p_connect
:target: https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_payment_g2p_connect
:alt: OpenG2P/openg2p-program

|badge1| |badge2|
Expand All @@ -37,7 +37,7 @@ 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_payment_g2p_connect%0Aversion:%2015.0-develop%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OpenG2P/openg2p-program/issues/new?body=module:%20g2p_payment_g2p_connect%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.

Expand All @@ -52,6 +52,6 @@ Authors
Maintainers
~~~~~~~~~~~

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

You are welcome to contribute.
8 changes: 4 additions & 4 deletions g2p_payment_g2p_connect/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,9 @@ <h1 class="title">OpenG2P Program Payment: G2P Connect Payment Manager</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:81c41f1c1bbf5c8bf43037f3238f41e7fc27ba59bccc9c6a52523920fe69b5ee
!! source digest: sha256:a3b7235594fd9b2f7c893d7ef0635b1f16eceaf00ece6621405d1328860c201b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external" href="https://github.com/OpenG2P/openg2p-program/tree/15.0-develop/g2p_payment_g2p_connect"><img alt="OpenG2P/openg2p-program" src="https://img.shields.io/badge/github-OpenG2P%2Fopeng2p--program-lightgray.png?logo=github" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external" href="https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_payment_g2p_connect"><img alt="OpenG2P/openg2p-program" src="https://img.shields.io/badge/github-OpenG2P%2Fopeng2p--program-lightgray.png?logo=github" /></a></p>
<p>G2P Connect Payment Manager</p>
<div class="admonition important">
<p class="first admonition-title">Important</p>
Expand All @@ -393,7 +393,7 @@ <h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OpenG2P/openg2p-program/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OpenG2P/openg2p-program/issues/new?body=module:%20g2p_payment_g2p_connect%0Aversion:%2015.0-develop%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OpenG2P/openg2p-program/issues/new?body=module:%20g2p_payment_g2p_connect%0Aversion:%2017.0-develop%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand All @@ -406,7 +406,7 @@ <h2><a class="toc-backref" href="#id3">Authors</a></h2>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id4">Maintainers</a></h2>
<p>This module is part of the <a class="reference external" href="https://github.com/OpenG2P/openg2p-program/tree/15.0-develop/g2p_payment_g2p_connect">OpenG2P/openg2p-program</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_payment_g2p_connect">OpenG2P/openg2p-program</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>
</div>
</div>
Expand Down
14 changes: 5 additions & 9 deletions g2p_payment_g2p_connect/views/payment_manager_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,14 @@ Part of OpenG2P. See LICENSE file for full copyright and licensing details.
<field
name="reg_id_type_for_payee_id"
string="ID Type for Payee ID"
attrs="{'invisible':[('payee_id_type','!=','reg_id')],
'required':[('payee_id_type','==','reg_id')]}"
/>
<field
name="payee_prefix"
attrs="{'invisible':[('payee_id_type','==', False)],
'required':[('payee_id_type','!=', True)]}"
invisible="payee_id_type != 'reg_id'"
required="payee_id_type == 'reg_id'"
/>
<field name="payee_prefix" invisible="not payee_id_type" required="not payee_id_type" />
<field
name="payee_suffix"
attrs="{'invisible':[('payee_id_type','!=','reg_id')],
'required':[('payee_id_type','==','reg_id')]}"
invisible="payee_id_type != 'reg_id'"
required="payee_id_type == 'reg_id'"
/>
<field name="locale" />
</group>
Expand Down
15 changes: 9 additions & 6 deletions g2p_payment_interop_layer/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@
OpenG2P Program Payment (Payment Interoperability Layer)
========================================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0c0ab5d8146cb7feb0363c6d8b7fb06b1d1abbb302e46376983880a1eba4afaf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/15.0-develop/g2p_payment_interop_layer
:target: https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_payment_interop_layer
:alt: OpenG2P/openg2p-program

|badge1| |badge2|
|badge1| |badge2|

G2P Payment Payment Interoperability Layer Payment Manager

Expand All @@ -33,8 +36,8 @@ 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OpenG2P/openg2p-program/issues/new?body=module:%20g2p_payment_interop_layer%0Aversion:%2015.0-develop%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
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_payment_interop_layer%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.

Expand All @@ -49,6 +52,6 @@ Authors
Maintainers
~~~~~~~~~~~

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

You are welcome to contribute.
32 changes: 17 additions & 15 deletions g2p_payment_interop_layer/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
<title>OpenG2P Program Payment (Payment Interoperability Layer)</title>
<style type="text/css">

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.

See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/

Expand Down Expand Up @@ -366,8 +366,10 @@ <h1 class="title">OpenG2P Program Payment (Payment Interoperability Layer)</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0c0ab5d8146cb7feb0363c6d8b7fb06b1d1abbb302e46376983880a1eba4afaf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="https://github.com/OpenG2P/openg2p-program/tree/15.0-develop/g2p_payment_interop_layer"><img alt="OpenG2P/openg2p-program" src="https://img.shields.io/badge/github-OpenG2P%2Fopeng2p--program-lightgray.png?logo=github" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external" href="https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_payment_interop_layer"><img alt="OpenG2P/openg2p-program" src="https://img.shields.io/badge/github-OpenG2P%2Fopeng2p--program-lightgray.png?logo=github" /></a></p>
<p>G2P Payment Payment Interoperability Layer Payment Manager</p>
<div class="admonition important">
<p class="first admonition-title">Important</p>
Expand All @@ -378,33 +380,33 @@ <h1 class="title">OpenG2P Program Payment (Payment Interoperability Layer)</h1>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-4">Maintainers</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li>
<li><a class="reference internal" href="#maintainers" id="id4">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OpenG2P/openg2p-program/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OpenG2P/openg2p-program/issues/new?body=module:%20g2p_payment_interop_layer%0Aversion:%2015.0-develop%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OpenG2P/openg2p-program/issues/new?body=module:%20g2p_payment_interop_layer%0Aversion:%2017.0-develop%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
<h1><a class="toc-backref" href="#id2">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
<h2><a class="toc-backref" href="#id3">Authors</a></h2>
<ul class="simple">
<li>OpenG2P</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-4">Maintainers</a></h2>
<p>This module is part of the <a class="reference external" href="https://github.com/OpenG2P/openg2p-program/tree/15.0-develop/g2p_payment_interop_layer">OpenG2P/openg2p-program</a> project on GitHub.</p>
<h2><a class="toc-backref" href="#id4">Maintainers</a></h2>
<p>This module is part of the <a class="reference external" href="https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_payment_interop_layer">OpenG2P/openg2p-program</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions g2p_payment_interop_layer/views/payment_manager_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Part of OpenG2P. See LICENSE file for full copyright and licensing details.
<field
name="reg_id_type_for_payee_id"
string="ID Type for Payee ID"
attrs="{'invisible':[('payee_id_type','!=','reg_id')],
'required':[('payee_id_type','==','reg_id')]}"
invisible="payee_id_type != 'reg_id'"
required="payee_id_type == 'reg_id'"
/>
</group>
</xpath>
Expand Down
15 changes: 9 additions & 6 deletions g2p_payment_phee/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@
OpenG2P Program Payment (Payment Hub EE)
========================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a7806a6a8c839ac8088ecc410b2f80f08963cd4c039348194ed0be2812152984
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/15.0-develop/g2p_payment_phee
:target: https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_payment_phee
:alt: OpenG2P/openg2p-program

|badge1| |badge2|
|badge1| |badge2|

G2P Payment Hub EE Payment Manager

Expand All @@ -33,8 +36,8 @@ 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OpenG2P/openg2p-program/issues/new?body=module:%20g2p_payment_phee%0Aversion:%2015.0-develop%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
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_payment_phee%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.

Expand All @@ -49,6 +52,6 @@ Authors
Maintainers
~~~~~~~~~~~

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

You are welcome to contribute.
Loading

0 comments on commit 390ad5f

Please sign in to comment.