diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-09-09 03:35:58 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-09-09 03:35:58 +0000 |
| commit | 49a9bc775e25a61d8a463c89f2d749461d26f108 (patch) | |
| tree | 21181f4a20df8461a494ed243a88288ddb2b7d94 | |
| parent | 03d4d96781cfd6e75921ed5fadf317ebf0951776 (diff) | |
| parent | 0aacd16c72067c0bb5c9c8ca24bb19a7995b132b (diff) | |
Merged in update/category-management (pull request #220)
<iman> delete not lines category management
| -rw-r--r-- | indoteknik_custom/models/website_categories_management.py | 4 | ||||
| -rw-r--r-- | indoteknik_custom/views/website_categories_management.xml | 9 |
2 files changed, 0 insertions, 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 @@ <group> <field name="sequence"/> <field name="category_id"/> - <field name="category_id2" widget="many2many_tags"/> <field name="status"/> </group> </group> @@ -43,14 +42,6 @@ </tree> </field> </page> - <page string="Detail category"> - <field name="category_id2"> - <tree editable="bottom"> - <field name="name"/> - <field name="child_frontend_id2" widget="many2many_tags"/> - </tree> - </field> - </page> </notebook> </sheet> </form> |
