forked from OCA/donation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Move code from donation to donation_direct_debit
This is a forward-port of PR OCA#122 from 14.0 to 16.0
- Loading branch information
1 parent
7c73472
commit 6b3d7e6
Showing
17 changed files
with
167 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Donation | |
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:2293e7e2e2c085acf9a1787db4ce3e599d8579af9d329b7a506b67f300566cec | ||
!! source digest: sha256:9a98f908b31390f0123ec3d830d465e40a0a55fbcea7ed88138bb7d19c8236d7 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
|
@@ -17,22 +17,27 @@ Donation | |
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdonation-lightgray.png?logo=github | ||
:target: https://github.com/OCA/donation/tree/16.0/donation | ||
:target: https://github.com/OCA/donation/tree/17.0/donation | ||
:alt: OCA/donation | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/donation-16-0/donation-16-0-donation | ||
:target: https://translation.odoo-community.org/projects/donation-17-0/donation-17-0-donation | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/donation&target_branch=16.0 | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/donation&target_branch=17.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module handles donations by cash, check or by credit transfer and generate the corresponding journal entries and tax receipts. To fully support donations by credit transfer, if you are using the OCA bank statement reconcile interface, you also need the module **donation_bank_statement_oca**. | ||
This module handles donations by cash, check or by credit transfer and | ||
generate the corresponding journal entries and tax receipts. To fully | ||
support donations by credit transfer, if you are using the OCA bank | ||
statement reconcile interface, you also need the module | ||
**donation_bank_statement_oca**. | ||
|
||
This module will assist you in writing a thanks letter. | ||
|
||
This module also supports in-kind donations (in-kind donations don't generate any accounting entry but can generate a tax receipt). | ||
This module also supports in-kind donations (in-kind donations don't | ||
generate any accounting entry but can generate a tax receipt). | ||
|
||
**Table of contents** | ||
|
||
|
@@ -44,61 +49,83 @@ Configuration | |
|
||
To configure this module, you need to: | ||
|
||
* create donation products | ||
* make sure you have an inbound payment mode for each payment mode used to receive donations. This payment mode must be configured with *Link to Bank Account* set to *Fixed* and with the donation option active. | ||
* if you wish to have a control amount on the donation, add the users to the group *Donation Check Total* | ||
- create donation products | ||
- make sure you have an inbound payment mode for each payment mode | ||
used to receive donations. This payment mode must be configured | ||
with *Link to Bank Account* set to *Fixed* and with the donation | ||
option active. | ||
- if you wish to have a control amount on the donation, add the | ||
users to the group *Donation Check Total* | ||
|
||
If you receive donations via credit transfer, you must also: | ||
|
||
* in the configuration page *Invoicing > Configuration > Settings*, in the *Donations* section, select the product that will be used for donations by credit transfer. | ||
* on the bank journals corresponding to the bank accounts on which you receive donations by credit transfer, in the *Payments Configuration* tab, select the *Donation by credit transfer account*. This account must allow reconciliation. | ||
* Make sure that the accountant that processes bank statements has *User* access level or higher on the *Donation* application. | ||
- in the configuration page *Invoicing > Configuration > Settings*, in | ||
the *Donations* section, select the product that will be used for | ||
donations by credit transfer. | ||
- on the bank journals corresponding to the bank accounts on which you | ||
receive donations by credit transfer, in the *Payments Configuration* | ||
tab, select the *Donation by credit transfer account*. This account | ||
must allow reconciliation. | ||
- Make sure that the accountant that processes bank statements has | ||
*User* access level or higher on the *Donation* application. | ||
|
||
Usage | ||
===== | ||
|
||
This module handles donations by cash, check or by credit transfer: | ||
|
||
* for donation by cash or check, you should first create a new donation and validate it. Then, if you have the module *account_check_deposit* from the project `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools>`_, you can create a check deposit. | ||
* for a donation by credit transfer, the process is different: import your bank statement file and, while processing it, you will see a donation button that allow you to create a new donation directly from the bank statement reconcile interface. | ||
- for donation by cash or check, you should first create a new donation | ||
and validate it. Then, if you have the module *account_check_deposit* | ||
from the project | ||
`OCA/account-financial-tools <https://github.com/OCA/account-financial-tools>`__, | ||
you can create a check deposit. | ||
- for a donation by credit transfer, the process is different: import | ||
your bank statement file and, while processing it, you will see a | ||
donation button that allow you to create a new donation directly from | ||
the bank statement reconcile interface. | ||
|
||
When you validate a donation: | ||
|
||
* it will create a journal entry that goes directly from the revenue account to the payment account without going through a receivable account. | ||
* if the tax receipt option of the donor is configured as *For Each Donation* and the product of the donation line is eligible to a tax receipt, it will generate the tax receipt. | ||
- it will create a journal entry that goes directly from the revenue | ||
account to the payment account without going through a receivable | ||
account. | ||
- if the tax receipt option of the donor is configured as *For Each | ||
Donation* and the product of the donation line is eligible to a tax | ||
receipt, it will generate the tax receipt. | ||
|
||
To have some statistics about the donations, go to the menu Donation > Reporting > Donations Analysis. | ||
To have some statistics about the donations, go to the menu Donation > | ||
Reporting > Donations Analysis. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/donation/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/OCA/donation/issues/new?body=module:%20donation%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
`feedback <https://github.com/OCA/donation/issues/new?body=module:%20donation%0Aversion:%2017.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 | ||
~~~~~~~ | ||
------- | ||
|
||
* Barroux Abbey | ||
* Akretion | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
------------ | ||
|
||
* Brother Bernard <informatique - at - barroux.org> | ||
* Brother Irénée (Barroux Abbey) | ||
* Alexis de Lattre <[email protected]> | ||
* Serpent Consulting Services Pvt. Ltd. <[email protected]> | ||
* Nikul Chaudhary <[email protected]> | ||
- Brother Bernard <informatique - at - barroux.org> | ||
- Brother Irénée (Barroux Abbey) | ||
- Alexis de Lattre <[email protected]> | ||
- Serpent Consulting Services Pvt. Ltd. <[email protected]> | ||
- Nikul Chaudhary <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
|
@@ -118,6 +145,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | |
|
||
|maintainer-alexis-via| | ||
|
||
This module is part of the `OCA/donation <https://github.com/OCA/donation/tree/16.0/donation>`_ project on GitHub. | ||
This module is part of the `OCA/donation <https://github.com/OCA/donation/tree/17.0/donation>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
To configure this module, you need to: | ||
|
||
> - create donation products | ||
> - make sure you have an inbound payment mode for each payment mode | ||
> used to receive donations. This payment mode must be configured with | ||
> *Link to Bank Account* set to *Fixed* and with the donation option | ||
> active. | ||
> - if you wish to have a control amount on the donation, add the users | ||
> to the group *Donation Check Total* | ||
If you receive donations via credit transfer, you must also: | ||
|
||
- in the configuration page *Invoicing \> Configuration \> Settings*, in | ||
the *Donations* section, select the product that will be used for | ||
donations by credit transfer. | ||
- on the bank journals corresponding to the bank accounts on which you | ||
receive donations by credit transfer, in the *Payments Configuration* | ||
tab, select the *Donation by credit transfer account*. This account | ||
must allow reconciliation. | ||
- Make sure that the accountant that processes bank statements has | ||
*User* access level or higher on the *Donation* application. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- Brother Bernard \<informatique - at - barroux.org\> | ||
- Brother Irénée (Barroux Abbey) | ||
- Alexis de Lattre \<<[email protected]>\> | ||
- Serpent Consulting Services Pvt. Ltd. \<<[email protected]>\> | ||
- Nikul Chaudhary \<<[email protected]>\> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This module handles donations by cash, check or by credit transfer and | ||
generate the corresponding journal entries and tax receipts. To fully | ||
support donations by credit transfer, if you are using the OCA bank | ||
statement reconcile interface, you also need the module | ||
**donation_bank_statement_oca**. | ||
|
||
This module will assist you in writing a thanks letter. | ||
|
||
This module also supports in-kind donations (in-kind donations don't | ||
generate any accounting entry but can generate a tax receipt). |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
This module handles donations by cash, check or by credit transfer: | ||
|
||
- for donation by cash or check, you should first create a new donation | ||
and validate it. Then, if you have the module *account_check_deposit* | ||
from the project | ||
[OCA/account-financial-tools](https://github.com/OCA/account-financial-tools), | ||
you can create a check deposit. | ||
- for a donation by credit transfer, the process is different: import | ||
your bank statement file and, while processing it, you will see a | ||
donation button that allow you to create a new donation directly from | ||
the bank statement reconcile interface. | ||
|
||
When you validate a donation: | ||
|
||
- it will create a journal entry that goes directly from the revenue | ||
account to the payment account without going through a receivable | ||
account. | ||
- if the tax receipt option of the donor is configured as *For Each | ||
Donation* and the product of the donation line is eligible to a tax | ||
receipt, it will generate the tax receipt. | ||
|
||
To have some statistics about the donations, go to the menu Donation \> | ||
Reporting \> Donations Analysis. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.