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 ++ indoteknik_custom/views/product_template.xml | 2 ++ 2 files changed, 4 insertions(+) (limited to 'indoteknik_custom') 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: diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml index 309cbcc5..052a1eba 100755 --- a/indoteknik_custom/views/product_template.xml +++ b/indoteknik_custom/views/product_template.xml @@ -12,6 +12,8 @@ + + -- cgit v1.2.3