summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-12-11 08:44:08 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-12-11 08:44:08 +0700
commit335d724a7f359223138de74bf682cfc3530b5ea7 (patch)
tree23722589fcb08f1fc8d81fd5c5ff0c758f96312b
parent72f8f3081d29b100e159f766e1c3483bdef5ce45 (diff)
cr default qr code product variants
-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 b38f9155..00e756c9 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -64,7 +64,7 @@ class ProductTemplate(models.Model):
tkdn = fields.Boolean(string='TKDN')
short_spesification = fields.Char(string='Short Spesification')
merchandise_ok = fields.Boolean(string='Product Promotion')
- print_barcode = fields.Boolean(string='Print Barcode', default="True")
+ print_barcode = fields.Boolean(string='Print Barcode', default=True)
# qr_code = fields.Binary("QR Code", compute='_compute_qr_code')
# def _compute_qr_code(self):