Lionel Sausin 3cce4ff7e8 Revert changes to computation of _immediately_usable_qty
Commit 6c16913 changed the way we compute the immediately_usable_qty: instead of using the virtual stock, we used the sum of quants without reservations. But a quant may actually be reserved and still be available (for example it may be reserved for an internal move).
Fixes https://github.com/OCA/stock-logistics-warehouse/issues/79

Remove loop and use correct decorator

Restore the features of stock_available_immediately

The previous fix restored stock_available but then there was no way to exclude the incomming moves from the count. This belongs in stock_available_immediately, restoring it cleanly.
This commit also takes care to respect the distinction between templates and variants, so it should fix https://github.com/OCA/stock-logistics-warehouse/issues/73 too.

Restore the qty avail. to promise on variant treeview

PEP8
2020-12-24 22:19:28 +01:00
2020-12-04 10:07:33 +00:00
2020-10-08 21:50:29 +02:00
2020-10-08 21:50:29 +02:00
2020-10-08 21:50:29 +02:00
2020-10-08 21:50:29 +02:00
2020-10-08 21:50:29 +02:00
2020-11-01 22:33:05 +01:00
2020-12-11 20:21:16 +01:00
2020-10-08 21:50:29 +02:00
2020-10-08 21:50:29 +02:00
2020-10-08 21:50:29 +02:00
2020-12-04 10:07:31 +00:00

Runbot Status Build Status codecov Translation Status

stock-logistics-warehouse

TODO: add repo description.

Available addons

addon version summary
stock_move_location 14.0.1.0.0 This module allows to move all stock in a stock location to an other one.

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to OCA policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


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.

Description
Odoo Warehouse Management Addons
Readme 142 MiB
Languages
HTML 50.9%
Python 48.2%
JavaScript 0.8%
SCSS 0.1%