summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
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