summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/solr
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-07-19 10:31:49 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-07-19 10:31:49 +0700
commit7a47f8abf397798ae52b4583bcc2caf4d83db874 (patch)
treebbbf8577b8d1271e6df0fbb7a274e0099c8585ff /indoteknik_custom/models/solr
parent22fe8df6b70ed2166e2811b74e1b31cbf3b984cb (diff)
fix bug fullfillment
Diffstat (limited to 'indoteknik_custom/models/solr')
-rw-r--r--indoteknik_custom/models/solr/product_template.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py
index b3787499..3d7d3a80 100644
--- a/indoteknik_custom/models/solr/product_template.py
+++ b/indoteknik_custom/models/solr/product_template.py
@@ -108,7 +108,6 @@ class ProductTemplate(models.Model):
"max_discount" : voucher.max_discount_amount
}
})
- print(document)
self.solr().add(docs=[document], softCommit=True)
products = self.env['product.product'].search([