summaryrefslogtreecommitdiff
path: root/addons/l10n_in/models/product_template.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/l10n_in/models/product_template.py')
-rw-r--r--addons/l10n_in/models/product_template.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/l10n_in/models/product_template.py b/addons/l10n_in/models/product_template.py
new file mode 100644
index 00000000..6250fac2
--- /dev/null
+++ b/addons/l10n_in/models/product_template.py
@@ -0,0 +1,11 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+from odoo import models, fields
+
+
+class ProductTemplate(models.Model):
+ _inherit = 'product.template'
+
+ l10n_in_hsn_code = fields.Char(string="HSN/SAC Code", help="Harmonized System Nomenclature/Services Accounting Code")
+ l10n_in_hsn_description = fields.Char(string="HSN/SAC Description", help="HSN/SAC description is required if HSN/SAC code is not provided.")