summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-01-13 10:01:20 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-01-13 10:01:20 +0700
commitba1b0ca10182a734dfa99a52270c95c73e4b8522 (patch)
treed55c459352fb9466a85be6799af113c70383aacb /indoteknik_custom/models
parentb352a2c5f5899f7e8e46fbf728fb387efdda0fb7 (diff)
<MIqdad> add category description for website
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/product_public_category.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/product_public_category.py b/indoteknik_custom/models/product_public_category.py
index 1039ec52..dadcb181 100755
--- a/indoteknik_custom/models/product_public_category.py
+++ b/indoteknik_custom/models/product_public_category.py
@@ -15,6 +15,7 @@ class ProductPublicCategory(models.Model):
child_frontend_id = fields.One2many('product.public.category', 'parent_frontend_id', string='Children Frontend Categories')
child_frontend_id2 = fields.Many2many('product.public.category', relation='website_categories_child_frontend_rel', column1='website_categories_homepage_id', column2='product_public_category_id', string='Category Level 3')
sequence_frontend = fields.Integer(help="Gives the sequence order when displaying a list of product categories.", index=True)
+ short_desc = fields.Char(string='Short Description')
# @api.model
# def _onchange_child_frontend_id2(self, parent):