Skip to content

Commit

Permalink
account_payment_return: This module implements the return of invoice …
Browse files Browse the repository at this point in the history
…payments.
  • Loading branch information
sergio-teruel committed Mar 16, 2020
1 parent aa811f3 commit 295be55
Show file tree
Hide file tree
Showing 17 changed files with 1,405 additions and 0 deletions.
32 changes: 32 additions & 0 deletions account_payment_return/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Payment orders returns
======================

Features:
---------

* This module implements the return of invoice payments and allows to catch several reconciled account move lines, to give back to a state where the debt is still open, and letting history of it.


Credits
=======

Contributors
------------
* 7 i TRIA <http://www.7itria.cat>
* Avanzosc <http://www.avanzosc.com>
* Pedro M. Baeza <pedro.baeza at serviciosbaeza.com>
* Markus Schneider <markus.schneider at initos.com>
* Sergio Teruel <sergio at incaser.es>

Maintainer
----------

.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://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 http://odoo-community.org.
28 changes: 28 additions & 0 deletions account_payment_return/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (c) 2011-2012 7 i TRIA <http://www.7itria.cat>
# Copyright (c) 2011-2012 Avanzosc <http://www.avanzosc.com>
# Copyright (c) 2013 Serv. Tecnol. Avanzados <http://www.serviciosbaeza.com>
# Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
# Copyright (c) 2014 initOS GmbH & Co. KG <http://initos.com/>
# Markus Schneider <markus.schneider at initos.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

from . import models

46 changes: 46 additions & 0 deletions account_payment_return/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (c) 2011-2012 7 i TRIA <http://www.7itria.cat>
# Copyright (c) 2011-2012 Avanzosc <http://www.avanzosc.com>
# Copyright (c) 2013 Serv. Tecnol. Avanzados <http://www.serviciosbaeza.com>
# Pedro M. Baeza <pedro.baeza at serviciosbaeza.com>
# Copyright (c) 2014 initOS GmbH & Co. KG <http://initos.com/>
# Markus Schneider <markus.schneider at initos.com>
# Copyright (c) 2015 Incaser Informatica <http://www.incaser.es/>
# Sergio Teruel <sergio at incaser.es>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################


{
"name": "Account Payment Return",
"version": "1.0",
'license': 'AGPL-3',
"depends": ['mail', 'account'],
'author': 'Serv. Tecnol. Avanzados - Pedro M. Baeza',
'website': 'http://www.serviciosbaeza.com',
'data': [
'security/ir.model.access.csv',
'security/account_payment_return_security.xml',
'views/payment_return_view.xml',
'data/ir_sequence_data.xml',
'views/account_invoice_view.xml',
],
'demo': [],
'installable': True,
}
19 changes: 19 additions & 0 deletions account_payment_return/data/ir_sequence_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">

<record id="seq_payment_return_type" model="ir.sequence.type">
<field name="name">Payment Return</field>
<field name="code">payment.return</field>
</record>

<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>
</openerp>
Loading

0 comments on commit 295be55

Please sign in to comment.