diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-18 14:45:39 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-18 14:45:39 +0700 |
| commit | e419a0e52ac9d01ac0b8900bfb2bebff1db522c9 (patch) | |
| tree | 9a5691f888d6858d9be6c4764b9eb5ca842da7e9 | |
| parent | 48d95b4e9f11eac11931a4679b0cc5cc3249e69d (diff) | |
<Miqdad> remove brand_Id
| -rw-r--r-- | indoteknik_custom/models/keywords.py | 4 | ||||
| -rw-r--r-- | indoteknik_custom/views/keywords.xml | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/indoteknik_custom/models/keywords.py b/indoteknik_custom/models/keywords.py index f4774bbd..20a18726 100644 --- a/indoteknik_custom/models/keywords.py +++ b/indoteknik_custom/models/keywords.py @@ -20,10 +20,6 @@ class Keywords(models.Model): category_id = fields.Many2one('product.public.category', string='Category', required=True, help="Category to filter products when generating products for this keyword and to throw to solr") keywords = fields.Char('Keywords', required=True) - brand_id = fields.Many2one( - comodel_name="x_manufactures", - string="Brand" - ) product_ids = fields.Many2many( 'product.product', 'keywords_product_rel', diff --git a/indoteknik_custom/views/keywords.xml b/indoteknik_custom/views/keywords.xml index febd6d39..9faa7112 100644 --- a/indoteknik_custom/views/keywords.xml +++ b/indoteknik_custom/views/keywords.xml @@ -6,7 +6,6 @@ <field name="arch" type="xml"> <tree > <field name="category_id" /> - <field name="brand_id" /> <field name="keywords" /> <field name="url" /> <field name="sum" /> @@ -32,7 +31,6 @@ </div> <group> <field name="category_id" /> - <field name="brand_id" /> <field name="keywords" /> <field name="url" /> <field name="sum" /> @@ -51,7 +49,6 @@ <field name="arch" type="xml"> <search string="Search Keywords"> <field name="category_id"/> - <field name="brand_id" /> <field name="keywords"/> <field name="sum"/> <field name="product_ids" widget="many2many_tags"/> |
