Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
1967971
[MIG] pos_order_return: Migration to 10.0
chienandalu Apr 24, 2018
08e9c65
[UPD] Update pos_order_return.pot
oca-travis Jun 22, 2018
539c057
[MIG] pos_order_return: Migration to 11.0
kirca Sep 8, 2018
994fab5
[UPD] Update pos_order_return.pot
oca-travis Oct 2, 2018
a763e3c
Use only tilde for section underline in readme fragments
sbidoul Oct 3, 2018
8dfff9d
pos_order_return: no sections in readme fragments
sbidoul Oct 5, 2018
aa231d1
[UPD] README.rst
OCA-git-bot Oct 6, 2018
cbc61b5
[UPD] README.rst
OCA-git-bot Dec 2, 2018
5058c74
Update translation files
oca-transbot Dec 2, 2018
9bc2f62
[FIX] pos_order_return: return picking and invoices
chienandalu Jan 23, 2019
af8a533
Update translation files
oca-transbot Jan 30, 2019
bc8e50a
[UPD] Update pos_order_return.pot
oca-travis Jan 30, 2019
207ca90
Update translation files
oca-transbot Jan 30, 2019
7d229b5
Translated using Weblate (Spanish)
mvrodriguez Mar 1, 2019
99f5d10
[FIX] pos_order_return: ensure test correctness
chienandalu Apr 2, 2019
730e466
[UPD] README.rst
OCA-git-bot Jul 29, 2019
0cd59c9
[MIG] pos_order_return: Migration to 12.0
chienandalu Nov 27, 2019
f83eca0
[UPD] Update pos_order_return.pot
oca-travis Dec 11, 2019
24bab0e
[IMP] pos_order_return: improve description
chienandalu Dec 11, 2019
1bb53c9
Update translation files
oca-transbot Dec 30, 2019
d3e3f61
[ADD] pos_order_return_traceability
dalonsod Feb 5, 2020
ac68eb4
Translated using Weblate (Spanish)
dalonsod Feb 11, 2020
e6c9914
[FIX] pos_order_return: bad image paths in readme segments
legalsylvain Apr 20, 2020
1ae7c5e
[UPD] README.rst
OCA-git-bot Apr 20, 2020
2f09262
pos_order_return 12.0.1.0.1
OCA-git-bot Apr 20, 2020
442211a
[FIX] pos_order_return: prevent error when trying to refund a pos ord…
legalsylvain Apr 25, 2020
5d1f5bd
[UPD] Update pos_order_return.pot
oca-travis Apr 27, 2020
37a1a5f
Update translation files
oca-transbot Apr 27, 2020
6ebe5df
[FIX] Wrong Total on pos order partial return
ajayjaviya Jun 3, 2020
53153e4
[FIX] Partail return on pos order is not working when l10n_fr_pos_cer…
ajayjaviya Jun 3, 2020
2540b3b
[UPD] Update pos_order_return.pot
oca-travis Jun 4, 2020
f7e6954
[UPD] README.rst
OCA-git-bot Jun 4, 2020
5ffc446
pos_order_return 12.0.1.0.2
OCA-git-bot Jun 4, 2020
c519e88
Update translation files
oca-transbot Jun 4, 2020
3fa545b
[FIX] pos_order_return is not computing correctly substotals on full …
ivantodorovich Jun 22, 2020
b25ec19
[UPD] Update pos_order_return.pot
oca-travis Jun 22, 2020
ad09636
pos_order_return 12.0.1.0.3
OCA-git-bot Jun 22, 2020
cc5336c
Update translation files
oca-transbot Jun 22, 2020
efe951e
Added translation using Weblate (Catalan)
brendapaniagua Sep 1, 2020
cd2243d
Translated using Weblate (Catalan)
brendapaniagua Sep 1, 2020
3134d7b
Update translation files
oca-transbot Nov 22, 2020
74bde40
[IMP] pos_order_return: isort, black, prettier.
dsolanki-initos May 26, 2021
c03f702
[MIG] Migrate module pos_order_return to v14.
dsolanki-initos Jun 8, 2021
fed926f
[UPD] Update pos_order_return.pot
oca-travis Jul 16, 2021
32264e8
[UPD] README.rst
OCA-git-bot Jul 16, 2021
682db1f
Added translation using Weblate (Portuguese)
pedrocs-exo Sep 20, 2021
158f4ba
Translated using Weblate (Portuguese)
pedrocs-exo Sep 20, 2021
ecb99de
Added translation using Weblate (Italian)
francesco-ooops Nov 23, 2021
0700874
Translated using Weblate (Italian)
francesco-ooops Dec 3, 2021
7dae82a
Translated using Weblate (Italian)
SicurSam Dec 3, 2021
d59a7c0
Translated using Weblate (Italian)
francesco-ooops Dec 3, 2021
5f0b711
[FIX] pos_order_return : disable buggy test
legalsylvain Mar 29, 2022
9bce046
[UPD] README.rst
OCA-git-bot Apr 1, 2022
73c90ee
pos_order_return 14.0.1.0.1
OCA-git-bot Apr 1, 2022
2cb051d
Translated using Weblate (Catalan)
Noel000 Apr 13, 2022
9a6462e
Translated using Weblate (Italian)
francesco-ooops Jul 4, 2022
22ab3ae
Translated using Weblate (Italian)
francesco-ooops Jan 18, 2023
8650bb6
Translated using Weblate (Italian)
mymage Mar 17, 2023
04ae5fa
[FIX] pos_order_return: make returns properly
chienandalu Apr 21, 2023
c2c3751
[UPD] README.rst
OCA-git-bot May 3, 2023
a22540d
pos_order_return 14.0.1.0.2
OCA-git-bot May 3, 2023
54d3bc2
[FIX] Returns and sales are allowed on the same order.
Jun 20, 2023
0281457
pos_order_return 14.0.1.0.3
OCA-git-bot Jun 29, 2023
7284375
[UPD] README.rst
OCA-git-bot Sep 3, 2023
93dca38
Update translation files
weblate Oct 9, 2023
e45065d
Translated using Weblate (Italian)
mymage Dec 6, 2023
f83b6b5
[FIX] pos_order_return: empty returns
chienandalu Jan 4, 2024
55b56ba
[BOT] post-merge updates
OCA-git-bot Jan 4, 2024
4e15e28
Translated using Weblate (Spanish)
anmarmo1 Feb 23, 2024
326572e
[IMP] pos_order_return: pre-commit auto fixes
nguyenminhchien Oct 20, 2025
0b9f133
[MIG] pos_order_return: Migration to 18.0
nguyenminhchien Oct 23, 2025
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
156 changes: 156 additions & 0 deletions pos_order_return/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
==========================
Point of Sale Order Return
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:29519d20ac1fb1b4f1f67e22a0edd1a4909607663b7c916aee3eae913ad3d074
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/18.0/pos_order_return
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-18-0/pos-18-0-pos_order_return
: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/pos&target_branch=18.0
:alt: Try me on Runboat

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

This module extends the functionality of odoo Point Of Sale about POS
Order returns.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Configuration
=============

In some cases, you may want to block the possibility to allow negative
quantity in a PoS Order, without mentioning initial order. This can
happen for special products like returnable products, etc.

In that case, a checkbox is possible on Product Form View to allow such
case

|image1|

.. |image1| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_order_return/static/description/product_returnable_bottle.png

Usage
=====

Select an PoS Order and choose either *Return Products* (full return of
the order) or *Partial Return*. In this case, a wizard allows to select
just some products and quantities to return:

|image2|

Register the refund payment to finish the return. If the original order
was invoiced, a refund invoice will be made.

**Implemented Constraints**

- User can not return more products than the initial quantity:

|image3|

- If a line has been partially refund, only a reduced quantity can be
returned:

|image4|

- It is not possible to set a negative quantity if the initial Pos
Order is not indicated:

|image5|

.. |image2| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_order_return/static/description/partial_return_wizard.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_order_return/static/description/returned_qty_over_initial.png
.. |image4| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_order_return/static/description/sum_returned_qty_over_initial.png
.. |image5| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_order_return/static/description/initial_pos_order_required.png

Known issues / Roadmap
======================



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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/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/pos/issues/new?body=module:%20pos_order_return%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
-------

* La Louve
* GRAP
* Tecnativa
* Lambda IS

Contributors
------------

- Sylvain LE GAL <https://twitter.com/legalsylvain>
- David Vidal <david.vidal@tecnativa.com>
- Kiril Vangelovski <kiril@lambda-is.com>
- Druidoo <https://www.druidoo.io>
- Dhara Solanki <dhara.solanki@initos.com>
- `Trobz <https://www.trobz.com>`__:

- Nguyen Minh Chien <chien@trobz.com>

Other credits
-------------

Funders
~~~~~~~

The development of this module has been financially supported by:

- La Louve (`www.lalouve.net <http://www.lalouve.net>`__)
- GRAP, Groupement Régional Alimentaire de Proximité
(`www.grap.coop <http://www.grap.coop>`__)

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/pos <https://github.com/OCA/pos/tree/18.0/pos_order_return>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions pos_order_return/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
31 changes: 31 additions & 0 deletions pos_order_return/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2016-2018 Sylvain LE GAL (https://twitter.com/legalsylvain)
# Copyright 2018 David Vidal <david.vidal@tecnativa.com>
# Copyright 2018 Lambda IS DOOEL <https://www.lambda-is.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Point of Sale Order Return",
"version": "18.0.1.0.0",
"category": "Point Of Sale",
"author": "La Louve, "
"GRAP, "
"Tecnativa, "
"Lambda IS, "
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/pos",
"development_status": "Alpha",
"depends": [
"point_of_sale",
],
"data": [
"security/ir.model.access.csv",
"wizard/pos_partial_return_wizard_view.xml",
"views/pos_order_view.xml",
"views/product_product_view.xml",
],
"demo": [
"demo/product_product.xml",
],
"installable": True,
}
18 changes: 18 additions & 0 deletions pos_order_return/demo/product_product.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="product_product_returnable_bottle" model="product.product">
<field name="name">Returnable Bottle</field>
<field name="default_code">RET-BOTL</field>
<field name="categ_id" ref="product.product_category_all" />
<field name="uom_id" ref="uom.product_uom_unit" />
<field name="sale_ok" eval="True" />
<field name="available_in_pos" eval="True" />
<field name="pos_allow_negative_qty" eval="True" />
<field name="list_price" eval="0.20" />
<field
name="image_1920"
type="base64"
file="pos_order_return/static/img/product_returnable_bottle-image.jpg"
/>
</record>
</odoo>
Loading
Loading