Skip to content

Commit

Permalink
fix precommit
Browse files Browse the repository at this point in the history
pre-commit fixes
  • Loading branch information
davidwul committed Oct 11, 2024
1 parent 0ca8a43 commit b70b77a
Show file tree
Hide file tree
Showing 14 changed files with 571 additions and 95 deletions.
47 changes: 25 additions & 22 deletions account_reconcile_checkout/README.rst
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
==========================================
=================================
Reconcile tools for Compassion CH
==========================================
=================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0e57ca6729267a49293f58a3dac4b4e90a7138fe7da8249cea5670b84ff4c64a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
Expand All @@ -14,13 +17,18 @@ Reconcile tools for Compassion CH
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-CompassionCH%2Fcompassion--switzerland-lightgray.png?logo=github
:target: https://github.com/CompassionCH/compassion-switzerland/tree/11.0/account_reconcile_compassion
:target: https://github.com/CompassionCH/compassion-switzerland/tree/14.0/account_reconcile_checkout
:alt: CompassionCH/compassion-switzerland

|badge1| |badge2| |badge3|
|badge1| |badge2| |badge3|

Reconcile rules with bvr_ref of invoice for Compassion CH.

It finds a matching invoice for the move_line and reconciles only if the amount of the payment corresponds or if it is a multiple of the invoice amount. If many invoices are found, the first reconciled invoice is the current invoice (last invoice that is not in future). Then it reconciles the other invoices from last invoice to first.
It finds a matching invoice for the move_line and reconciles only if the
amount of the payment corresponds or if it is a multiple of the invoice
amount. If many invoices are found, the first reconciled invoice is the
current invoice (last invoice that is not in future). Then it reconciles
the other invoices from last invoice to first.

**Table of contents**

Expand All @@ -31,45 +39,40 @@ Configuration
=============



Usage
=====

To use this module, you need to:

- Go to Accounting -> Action -> Reconcile outstanding

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

Bugs are tracked on `GitHub Issues <https://github.com/CompassionCH/compassion-switzerland/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/CompassionCH/compassion-switzerland/issues/new?body=module:%20account_reconcile_compassion%0Aversion:%2011.0%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/CompassionCH/compassion-switzerland/issues/new?body=module:%20account_reconcile_checkout%0Aversion:%2014.0%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
~~~~~~~
-------

* Compassion CH

Contributors
~~~~~~~~~~~~
------------

* Emanuel Cino <ecino@compassion.ch>
- Emanuel Cino <ecino@compassion.ch>

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

This module is maintained by Compassion Switzerland.

.. image:: https://upload.wikimedia.org/wikipedia/en/8/83/CompassionInternationalLogo.png
:alt: Compassion Switzerland
:target: https://www.compassion.ch

Compassion Switzerland is a nonprofit organization whose
mission is to release children from extreme poverty in Jesus name.
-----------

This module is part of the `CompassionCH/compassion-switzerland <https://github.com/CompassionCH/compassion-switzerland/tree/11.0/account_reconcile_compassion>`_ project on GitHub.
This module is part of the `CompassionCH/compassion-switzerland <https://github.com/CompassionCH/compassion-switzerland/tree/14.0/account_reconcile_checkout>`_ project on GitHub.

You are welcome to contribute.
8 changes: 3 additions & 5 deletions account_reconcile_checkout/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@
"author": "Compassion CH",
"license": "AGPL-3",
"category": "Finance",
"website": "http://www.compassion.ch",
"website": "https://github.com/CompassionCH/compassion-switzerland",
"depends": [
"account",
"payment_postfinance_flex" # paid-addons
"payment_postfinance_flex", # paid-addons
],
"external_dependencies": {"python": [
"postfinancecheckout"
]},
"external_dependencies": {"python": ["postfinancecheckout"]},
"data": [
"security/ir.model.access.csv",
"views/reconcile_outstanding_wizard_view.xml",
Expand Down
Empty file.
3 changes: 0 additions & 3 deletions account_reconcile_checkout/readme/CONFIGURE.rst

This file was deleted.

1 change: 1 addition & 0 deletions account_reconcile_checkout/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Emanuel Cino \<<ecino@compassion.ch>\>
1 change: 0 additions & 1 deletion account_reconcile_checkout/readme/CONTRIBUTORS.rst

This file was deleted.

7 changes: 7 additions & 0 deletions account_reconcile_checkout/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Reconcile rules with bvr_ref of invoice for Compassion CH.

It finds a matching invoice for the move_line and reconciles only if the
amount of the payment corresponds or if it is a multiple of the invoice
amount. If many invoices are found, the first reconciled invoice is the
current invoice (last invoice that is not in future). Then it reconciles
the other invoices from last invoice to first.
6 changes: 0 additions & 6 deletions account_reconcile_checkout/readme/DESCRIPTION.rst

This file was deleted.

3 changes: 3 additions & 0 deletions account_reconcile_checkout/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
To use this module, you need to:

- Go to Accounting -\> Action -\> Reconcile outstanding
3 changes: 0 additions & 3 deletions account_reconcile_checkout/readme/USAGE.rst

This file was deleted.

Loading

0 comments on commit b70b77a

Please sign in to comment.