Metadata-Version: 2.1
Name: odoo-addon-purchase-stock-picking-return-invoicing
Version: 15.0.1.0.0.3
Summary: Add an option to refund returned pickings
Home-page: https://github.com/OCA/account-invoicing
Author: ForgeFlow, Tecnativa, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 15.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 6 - Mature
Requires-Python: >=3.8
Requires-Dist: odoo (<15.1dev,>=15.0a)

=======================================
Purchase Stock Picking Return Invoicing
=======================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
    :target: https://odoo-community.org/page/development-status
    :alt: Mature
.. |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/15.0/purchase_stock_picking_return_invoicing
    :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-15-0/account-invoicing-15-0-purchase_stock_picking_return_invoicing
    :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/15.0
    :alt: Try me on Runbot

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

This module extends the functionality of purchase orders to better manage
supplier returns and refunds.

In the purchase order you are able to display, for each line:

* Billed Quantity and Refunded Quantity, as separate fields.

* Received Quantity and Returned Refundable Quantity, as separate fields.

You have the option to create a vendor bill or a refund. In the bill or refund
the correct quantity will be proposed, based on those fields.

**Table of contents**

.. contents::
   :local:

Usage
=====

Case 1: When you return to a supplier some products, and you have not yet
received the bill from the supplier

#. Go to *Purchases > Purchase > Purchase Orders > Create*.
#. Choose a supplier and add a product whose *Control Purchase Bills* is
   *On received quantities*, and input some quantity to purchase.
#. Confirm the purchase order.
#. Go to *Shipment > Validate > Apply* so as to receive the quantities ordered.
#. Press the button *Return*.
#. In the wizard *Reverse Transfer* set *Quantity* to the quantity to be
   returned. Press *Return* to complete the wizard. **IMPORTANT**: You have to
   mark "To refund (Update SO/PO)" check before pressing the button.
#. On the return picking press *Validate > Apply*.
#. Go back to the purchase order. You will notice that the field *Returned
   Qty* is now the quantity that was returned.
#. Press the button *Create Bill* to create the vendor bill.
#. The proposed vendor bill will be proposed for the difference between the
   received and the returned quantity.

Case 2: When you return to a supplier some products, and you have already
received a bill from the supplier.

#. Go to *Purchases > Purchase > Purchase Orders > Create*.
#. Choose a supplier and add a product whose *Control Purchase Bills* is
   *On received quantities*, and input some quantity to purchase.
#. Confirm the purchase order.
#. Go to *Shipment > Validate > Apply* so as to receive the quantities ordered.
#. Go back to the purchase order. Press the button *Create Bill* to create
   the vendor bill.
#. The proposed vendor bill will be proposed for the quantity received. The
   *Billing Status* is now 'Fully Billed'
#. Go to the original incoming shipment
#. Press the button *Return*.
#. In the wizard *Reverse Transfer* set *Quantity* to the quantity to be
   returned. Press *Return* to complete the wizard. **IMPORTANT**: You have to
   mark "To refund (Update SO/PO)" check before pressing the button.
#. On the return picking press *Validate > Apply*.
#. Go back to the purchase order. It will have  *Billing Status* as 'Waiting
   Bills'. You will notice that the field *Returned Qty* is now the quantity
   that was returned.
#. Press the button *Refunds* to create the vendor refund bill.
#. The proposed vendor refund bill will be proposed for the quantity that is
   to be refunded.
#. If you back to the purchase order, you will notice that *Billing Status*
   is now 'Fully Billed', even when the quantity ordered does not match
   with the quantity invoiced, because you did return some products.

Remark: If you accept that you will not claim for a refund for the quantity
returned to the supplier, just leave without checking the mark
"To refund (Update SO/PO)" on the return dialog.

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:%20purchase_stock_picking_return_invoicing%0Aversion:%2015.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
~~~~~~~

* ForgeFlow
* Tecnativa

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

* Forgeflow <https://www.forgeflow.com>:

  * Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
  * Juany Davila <juany.davila@forgeflow.com>

* Tecnativa <https://www.tecnativa.com>

  * Pedro M. Baeza

* Ecosoft <https://ecosoft.co.th>

  * Kitti Upariphutthiphong

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-pedrobaeza| image:: https://github.com/pedrobaeza.png?size=40px
    :target: https://github.com/pedrobaeza
    :alt: pedrobaeza
.. |maintainer-MiquelRForgeFlow| image:: https://github.com/MiquelRForgeFlow.png?size=40px
    :target: https://github.com/MiquelRForgeFlow
    :alt: MiquelRForgeFlow

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-pedrobaeza| |maintainer-MiquelRForgeFlow| 

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.


