-
-
Notifications
You must be signed in to change notification settings - Fork 688
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
ThomasBinsfeld
wants to merge
14
commits into
OCA:12.0
from
acsone:12-mig_account_invoice_refund_option_tbi
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
519da3d
[9.0][ADD][account_invoice_refund_option] Create refund invoices dire…
yajo d55a123
[IMP] account_invoice_refund_option: Use cases for README
pedrobaeza 9163203
OCA Transbot updated translations from Transifex
oca-transbot 96de5f0
OCA Transbot updated translations from Transifex
oca-transbot 8b23d0b
OCA Transbot updated translations from Transifex
oca-transbot 20bb095
OCA Transbot updated translations from Transifex
oca-transbot 9ba3e34
OCA Transbot updated translations from Transifex
oca-transbot dd96d4b
OCA Transbot updated translations from Transifex
oca-transbot e192e81
[UPD] Update account_invoice_refund_option.pot
oca-travis 2313d14
Translated using Weblate (French)
ThomasBinsfeld dd0c784
Translated using Weblate (French)
ThomasBinsfeld db63b28
[MIG] account_invoice_refund_option from 9.0 to 11.0
ThomasBinsfeld d1a49d6
[MIG] account_invoice_refund_option from 11.0 to 12.0
ThomasBinsfeld fa25f1e
[ADD] Account Invoice Refund Option: setup for 12.0
ThomasBinsfeld File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -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. |
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 @@ | ||
from . import models |
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,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/", | ||
"author": "Tecnativa, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"depends": [ | ||
"account", | ||
], | ||
"data": [ | ||
"views/account_invoice_view.xml", | ||
], | ||
} |
30 changes: 30 additions & 0 deletions
30
account_invoice_refund_option/i18n/account_invoice_refund_option.pot
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,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 "" | ||
|
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,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 "" |
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,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 "" |
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,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 "" |
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,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 "" |
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,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 "" |
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,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?" |
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,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 "" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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