Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12.0] [MIG] Account Invoice Refund Option #432

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions account_invoice_refund_option/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
=====================
Create Refund Invoice
=====================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github
:target: https://github.com/OCA/account-invoicing/tree/12.0/account_invoice_refund_option
:alt: OCA/account-invoicing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_refund_option
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/95/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of accounting invoices to support setting
an invoice to be a refund and to allow you to create refunds directly, without
the need of refunding an existing normal invoice.

This is useful in several cases:

* You need to make a refund to your customer that doesn't come from any invoice. For example, a rappel refund.
* You have started to use Odoo, but your company is older that the switch to it, and the original invoice is not in new system.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to *Invoicing > Sales > Customer Invoices* or *Invoicing > Purchases >
Vendor Bills* and choose/create a draft invoice.
#. Enable *Is a refund?* to set the invoice as a refund.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/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/OCA/account-invoicing/issues/new?body=module:%20account_invoice_refund_option%0Aversion:%2012.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
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* Jairo Llopis <[email protected]>

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

This module is maintained by the OCA.

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

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.

This module is part of the `OCA/account-invoicing <https://github.com/OCA/account-invoicing/tree/12.0/account_invoice_refund_option>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions account_invoice_refund_option/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions account_invoice_refund_option/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2016 Jairo Llopis <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Create Refund Invoice",
"summary": "Allows you to create directly a refund without starting from "
"an invoice",
"version": "12.0.1.0.0",
"category": "Accounting",
"website": "https://www.tecnativa.com/",
Copy link
Member

@nikul-serpentcs nikul-serpentcs Oct 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ThomasBinsfeld Replace URL as per this

"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": [
"account",
],
"data": [
"views/account_invoice_view.xml",
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_refund_option
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_invoice_refund_option
#: model:ir.model.fields,help:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Indicate if this invoice is a refund."
msgstr ""

#. module: account_invoice_refund_option
#: model:ir.model,name:account_invoice_refund_option.model_account_invoice
msgid "Invoice"
msgstr ""

#. module: account_invoice_refund_option
#: model:ir.model.fields,field_description:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Is a refund?"
msgstr ""

35 changes: 35 additions & 0 deletions account_invoice_refund_option/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_refund_option
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-13 10:33+0000\n"
"PO-Revision-Date: 2016-11-13 10:33+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: account_invoice_refund_option
#: model:ir.model.fields,help:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Indicate if this invoice is a refund."
msgstr ""

#. module: account_invoice_refund_option
#: model:ir.model,name:account_invoice_refund_option.model_account_invoice
msgid "Invoice"
msgstr "فاتورة"

#. module: account_invoice_refund_option
#: model:ir.model.fields,field_description:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Is a refund?"
msgstr ""
34 changes: 34 additions & 0 deletions account_invoice_refund_option/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_refund_option
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-13 10:33+0000\n"
"PO-Revision-Date: 2016-11-13 10:33+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: account_invoice_refund_option
#: model:ir.model.fields,help:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Indicate if this invoice is a refund."
msgstr ""

#. module: account_invoice_refund_option
#: model:ir.model,name:account_invoice_refund_option.model_account_invoice
msgid "Invoice"
msgstr "Фактура"

#. module: account_invoice_refund_option
#: model:ir.model.fields,field_description:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Is a refund?"
msgstr ""
35 changes: 35 additions & 0 deletions account_invoice_refund_option/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_refund_option
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-13 10:33+0000\n"
"PO-Revision-Date: 2016-11-13 10:33+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: account_invoice_refund_option
#: model:ir.model.fields,help:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Indicate if this invoice is a refund."
msgstr ""

#. module: account_invoice_refund_option
#: model:ir.model,name:account_invoice_refund_option.model_account_invoice
msgid "Invoice"
msgstr "Faktura"

#. module: account_invoice_refund_option
#: model:ir.model.fields,field_description:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Is a refund?"
msgstr ""
34 changes: 34 additions & 0 deletions account_invoice_refund_option/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_refund_option
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-13 10:33+0000\n"
"PO-Revision-Date: 2016-11-13 10:33+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: account_invoice_refund_option
#: model:ir.model.fields,help:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Indicate if this invoice is a refund."
msgstr ""

#. module: account_invoice_refund_option
#: model:ir.model,name:account_invoice_refund_option.model_account_invoice
msgid "Invoice"
msgstr "Factura"

#. module: account_invoice_refund_option
#: model:ir.model.fields,field_description:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Is a refund?"
msgstr ""
34 changes: 34 additions & 0 deletions account_invoice_refund_option/i18n/cs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_refund_option
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-13 10:33+0000\n"
"PO-Revision-Date: 2016-11-13 10:33+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: account_invoice_refund_option
#: model:ir.model.fields,help:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Indicate if this invoice is a refund."
msgstr ""

#. module: account_invoice_refund_option
#: model:ir.model,name:account_invoice_refund_option.model_account_invoice
msgid "Invoice"
msgstr "Faktura"

#. module: account_invoice_refund_option
#: model:ir.model.fields,field_description:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Is a refund?"
msgstr ""
35 changes: 35 additions & 0 deletions account_invoice_refund_option/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_refund_option
#
# Translators:
# OCA Transbot <[email protected]>, 2016
# Rudolf Schnapka <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-18 04:00+0000\n"
"PO-Revision-Date: 2017-02-18 04:00+0000\n"
"Last-Translator: Rudolf Schnapka <[email protected]>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: account_invoice_refund_option
#: model:ir.model.fields,help:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Indicate if this invoice is a refund."
msgstr "Diese Rechnung als Rückerstattung kennzeichnen."

#. module: account_invoice_refund_option
#: model:ir.model,name:account_invoice_refund_option.model_account_invoice
msgid "Invoice"
msgstr "RechnungInvoice"

#. module: account_invoice_refund_option
#: model:ir.model.fields,field_description:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Is a refund?"
msgstr "Ist Erstattung?"
35 changes: 35 additions & 0 deletions account_invoice_refund_option/i18n/el_GR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_refund_option
#
# Translators:
# Kostas Goutoudis <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-13 10:33+0000\n"
"PO-Revision-Date: 2016-11-13 10:33+0000\n"
"Last-Translator: Kostas Goutoudis <[email protected]>, 2016\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
"el_GR/)\n"
"Language: el_GR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: account_invoice_refund_option
#: model:ir.model.fields,help:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Indicate if this invoice is a refund."
msgstr ""

#. module: account_invoice_refund_option
#: model:ir.model,name:account_invoice_refund_option.model_account_invoice
msgid "Invoice"
msgstr "Τιμολόγιο"

#. module: account_invoice_refund_option
#: model:ir.model.fields,field_description:account_invoice_refund_option.field_account_invoice_is_refund
msgid "Is a refund?"
msgstr ""
Loading