mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] printer_zpl2: QR as bytes
This commit is contained in:
committed by
Nils Hamerlinck
parent
84a14641de
commit
a8d72c1918
@@ -199,7 +199,7 @@ class PrintingLabelZpl2(models.Model):
|
||||
else:
|
||||
if component.component_type == zpl2.BARCODE_QR_CODE:
|
||||
# Adding Control Arguments to QRCode data Label
|
||||
data = 'MM,A{}'.format(data)
|
||||
data = '{}A,{}'.format(component.error_correction, data)
|
||||
|
||||
barcode_arguments = dict([
|
||||
(field_name, component[field_name])
|
||||
|
||||
Reference in New Issue
Block a user