feat: a lot of a lot

This commit is contained in:
2024-09-01 01:05:11 +03:00
parent 867dfbe597
commit 4ae03284a3
43 changed files with 700 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ class DefaultBarcodeGenerator(BaseBarcodeGenerator):
if not attribute_getter:
continue
value = attribute_getter.get_value(product)
if not value:
if not value or not value.strip():
continue
attributes[attribute.name] = value
for additional_attribute in template.additional_attributes: