From ba81d4bbf079c4c6902ba7528807a618fc736e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 6 Feb 2014 19:38:25 +0100 Subject: [PATCH] Fix comment in Mixin, location_ids can be empty --- move.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/move.py b/move.py index d516c2b807..0c13234871 100644 --- a/move.py +++ b/move.py @@ -52,7 +52,7 @@ class StockMixin: product. location_ids is the list of IDs of locations to take account to compute - the stock. It can't be empty. + the stock. products restrict the stock computation to the this products (more efficient), so it should be the products related to records. If it is None all products are used. @@ -96,7 +96,7 @@ class StockMixin: quantities of all child locations but quantities of the storage zone. location_ids is the list of IDs of locations to take account to compute - the stock. It can't be empty. + the stock. grouping defines how stock moves are grouped. position defines which field of grouping corresponds to the record whose quantity is computed.