Reviewers: ,


Please review this at http://codereview.tryton.org/776002/

Affected files:
  M product.py


Index: product.py
===================================================================

--- a/product.py
+++ b/product.py
@@ -46,7 +46,7 @@
 
         while avail_qty > 0.0:
             moves = Move.search([
-                ('product.template.id', '=', template.id),
+                ('product.template', '=', template.id),
                 ('state', '=', 'done'),
                 ('from_location.type', '=', 'supplier'),
                 ], offset=offset, limit=limit,

Reply via email to