From 0aacd16c72067c0bb5c9c8ca24bb19a7995b132b Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Mon, 9 Sep 2024 10:34:58 +0700 Subject: delete not lines category management --- indoteknik_custom/models/website_categories_management.py | 4 ---- indoteknik_custom/views/website_categories_management.xml | 9 --------- 2 files changed, 13 deletions(-) diff --git a/indoteknik_custom/models/website_categories_management.py b/indoteknik_custom/models/website_categories_management.py index 3b1db7dd..e430ef5f 100644 --- a/indoteknik_custom/models/website_categories_management.py +++ b/indoteknik_custom/models/website_categories_management.py @@ -7,10 +7,6 @@ class WebsiteCategoriesManagement(models.Model): category_id = fields.Many2one('product.public.category', string='Category Level 1', help='table ecommerce category', domain=lambda self: self._get_default_category_domain()) sequence = fields.Integer(string='Sequence') - category_id2 = fields.Many2many(comodel_name='product.public.category', - relation='website_categories_category_id2_rel', - column1='website_categories_homepage_id', column2='product_public_category_id', - string='Category Level 2', copy=False) line_ids = fields.One2many('website.categories.management.line', 'management_id', string='Category Level 2 Lines', auto_join=True) status = fields.Selection([ ('tayang', 'Tayang'), diff --git a/indoteknik_custom/views/website_categories_management.xml b/indoteknik_custom/views/website_categories_management.xml index 6e01e923..6ad85944 100644 --- a/indoteknik_custom/views/website_categories_management.xml +++ b/indoteknik_custom/views/website_categories_management.xml @@ -29,7 +29,6 @@ - @@ -43,14 +42,6 @@ - - - - - - - - -- cgit v1.2.3