summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-20 12:20:43 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-20 12:20:43 +0700
commitd7a71c347eb3084416cf70c2010665a668491e48 (patch)
tree66ea726f592fcdd3ae93ccd652e20bb9dad154b4 /indoteknik_custom/models/product_template.py
parent1d5e4ca1fa58bcd59954a08b694f273d4c563cdf (diff)
parent1b2b27941fcdaa1b1b6ddf2a4851d358abb259eb (diff)
Merge branch 'odoo-production' into iman/telegram
# Conflicts: # indoteknik_custom/models/__init__.py
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
-rwxr-xr-xindoteknik_custom/models/product_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py
index 9007dd71..5bedae13 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -416,7 +416,7 @@ class ProductProduct(models.Model):
box_size=5,
border=4,
)
- qr.add_data(rec.display_name)
+ qr.add_data(rec.default_code)
qr.make(fit=True)
img = qr.make_image(fill_color="black", back_color="white")