Skip to content

Commit

Permalink
Merge pull request #180 from Abhishek-Wagh/17.0-develop
Browse files Browse the repository at this point in the history
g2p_payment_file migrated to odoo17
  • Loading branch information
shibu-narayanan authored Jan 19, 2024
2 parents 33cf450 + aefd4af commit 267da98
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 22 deletions.
8 changes: 4 additions & 4 deletions g2p_payment_files/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ OpenG2P Program Payments: In Files
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:47d1d84a219018661b12eb369e3ee58acdc7954175977fcfb7ce62790e8ca59c
!! source digest: sha256:bfd0653fb9975d4cb8e756f2ff5cfead739f65545cc5f2450383ea7068a3f572
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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_files
:target: https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_payment_files
: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_files%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_files%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_files>`_ project on GitHub.
This module is part of the `OpenG2P/openg2p-program <https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_payment_files>`_ project on GitHub.

You are welcome to contribute.
8 changes: 4 additions & 4 deletions g2p_payment_files/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 Payments: In Files</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:47d1d84a219018661b12eb369e3ee58acdc7954175977fcfb7ce62790e8ca59c
!! source digest: sha256:bfd0653fb9975d4cb8e756f2ff5cfead739f65545cc5f2450383ea7068a3f572
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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_files"><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_files"><img alt="OpenG2P/openg2p-program" src="https://img.shields.io/badge/github-OpenG2P%2Fopeng2p--program-lightgray.png?logo=github" /></a></p>
<p>G2P Program Payment File Based</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_files%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_files%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_files">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_files">OpenG2P/openg2p-program</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>
</div>
</div>
Expand Down
6 changes: 1 addition & 5 deletions g2p_payment_files/views/payment_manager_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ Part of OpenG2P. See LICENSE file for full copyright and licensing details.
<field name="arch" type="xml">
<xpath expr="//field[@name='create_batch']/.." position="inside">
<field name="file_document_store" />
<field
name="payment_file_config_ids"
colspan="4"
attrs="{'invisible':['!', ('create_batch', '!=', True)]}"
/>
<field name="payment_file_config_ids" colspan="4" invisible="create_batch" />
</xpath>
<xpath expr="//field[@name='batch_tag_ids']/tree" position="inside">
<field name="render_files_per_payment" />
Expand Down
8 changes: 4 additions & 4 deletions g2p_program_approval/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ OpenG2P Program: Approval
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b96a69ae10fd0ae2deb68d10423422d7542e90cea2b27d3a81b05d2e66eda60e
!! source digest: sha256:31ef92b52fc15239a099823708f5405017dad8444f25392bfd8c7ac4e92d7aa4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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_program_approval
:target: https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_program_approval
: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_program_approval%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_program_approval%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_program_approval>`_ project on GitHub.
This module is part of the `OpenG2P/openg2p-program <https://github.com/OpenG2P/openg2p-program/tree/17.0-develop/g2p_program_approval>`_ project on GitHub.

You are welcome to contribute.
8 changes: 4 additions & 4 deletions g2p_program_approval/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: Approval</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b96a69ae10fd0ae2deb68d10423422d7542e90cea2b27d3a81b05d2e66eda60e
!! source digest: sha256:31ef92b52fc15239a099823708f5405017dad8444f25392bfd8c7ac4e92d7aa4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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_program_approval"><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_program_approval"><img alt="OpenG2P/openg2p-program" src="https://img.shields.io/badge/github-OpenG2P%2Fopeng2p--program-lightgray.png?logo=github" /></a></p>
<p>OpenG2P Program Approval</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_program_approval%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_program_approval%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_program_approval">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_program_approval">OpenG2P/openg2p-program</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion g2p_program_approval/views/entitlement_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Part of OpenG2P. See LICENSE file for full copyright and licensing details.
</xpath>
<xpath expr="//button[@name='approve_entitlement']" position="attributes">
<attribute name="states" />
<attribute name="attrs">{'invisible': ['!', ('show_approve_button', '=', True)]}</attribute>
<attribute name="invisible"> not show_approve_button</attribute>
<attribute name="class">btn-success oe_read_only</attribute>
</xpath>
</field>
Expand Down

0 comments on commit 267da98

Please sign in to comment.