diff --git a/purchase.py b/purchase.py index 600778b964..57eb0c15ac 100644 --- a/purchase.py +++ b/purchase.py @@ -1011,7 +1011,7 @@ class PurchaseLine(OSV): res['type'] = line.type res['description'] = line.description if line.type != 'line': - return res + return [res] if line.purchase.invoice_method == 'order': res['quantity'] = line.quantity else: