summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-09-12 10:00:41 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-09-12 10:00:41 +0700
commit6fa6d7028011dc5dcfbc14fea3eab9ea53f6b2e3 (patch)
treeee1f0e4e73a44d6b1322824ea3223b4bd3615529
parent79a947ac63c33976fe06f54d9ee9385d19caf4a5 (diff)
Fix constraint sync to solr
-rw-r--r--indoteknik_custom/models/solr/product_public_category.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/product_public_category.py b/indoteknik_custom/models/solr/product_public_category.py
index d6a37571..804624c3 100644
--- a/indoteknik_custom/models/solr/product_public_category.py
+++ b/indoteknik_custom/models/solr/product_public_category.py
@@ -23,7 +23,7 @@ class ProductPublicCategory(models.Model):
'function_name': function_name
})
- @api.constrains('x_name', 'x_url_banner', 'background_color', 'x_banner_image', 'x_banner_category', 'x_relasi_manufacture', 'x_sequence_banner', 'x_status_banner', 'sequence', 'group_by_week')
+ @api.constrains('name', 'english_name', 'x_studio_field_d1HS4', 'x_studio_field_f54P2', 'x_studio_field_BfNp2', 'parent_id', 'parent_frontend_id', 'website_meta_title', 'website_meta_keywords', 'website_meta_description', 'x_studio_field_4qhoN', 'sequence_frontend', 'product_tmpl_ids')
def _create_solr_queue_sync_brands(self):
self._create_solr_queue('_sync_categories_to_solr')