diff options
Diffstat (limited to 'indoteknik_custom')
| -rwxr-xr-x | indoteknik_custom/models/product_public_category.py | 1 | ||||
| -rwxr-xr-x | indoteknik_custom/views/product_public_category.xml | 1 |
2 files changed, 2 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): diff --git a/indoteknik_custom/views/product_public_category.xml b/indoteknik_custom/views/product_public_category.xml index a45e0a2e..c2ee154d 100755 --- a/indoteknik_custom/views/product_public_category.xml +++ b/indoteknik_custom/views/product_public_category.xml @@ -22,6 +22,7 @@ <field name="image" widget="image"/> <field name="sequence_frontend"/> <field name="parent_frontend_id"/> + <field name="short_desc"/> </xpath> <xpath expr="//form[1]/sheet[1]/div[1]/group[1]" position="after"> <notebook> |
