Commit Graph

3 Commits

Author SHA1 Message Date
Alexandre Fayolle
6e5525bd0d product_available improvements
* fix the dependencies for the computed field

* use api.multi instead of api.one to avoid calling
  super()._immediately_usable_qty in a loop (this improves perfs on a tree view
  display)
2015-10-26 13:56:28 +01:00
Lionel Sausin
fe44a2cbe3 PEP8 2015-09-10 15:25:49 +02:00
Lionel Sausin
3f45564185 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.
2015-09-09 15:03:40 +02:00