Fix bug when printing product label
This commit is contained in:
parent
c00f7e2144
commit
8d35955d03
|
@ -663,7 +663,7 @@ def print_labels(request):
|
|||
return {'error': "Couldn't get printer from label profile"}
|
||||
|
||||
try:
|
||||
printer.print_labels([(product, quantity)])
|
||||
printer.print_labels([(product, quantity, {})])
|
||||
except Exception, error:
|
||||
return {'error': str(error)}
|
||||
return {}
|
||||
|
|
Loading…
Reference in a new issue