Metadata-Version: 2.1
Name: odoo-addon-stock_picking_batch_planner
Version: 18.0.1.0.1
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Allow planning origin batches/waves from destination batch/wave
Home-page: https://github.com/OCA/stock-logistics-workflow
License: LGPL-3
Author: Moduon, 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 Lesser General Public License v3 (LGPLv3)
Classifier: Development Status :: 3 - Alpha
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

===========================
Stock Picking Batch Planner
===========================

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

.. |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/license-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
    :target: https://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_picking_batch_planner
    :alt: OCA/stock-logistics-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_picking_batch_planner
    :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-workflow&target_branch=18.0
    :alt: Try me on Runboat

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

This module extends the functionality of batch operations in Odoo to
support the direct creation of batches or waves from batches and to
allow you to plan Batches and Waves with a single click based on the
grouping rules defined in the operation type. It also provides smart
buttons to easily access the Waves and Batches linked to the original
Batch, improving traceability and efficiency in warehouse operations.

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

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

This module was developed because in standard Odoo, waves cannot be
directly created from batches in a simple way. In warehouses where
auto-batches are already configured, users need a faster method to
generate batches or waves directly from batches without manually
grouping and creating them one by one. This module introduces a button
that allows planning Batches or Waves directly from Batches, following
the grouping rules defined in the picking type (as already established
for auto-batches).

It will be useful for you if your warehouse operations require creating
Batches or Waves from Batches in just one click, reducing manual work
and ensuring that the grouping logic respects the same fields and
constraints used by auto-batches.

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

1. Go to Inventory > Configuration > Settings and Activate *Batch, Wave
   & Cluster Transfers* and *Multi-Step Routes*.
2. Go to Inventory > Configuration > Warehouses, select one warehouse
   and choose deliver in 2-steps or 3-steps.
3. Go to Inventory > Configuration > Routes, select 2-step or 3-step
   route and change rules to be pull - pull (- pull).
4. Go to Inventory > Configuration > Operations Types, select Pick
   Operation, select 'Planned Batches' and choose a Grouping criteria.

Usage
=====

To use this module, you need to:

Sale Flow:

1. Go to Inventory > Configuration > Warehouses, select one warehouse
   and choose deliver in 2-steps.
2. Go to Inventory > Configuration > Operation Types, choose *Pick*,
   select "Plan Origin" and select your criteria for Batch/Wave
   grouping.
3. Go to Sales > Orders > Orders, create some sale orders and confirm
   them.
4. Go to Inventory > Operations > Jobs > Batch transfers and create a
   new batch.
5. Add pickings of type delivery created from confirm the sales orders.
6. A button **Plan Batches** is displayed if the moves in the batch have
   origin moves and the origin pickings can be grouped in batches or
   origin move lines can be grouped in waves .
7. When you click on this button, the origin move lines will be batched
   according to the criteria configured in operation types.
8. If the batch has origin batch/wave, a smart button is displayed.

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

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

* Moduon

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

- Emilio Pascual (`Moduon <https://www.moduon.team/>`__)
- Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)

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

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

|maintainer-EmilioPascual| |maintainer-Shide| |maintainer-rafaelbn| 

This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_picking_batch_planner>`_ project on GitHub.

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