diff --git a/bt5/erp5_base/ExtensionTemplateItem/BarcodeUtils.py b/bt5/erp5_base/ExtensionTemplateItem/BarcodeUtils.py index e137a5a9aefedc120b0e3567cfe664f0c6af04f3..5cf3723560d31d3e412d1679d109717304dca0ae 100644 --- a/bt5/erp5_base/ExtensionTemplateItem/BarcodeUtils.py +++ b/bt5/erp5_base/ExtensionTemplateItem/BarcodeUtils.py @@ -18,6 +18,7 @@ def generateBarcodeImage(self, barcode_type, data): elif barcode_type == 'code128': from hubarcode.code128 import Code128Encoder encoder = Code128Encoder(data) + encoder.text = '' # get barcode image only output = encoder.get_imagedata() elif barcode_type == 'qrcode': import qrcode diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index ca38785c2c4b7c589dc1e2dd779891cce2c64af2..26344f96b052ff2c841160e599529db1900d22e6 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -1021 \ No newline at end of file +1022 \ No newline at end of file