===============================
Stock - Manual Quant Assignment
===============================

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

.. |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%2Fstock--logistics--warehouse-lightgray.png?logo=github
    :target: https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_quant_manual_assign
    :alt: OCA/stock-logistics-warehouse
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_quant_manual_assign
    :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/stock-logistics-warehouse&target_branch=16.0
    :alt: Try me on Runboat

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

This module allows you to make stock reservations manually in a
transfer, changing the selection that Odoo automatically made.This
functionality is essential for detailed and specific control over
inventory transfers, ensuring that the correct products are moved
between precise locations within the warehouse.

**Table of contents**

.. contents::
   :local:

Use Cases / Context
===================

BUSINESS NEED: In logistics operations, it can be crucial to manually
select specific batches or product units for transfer, especially when
handling products with different expiration dates, lots, or serial
numbers. This level of control ensures that inventory management is
accurate and compliant with quality and traceability requirements. This
module is useful when some of the following cases occur:

-  You work with multiple locations and you want to indicate from which
   specific location you want to reserve the product.
-  You are working with lot or serial numbers and want to indicate a
   specific tracking number for the reservation.

APPROACH: The module addresses this need by providing a tool that allows
the selection and assignment of specific quants directly from each
picking. This is achieved through a wizard that facilitates the manual
selection of the product quantities to be moved, thereby enhancing
flexibility and accuracy in inventory management.

USEFUL INFORMATION: N/A

Usage
=====

Once a planned transfer has been confirmed (manually, or with the
confirmation of a sales order, for example), in order to validate it, it
is first necessary to perform the "check availability" action. By
selecting "check availability", Odoo automatically checks the quantities
in stock necessary to cover the picking demand and reserves the products
to prevent them from being used in other movements.

In order to manually select the quant we want to assign to the transfer,
we have to:

1. Click on the label icon at the end of each move as shown below.

|alt text|

This will show us a wizard like the following:

|image1|

In the form we can see the following information:

-  Lot: The lot/serial number of the products we have on hand. If the
   selected product does not have traceability, it will appear empty.
-  Location: Shows the current location in which the product is in
   stock.
-  On Hand: Quantity on hand in each location and the corresponding
   lot/serial numbers.
-  Other Reserved: Quantity already reserved for another picking.
-  Select: If checked, it allows us to indicate that we are going to
   reserve products from that specific lot and location.
-  Qty: Quantity to be reserved for the current picking.
-  Remaining qty (located at the bottom left): Indicates the quantity
   that could not be reserved due to a lack of available stock.

2. Modify the quantity column and check the Select column, in order to
   define the locations and lot/serial numbers that we need to transfer.

|image2|

3. Click the confirm button in the wizard. With that, the reserved
   quantity will be set/changed to follow the manual assignment. It can
   be checked in the detailed operations of the movement.

|image3|

.. |alt text| image:: https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/16.0/stock_quant_manual_assign/static/description/imagen1.png
.. |image1| image:: https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/16.0/stock_quant_manual_assign/static/description/imagen2.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/16.0/stock_quant_manual_assign/static/description/imagen3.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/16.0/stock_quant_manual_assign/static/description/imagen4.png

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-warehouse/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/stock-logistics-warehouse/issues/new?body=module:%20stock_quant_manual_assign%0Aversion:%2016.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
-------

* AvanzOSC
* Tecnativa
* ForgeFlow
* Fanha Giang

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

-  Mikel Arregi mikelarregi@avanzosc.es

-  Ana Juaristi anajuaristi@avanzosc.es

-  Oihane Crucelaegui oihanecrucelaegi@avanzosc.es

-  Fanha Giang fanha99@hotmail.com

-  ``Tecnativa <https://www.tecnativa.com>``\ \_:

   -  Pedro M. Baeza pedro.baeza@tecnativa.com
   -  Vicent Cubells vicent.cubells@tecnativa.com

-  ``ForgeFlow <https://www.forgeflow.com>``\ \_:

   -  Jordi Ballester jordi.ballester@forgeflow.com
   -  Lois Rilo lois.rilo@forgeflow.com

-  ``Shine IT <https://www.openerp.cn>``\ \_:

   -  Tony Gu tony@openerp.cn

-  ``Quartile <https://www.quartile.co>``\ \_:

   -  Yoshi Tashiro

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/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_quant_manual_assign>`_ project on GitHub.

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