summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-11-13 15:31:43 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-11-13 15:31:43 +0700
commit49846bc78d282516092c6c63db63d4ea01d42949 (patch)
treec1f960705c83f8e6ebf5223dc25bf62911ea2e93
parente7dc713b08b356100960e93d552b3a3a2a31727c (diff)
remove divide tax while flashsale
-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