diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-08-09 16:53:40 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-08-09 16:53:40 +0700 |
| commit | fa8a40973dee9f4f4cd2d7908e9a1ed4fb75cfaa (patch) | |
| tree | 0a5790c1220d8528bf830ec46e308303c381da1b /indoteknik_custom/models | |
| parent | 3cf53a4a6bc09a41bfd39f243a951e21b060c8ca (diff) | |
add todo
Diffstat (limited to 'indoteknik_custom/models')
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index c5689a79..5e5d76b4 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -835,6 +835,9 @@ 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 for order_line in self.order_line: rec_purchase_price, rec_taxes_id, rec_vendor_id = order_line._get_purchase_price(order_line.product_id) state = ['sale', 'done'] |
