return list of invoice lines
This commit is contained in:
1 parent
f11606ad30
commit
f1806531c8
1 file changed
+1
-1
+1
-1
@@ -1104,7 +1104,7 @@ class PurchaseLine(ModelSQL, ModelView):
|
||||
|
||||
|
||||
if res['quantity'] <= 0.0:
|
||||
return None
|
||||
return []
|
||||
res['unit'] = line.unit.id
|
||||
res['product'] = line.product.id
|
||||
res['unit_price'] = line.unit_price
|
||||
|
||||
Reference in new issue
Block a user