diff options
| author | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-12 09:18:12 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-12 09:18:12 +0700 |
| commit | 5310e60574e29a53232f0bb8286660c1d9813b76 (patch) | |
| tree | 608ff4f7ae586379bada798bef66a3952ad89b00 /indoteknik_custom/models/product_template.py | |
| parent | fcdb961c42b32887b51c349242ba47312b7110e3 (diff) | |
(andri) add attribute set di solr mapping
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index ee33a185..2eed0f0d 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -15,7 +15,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", |
