summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-08-14 10:40:12 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-08-14 10:40:12 +0700
commit1845bfdd4e3bd693d691e505b3dc398c028b7e1b (patch)
tree6dd97c56e56beedf6960bd1ee0d84c54ea31e283 /indoteknik_custom/models
parent2788396b4b1ccbb83c287f9bba0d52e7799f7b38 (diff)
another checkpoint
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/sale_order.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 0be40fd0..e71b8ce4 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -837,8 +837,8 @@ class SaleOrder(models.Model):
def calculate_selling_price(self):
# TODO ongkos kirim, biaya pihak ketiga calculate @stephan
# TODO voucher @stephan
- # TODO vendor hilanging child di field SO Line @stephan
- # TODO button pindahin @stephan
+ # vendor hilangin child di field SO Line @stephan
+ # button pindahin @stephan
# TODO last so 1 tahun ke belakang @stephan
# TODO pastikan harga beli 1 tahun ke belakang jg
# TODO counter di klik berapa banyak
@@ -890,7 +890,7 @@ class SaleOrder(models.Model):
tax_id = last_so.tax_id
for tax in tax_id:
if tax.price_include:
- selling_price = selling_price + (selling_price * 11 / 100)
+ selling_price = selling_price + (selling_price*11/100)
else:
selling_price = selling_price
discount = 0