Lionel Sausin 36d6557e24 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
2019-07-05 12:30:51 +02:00
2019-07-04 14:36:53 +00:00
2019-07-03 08:48:38 +00:00
2019-05-20 21:05:50 +00:00
2019-07-01 16:53:56 +00:00
2018-09-27 02:39:23 +02:00
2018-09-27 02:39:23 +02:00
2019-04-23 11:54:30 +02:00

Build Status Coverage Status

Odoo Stock Logistics Warehouse

This project aim to deal with modules related to the management of warehouses. You'll find modules that:

  • Ease inventory by adding various possibilities
  • Move all product from one location to another
  • Manage the product catalog (merge them,..)

Please don't hesitate to suggest one of your module to this project. Also, you may want to have a look on those other projects here:

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