summaryrefslogtreecommitdiff
path: root/indoteknik_api/models
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-11-25 02:42:37 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-11-25 02:42:37 +0000
commit4dcd1e3e1a3e4dced5a2d0d89d2fd4ee3e1fe7d3 (patch)
tree3e15c66065c81eead3fb40c9f87e3f2c269e20f2 /indoteknik_api/models
parent2aee5a44abbe36961dfe23cc3d656aa48e11e0f9 (diff)
parent693e78afa8b9b4df99f417392b42bff12ea41f9e (diff)
Merged in production (pull request #132)
Production
Diffstat (limited to 'indoteknik_api/models')
-rw-r--r--indoteknik_api/models/product_product.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_api/models/product_product.py b/indoteknik_api/models/product_product.py
index aa9e0ad7..1db58d8e 100644
--- a/indoteknik_api/models/product_product.py
+++ b/indoteknik_api/models/product_product.py
@@ -273,7 +273,8 @@ class ProductProduct(models.Model):
base_price = 0
if base_pricelist:
- base_price = base_pricelist.computed_price / 1.11
+ base_price = base_pricelist.computed_price
+ # base_price = base_pricelist.computed_price / 1.11
discount = 0
price_flashsale = 0