Skip to content

Commit

Permalink
Merge a7c8446 into f9d0c6c
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis M. Ontalba committed Apr 4, 2018
2 parents f9d0c6c + a7c8446 commit d1df0bd
Show file tree
Hide file tree
Showing 52 changed files with 13,093 additions and 0 deletions.
75 changes: 75 additions & 0 deletions account_payment_return/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

=================================
Returned Customers Payment Orders
=================================

This module implements customer receivables returns and allows to send
related reconciled account move lines back to a state where the debt is still
open, and letting history of it.

This module can be extended adding importers that automatically fills the
full returned payment record.

Usage
=====

#. Go to Invoicing > Sales > Customer Payment Returns, and create a new
record, register on each line a paid (reconciled) receivable journal item,
and input the amount that is going to be returned.

Another option to fill info is setting references and click match button to
find matches with invoices, move lines or moves. This functionality is extended
by other modules as *account_payment_return_import_sepa_pain*

#. It's possible to add bank charges amount on each line.

#. Next, press button "Confirm" to create a new move line that removes the
balance from the bank journal and reconcile items together to show payment
history through it.

#. After confirmation you can access from the payment form view to the move
created.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/96/11.0

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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/account-payment/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.

Credits
=======

Contributors
------------
* 7 i TRIA <http://www.7itria.cat>
* Avanzosc <http://www.avanzosc.com>
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Markus Schneider <markus.schneider@initos.com>
* Sergio Teruel <sergio.teruel@tecnativa.com>
* Carlos Dauden <carlos.dauden@tecnativa.com>
* David Vidal <david.vidal@tecnativa.com>
* Luis M. Ontalba <luis.martinez@tecnativa.com>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.
3 changes: 3 additions & 0 deletions account_payment_return/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
37 changes: 37 additions & 0 deletions account_payment_return/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2011-2012 7 i TRIA <http://www.7itria.cat>
# Copyright 2011-2012 Avanzosc <http://www.avanzosc.com>
# Copyright 2013 Pedro M. Baeza <pedro.baeza@tecnativa.com>
# Copyright 2014 Markus Schneider <markus.schneider@initos.com>
# Copyright 2015 Sergio Teruel <sergio.teruel@tecnativa.com>
# Copyright 2015-2017 Pedro M. Baeza <pedro.baeza@tecnativa.com>
# Copyright 2016 Carlos Dauden <carlos.dauden@tecnativa.com>
# Copyright 2017 David Vidal <david.vidal@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Account Payment Returns",
"version": "11.0.1.0.0",
"summary": "Manage the return of your payments",
'license': 'AGPL-3',
"depends": [
'mail',
'account',
],
'author': '7 i TRIA, '
'Tecnativa, '
'initOS GmbH & Co., '
'Odoo Community Association (OCA)',
'website': 'https://www.tecnativa.com',
'data': [
'security/ir.model.access.csv',
'security/account_payment_return_security.xml',
'views/payment_return_view.xml',
'views/account_journal_view.xml',
'data/ir_sequence_data.xml',
'views/account_invoice_view.xml',
],
'qweb': [
"static/src/xml/account_payment.xml",
],
'installable': True,
}
18 changes: 18 additions & 0 deletions account_payment_return/data/ir_sequence_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2015 Pedro M. Baeza <pedro.baeza@tecnativa.com>
Copyright 2015 Sergio Teruel <sergio.teruel@tecnativa.com>
Copyright 2016 Carlos Dauden <carlos.dauden@tecnativa.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3). -->
<odoo noupdate="1">
<data>

<record id="seq_payment_return" model="ir.sequence">
<field name="name">Payment return</field>
<field name="code">payment.return</field>
<field name="prefix">R%(year)s/</field>
<field name="padding">3</field>
<field name="company_id" eval="False"/>
</record>

</data>
</odoo>
Loading

0 comments on commit d1df0bd

Please sign in to comment.