From 330aab84fc75eb89340d1910b2af8ec5bba7b45d Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Fri, 8 Sep 2023 13:33:34 +0700 Subject: add variant to api solr --- indoteknik_custom/models/solr/product_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indoteknik_custom/models') diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py index e212c709..e8bdc1af 100644 --- a/indoteknik_custom/models/solr/product_template.py +++ b/indoteknik_custom/models/solr/product_template.py @@ -21,7 +21,7 @@ class ProductTemplate(models.Model): 'res_model': self._name, 'res_id': rec.id, 'function_name': function_name - }) + }) @api.constrains('active') def _create_solr_queue_sync_active(self): -- cgit v1.2.3