summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-06-04 15:39:31 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-06-04 15:39:31 +0700
commit9306992db370c793e8cab494038b0de5b61b600f (patch)
tree63639632645948f4026d480408866c58340ea7c7 /indoteknik_custom/models
parentd52735b3d1dc570f44ad46cae9f069da03784cff (diff)
add sni and tkdn on product_template
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/product_template.py2
1 files changed, 2 insertions, 0 deletions
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: