From 335d724a7f359223138de74bf682cfc3530b5ea7 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Wed, 11 Dec 2024 08:44:08 +0700 Subject: cr default qr code product variants --- indoteknik_custom/models/product_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3