From 9306992db370c793e8cab494038b0de5b61b600f Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Tue, 4 Jun 2024 15:39:31 +0700 Subject: add sni and tkdn on product_template --- indoteknik_custom/models/product_template.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indoteknik_custom/models/product_template.py') diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index 97ad07a7..6086a2ca 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -57,6 +57,8 @@ class ProductTemplate(models.Model): ('sp', 'Spare Part'), ('acc', 'Accessories') ], string='Kind of', copy=False) + sni = fields.Boolean(string='SNI') + tkdn = fields.Boolean(string='TKDN') def _get_qty_sold(self): for rec in self: -- cgit v1.2.3