Metadata-Version: 2.1
Name: odoo-addon-stock_picking_return_refund_option
Version: 18.0.1.0.0.3
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Update the refund options in pickings
Home-page: https://github.com/OCA/account-invoicing
License: AGPL-3
Author: Tecnativa, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 5 - Production/Stable
Description-Content-Type: text/x-rst

==================================
Stock Picking Return Refund Option
==================================

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

.. |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.
