==============================
NFU Sale Order Batch Packaging
==============================

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

.. |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-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-bakeupboys%2Fnfu-lightgray.png?logo=github
    :target: https://github.com/bakeupboys/nfu/tree/16.0/nfu_sale_order_batch_packaging
    :alt: bakeupboys/nfu

|badge1| |badge2| |badge3|

This module adds a minium and a maximum order quantity field to Sale Orders
and adds a packaging default to sale order batch.

It adds an autosplitting methode that respects the maximum ordered qty for every order and spreads the open packeges evenly over all orders.

**Table of contents**

.. contents::
   :local:

Changelog
=========

- 16.0.0.0.1: Initial module.
- 16.0.1.0.0: rename to nfu_sale_order_batch_packaging
- 16.0.1.16.0.1.0: Live
- 16.0.1.2.0: Add regeneration action for batch products
- 16.0.1.2.1: refactoring
- 16.0.1.3.0: add packaging states
- 16.0.1.3.1: add open_max_qty
- 16.0.1.3.2: fix color indicator
- 16.0.1.3.3: Enable packagings on installation
- 16.0.1.3.4: 
    - on creation set max_qty to product_uom_qty if not set
    - remove zero exception for max_qty
    - store open_packaging_qty on batch product module to make it sortable
    - always adjust max_qty to be at least uom_qty except you only set max qty
- 16.0.1.3.4: store all quantities and round open values
- 16.0.1.3.6: make sure packages are readable by the user
- 16.0.1.3.7: really make sure packages are readable by the user
- 16.0.1.4.0: Add automatic batch fillup

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

Bugs are tracked on `GitHub Issues <https://github.com/bakeupboys/nfu/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/bakeupboys/nfu/issues/new?body=module:%20nfu_sale_order_batch_packaging%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
~~~~~~~

* BAKEUP

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

* Niels Göttsch <niels@ziemlichoptimal.de>
* Matthias Brück <hi@brueck.io>

Maintainers
~~~~~~~~~~~

This module is part of the `bakeupboys/nfu <https://github.com/bakeupboys/nfu/tree/16.0/nfu_sale_order_batch_packaging>`_ project on GitHub.

You are welcome to contribute.
