summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-13 17:26:30 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-13 17:26:30 +0700
commit1c9308c1a18bd89612dc7fca5726cbf96c28deed (patch)
treeacc36cfa86d66b4e230aa5cf6830e2c6724d77a9 /indoteknik_custom/models/product_template.py
parent9f994de3f13f6be24d17233bf6890e6e88dd959b (diff)
parent46e968a3b28c00aa74e6f09b451d5a87e8523043 (diff)
Merge branch 'odoo-production' into iman/pengajuan-tempo
# Conflicts: # indoteknik_custom/security/ir.model.access.csv
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")