-
-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
20 changed files
with
1,222 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,148 @@ | ||
================================== | ||
Stock Picking Return Refund Option | ||
================================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:faadfb1fb3ffb287a70b251e5ae89daa22f18cce203e1e3878cfbf21a6c5fc3e | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Production/Stable | ||
.. |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/18.0/stock_picking_return_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-18-0/account-invoicing-18-0-stock_picking_return_refund_option | ||
: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/account-invoicing&target_branch=18.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module extends the functionality of sales and purchase orders to | ||
support modify stock move field to_refund after it has been confirmed. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Installation | ||
============ | ||
|
||
1. This module requires the additional installation of sale_stock or | ||
purchase modules for enabling the features it contains. | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, when some customer returns some refundable products | ||
to you after you created an invoice, you need to: | ||
|
||
For a sale order: | ||
|
||
1. Go to *Sales > Sales Orders > Create*. | ||
2. Choose a customer and add a product whose *Invoicing Policy* is | ||
*Delivered quantities*, and input some quantity to sell. | ||
3. Confirm the sale. | ||
4. Go to *Delivery > Validate > Apply*. | ||
5. Return to the sale order. | ||
6. Press *Create Invoice > Invoiceable lines > Create and View | ||
Invoices*. | ||
7. The created invoice's amount is the same you sold. | ||
8. Return to the sale order. | ||
9. Go to *Delivery > Return*. | ||
10. Set *Quantity* to a lower quantity than the sold one, and enable *To | ||
Refund*. | ||
11. Press *Return > Validate > Apply*. | ||
12. Return to the sale order. | ||
13. Press *Create Invoice > Invoiceable lines (deduct down payments) > | ||
Create and View Invoices*. | ||
14. A refund is created for the quantity you returned before. | ||
|
||
For allowing to refund quantities after the picking has been confirmed | ||
if you did not check 'to refund' in wizard, you can change the value of | ||
'Refund Options' field. | ||
|
||
To use this module, when you return some refundable products to your | ||
supplier after you created an invoice, you need to: | ||
|
||
1. Go to *Purchase > Purchase Orders > Create*. | ||
2. Choose a supplier and add a product whose *Invoicing Policy* is | ||
*Delivered quantities*, and input some quantity to buy. | ||
3. Confirm the order. | ||
4. Go to *Delivery > Validate > Apply*. | ||
5. Return to the purchase order. | ||
6. Press on smart button "Invoices" and create one. | ||
7. The created invoice's amount is the same you sold. | ||
8. Return to the purchase order. | ||
9. Go to *Delivery > Return*. | ||
10. Set *Quantity* to a lower quantity than you bought, and enable *To | ||
Refund*. | ||
11. Press *Return > Validate > Apply*. | ||
12. Return to the purchase order. | ||
|
||
For allowing to refund quantities after the picking has been confirmed | ||
if you did not check 'to refund' in wizard, you can change the value of | ||
'Refund Options' field. | ||
|
||
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 to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/account-invoicing/issues/new?body=module:%20stock_picking_return_refund_option%0Aversion:%2018.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 | ||
------------ | ||
|
||
- `Tecnativa <https://www.tecnativa.com>`__: | ||
|
||
- Sergio Teruel | ||
- César A. Sánchez | ||
- Carlos Roca | ||
|
||
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. | ||
|
||
.. |maintainer-sergio-teruel| image:: https://github.com/sergio-teruel.png?size=40px | ||
:target: https://github.com/sergio-teruel | ||
:alt: sergio-teruel | ||
|
||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-sergio-teruel| | ||
|
||
This module is part of the `OCA/account-invoicing <https://github.com/OCA/account-invoicing/tree/18.0/stock_picking_return_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,3 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
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,17 @@ | ||
# Copyright 2018 Tecnativa - Sergio Teruel | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Stock Picking Return Refund Option", | ||
"summary": "Update the refund options in pickings", | ||
"version": "18.0.1.0.0", | ||
"development_status": "Production/Stable", | ||
"category": "Sales", | ||
"website": "https://github.com/OCA/account-invoicing", | ||
"author": "Tecnativa, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"depends": ["stock_account", "purchase_stock", "sale_stock"], | ||
"data": ["views/stock_picking_view.xml"], | ||
"maintainers": ["sergio-teruel"], | ||
} |
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,58 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_picking_return_refund_option | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 15.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2022-08-09 10:06+0000\n" | ||
"Last-Translator: jabelchi <[email protected]>\n" | ||
"Language-Team: none\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" | ||
"X-Generator: Weblate 4.3.2\n" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields,field_description:stock_picking_return_refund_option.field_stock_picking__is_return | ||
msgid "Is Return" | ||
msgstr "És devolució" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields.selection,name:stock_picking_return_refund_option.selection__stock_picking__to_refund_lines__no_refund | ||
msgid "No Refund" | ||
msgstr "" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields,field_description:stock_picking_return_refund_option.field_stock_picking__to_refund_lines | ||
#: model_terms:ir.ui.view,arch_db:stock_picking_return_refund_option.view_picking_form | ||
msgid "Refund Options" | ||
msgstr "Opcions de devolució" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model,name:stock_picking_return_refund_option.model_stock_move | ||
msgid "Stock Move" | ||
msgstr "Moviment d'estoc" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields,help:stock_picking_return_refund_option.field_stock_picking__to_refund_lines | ||
msgid "" | ||
"This field allow modify 'to_refund' field value in all stock moves from this " | ||
"picking after it has been confirmed.to_refund: set all stock moves to True " | ||
"value and recompute delivered quantities in sale order.\n" | ||
"no_refund: set all stock moves to False value and recompute delivered " | ||
"quantities in sale/purchase order." | ||
msgstr "" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields.selection,name:stock_picking_return_refund_option.selection__stock_picking__to_refund_lines__to_refund | ||
msgid "To Refund" | ||
msgstr "" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model,name:stock_picking_return_refund_option.model_stock_picking | ||
msgid "Transfer" | ||
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,70 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_picking_return_refund_option | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2019-12-04 17:16+0000\n" | ||
"PO-Revision-Date: 2019-12-04 18:17+0100\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"Language: es_ES\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"X-Generator: Poedit 2.0.6\n" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields,field_description:stock_picking_return_refund_option.field_stock_picking__is_return | ||
msgid "Is Return" | ||
msgstr "Es devolución" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields.selection,name:stock_picking_return_refund_option.selection__stock_picking__to_refund_lines__no_refund | ||
msgid "No Refund" | ||
msgstr "No abonar" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields,field_description:stock_picking_return_refund_option.field_stock_picking__to_refund_lines | ||
#: model_terms:ir.ui.view,arch_db:stock_picking_return_refund_option.view_picking_form | ||
msgid "Refund Options" | ||
msgstr "Opciones de devolución" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model,name:stock_picking_return_refund_option.model_stock_move | ||
msgid "Stock Move" | ||
msgstr "Movimiento de stock" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields,help:stock_picking_return_refund_option.field_stock_picking__to_refund_lines | ||
msgid "" | ||
"This field allow modify 'to_refund' field value in all stock moves from this " | ||
"picking after it has been confirmed.to_refund: set all stock moves to True " | ||
"value and recompute delivered quantities in sale order.\n" | ||
"no_refund: set all stock moves to False value and recompute delivered " | ||
"quantities in sale/purchase order." | ||
msgstr "" | ||
"Este campo permite modificar el valor del campo 'para abonar en el pedido' " | ||
"de todos los movimientos de stock del albarán después de que haya sido " | ||
"confirmado.\n" | ||
"Para abonar en el pedido: Actualiza todos los movimientos de stock con el " | ||
"valor a 'verdadero' y recalcula las unidades entregadas del pedido de " | ||
"venta.\n" | ||
"No abonar en el pedido: Actualiza todos los movimientos de stock con el " | ||
"valor a 'falso' y recalcula las unidades entregadas del pedido de venta." | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields.selection,name:stock_picking_return_refund_option.selection__stock_picking__to_refund_lines__to_refund | ||
msgid "To Refund" | ||
msgstr "Para abonar" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model,name:stock_picking_return_refund_option.model_stock_picking | ||
msgid "Transfer" | ||
msgstr "Transferir" | ||
|
||
#~ msgid "Return Picking" | ||
#~ msgstr "Albarán de devolución" |
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,61 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_picking_return_refund_option | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2024-02-27 18:35+0000\n" | ||
"Last-Translator: mymage <[email protected]>\n" | ||
"Language-Team: none\n" | ||
"Language: it\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" | ||
"X-Generator: Weblate 4.17\n" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields,field_description:stock_picking_return_refund_option.field_stock_picking__is_return | ||
msgid "Is Return" | ||
msgstr "È un reso" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields.selection,name:stock_picking_return_refund_option.selection__stock_picking__to_refund_lines__no_refund | ||
msgid "No Refund" | ||
msgstr "Non rimborsato" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields,field_description:stock_picking_return_refund_option.field_stock_picking__to_refund_lines | ||
#: model_terms:ir.ui.view,arch_db:stock_picking_return_refund_option.view_picking_form | ||
msgid "Refund Options" | ||
msgstr "Opzioni rimborso" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model,name:stock_picking_return_refund_option.model_stock_move | ||
msgid "Stock Move" | ||
msgstr "Movimento di magazzino" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields,help:stock_picking_return_refund_option.field_stock_picking__to_refund_lines | ||
msgid "" | ||
"This field allow modify 'to_refund' field value in all stock moves from this picking after it has been confirmed.to_refund: set all stock moves to True value and recompute delivered quantities in sale order.\n" | ||
"no_refund: set all stock moves to False value and recompute delivered quantities in sale/purchase order." | ||
msgstr "" | ||
"Questo campo consente di modificare il valore del campo 'to_refund' in tutti " | ||
"i movimenti di magazzino da questo prelievo dopo che è stato confermato. " | ||
"To_refund: imposta il valore a True in tutti i movimenti di magazzino e " | ||
"ricalcola le quantità consegnate nell'ordine di vendita. \n" | ||
"No_refund: imposta il valore a False in tutti i movimenti di magazzino e " | ||
"ricalcola le quantità consegnate nell'ordine di vendita/acquisto." | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model.fields.selection,name:stock_picking_return_refund_option.selection__stock_picking__to_refund_lines__to_refund | ||
msgid "To Refund" | ||
msgstr "Da rimborsare" | ||
|
||
#. module: stock_picking_return_refund_option | ||
#: model:ir.model,name:stock_picking_return_refund_option.model_stock_picking | ||
msgid "Transfer" | ||
msgstr "Trasferimento" |
Oops, something went wrong.