summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2025-12-15 13:44:06 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2025-12-15 13:44:06 +0700
commit6ebf59cda9356890dfa3fe181ab4efc1194103e9 (patch)
treeddc375cc4e8c17ca9a89f050fffaf3849b9abb49 /indoteknik_custom/models/product_template.py
parent0a81a44ccfdfc7219ee29b2b6f79fa73143e095d (diff)
parentc8fadfcb646ec86b73d92f199a98000aeabcbfe8 (diff)
merge
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
-rwxr-xr-xindoteknik_custom/models/product_template.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py
index 2cbef168..75adb352 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -16,7 +16,17 @@ _logger = logging.getLogger(__name__)
class ProductTemplate(models.Model):
_inherit = "product.template"
-
+ x_attribute_set_id = fields.Integer(
+ string="Magento Attribute Set ID",
+ default=0,
+ index=True,
+ help="Attribute Set ID dari Magento"
+ )
+ x_attribute_set_name = fields.Char(
+ string="Magento Attribute Set Name",
+ help="Attribute Set Name dari Magento"
+ )
+
image_carousel_lines = fields.One2many(
comodel_name="image.carousel",
inverse_name="product_id",