==================================
Stock Picking Batch Print Invoices
==================================

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

.. |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-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/16.0/stock_picking_batch_print_invoices
    :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-16-0/stock-logistics-workflow-16-0-stock_picking_batch_print_invoices
    :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=16.0
    :alt: Try me on Runboat

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

This module extends the functionality of stock batch pickings and to
allows you to print multiple invoices from batches. You can configure a
type operation for print only *invoices*, *invoices and pickings* or
*invoices or pickings*

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

Food wholesalers have very little time to fill all their trucks with the
goods that are planned to be sold on that day.

There is no time to waste when it comes to printing multiple delivery
notes and invoices. When it is done, it is necessary to print multiple
copies of these documents. It is faster to distribute them if they are
all together.

This module was developed to cover this or a similar use case, and
increase efficiency when filling many trucks.

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

To configure this module, you need to:

Activate Batch Transfers:

1. Go to Inventory > Configuration > Settings > Operations.
2. Activate Batch Transfers

Activate invoice printing from batch:

1. Go to Inventory > Configuration > Operation Types.
2. Choose one already created or create new operation type.
3. Select *Invoices, Invoices and Pickings or Invoices or Pickings* in
   **Print documents from batch**.
4. Fill in the number of copies you want.

Usage
=====

To use this module, you need to:

1.  Go to Sales > Orders > Quotations.
2.  Create some new quotations with storable products.
3.  Confirm quotation.
4.  Go to Inventory > Operations > Batch Transfers.
5.  Create new batch and add deliveries if the orders confirmed before.
6.  Validate Batch.
7.  Go to Sales > To Invoice > Orders to Invoice.
8.  Select orders confirmed before and create invoices.
9.  Go to Inventory > Operations > Batch Transfers.
10. Select batch created before.
11. Click on Delivery Slips / Invoices.
12. All delivery slips and invoices of the pickings in the batch will be
    printed as many time as configured.
13. It is also possible to print delivery slips / invoices for several
    batches.

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_print_invoices%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
-------

* Moduon

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

-  Emilio Pascual (`Moduon <https://www.moduon.team/>`__)
-  Rafael Blasco (`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

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

|maintainer-EmilioPascual| 

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

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