summaryrefslogtreecommitdiff
path: root/indoteknik_api/models
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2025-01-14 02:05:10 +0000
committerIT Fixcomart <it@fixcomart.co.id>2025-01-14 02:05:10 +0000
commit6dda865a1b3262ce78ed2db024fd03efb091d6a6 (patch)
treeb7471511ed9cd899ff94e327c1a6a53d8345cedb /indoteknik_api/models
parent095dd98d3b5ea0f60497d6074eb04502df024415 (diff)
parent262013945e9729f9cea9a17f2060ec607bc42b64 (diff)
Merged in iman/pengajuan-tempo (pull request #265)
<iman> hapus ppn 12% dari branch
Diffstat (limited to 'indoteknik_api/models')
-rw-r--r--indoteknik_api/models/product_product.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/indoteknik_api/models/product_product.py b/indoteknik_api/models/product_product.py
index d7e20ac3..10922186 100644
--- a/indoteknik_api/models/product_product.py
+++ b/indoteknik_api/models/product_product.py
@@ -229,7 +229,7 @@ class ProductProduct(models.Model):
def _get_pricelist_tier(self, tier_number):
config_param_name = f'product.pricelist.tier{tier_number}'
product_pricelist_tier = int(self.env['ir.config_parameter'].get_param(config_param_name))
- default_divide_tax = float(1.12)
+ default_divide_tax = float(1.11)
base_price = discount = price = 0
pricelist_item = self.env['product.pricelist.item'].search([
('pricelist_id', '=', int(product_pricelist_tier)),
@@ -273,12 +273,12 @@ class ProductProduct(models.Model):
base_price = 0
if base_pricelist:
base_price = base_pricelist.computed_price
- # base_price = base_pricelist.computed_price / 1.12
+ # base_price = base_pricelist.computed_price / 1.11
discount = 0
price_flashsale = 0
- default_divide_tax = float(1.12)
- default_tax = float(12)
+ default_divide_tax = float(1.11)
+ default_tax = float(11)
if item.price_discount > 0:
discount = item.price_discount
price_flashsale = base_price - (base_price * discount // 100)