feat: bigger product size
This commit is contained in:
		@@ -21,11 +21,15 @@ class DefaultBarcodeGenerator(BaseBarcodeGenerator):
 | 
			
		||||
                if not attribute_getter:
 | 
			
		||||
                    continue
 | 
			
		||||
                value = attribute_getter.get_value(barcode_data["product"])
 | 
			
		||||
 | 
			
		||||
                if not value or not value.strip():
 | 
			
		||||
                    continue
 | 
			
		||||
                attributes[attribute.name] = value
 | 
			
		||||
            for additional_attribute in barcode_data["template"].additional_attributes:
 | 
			
		||||
                attributes[additional_attribute.name] = additional_attribute.value
 | 
			
		||||
                value = additional_attribute.value
 | 
			
		||||
                if not value:
 | 
			
		||||
                    continue
 | 
			
		||||
                attributes[additional_attribute.name] = value
 | 
			
		||||
            barcode_text = '<br/>'.join([f'{key}: {value}' for key, value in attributes.items()])
 | 
			
		||||
 | 
			
		||||
            pdf_barcodes_gen_data.append(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user