From fa8a40973dee9f4f4cd2d7908e9a1ed4fb75cfaa Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Fri, 9 Aug 2024 16:53:40 +0700 Subject: add todo --- indoteknik_custom/models/sale_order.py | 3 +++ indoteknik_custom/views/airway_bill.xml | 2 +- indoteknik_custom/views/product_sla.xml | 2 +- indoteknik_custom/views/website_user_cart.xml | 2 +- 4 files changed, 6 insertions(+), 3 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'] diff --git a/indoteknik_custom/views/airway_bill.xml b/indoteknik_custom/views/airway_bill.xml index 015f20f2..626a6763 100644 --- a/indoteknik_custom/views/airway_bill.xml +++ b/indoteknik_custom/views/airway_bill.xml @@ -94,7 +94,7 @@ model._fetch() code 75 - True + False model.generate_product_variant_id_sla(limit=150) code 100 - True + False model.action_mail_reminder_to_checkout() code 75 - True + False -- cgit v1.2.3