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 | |
| parent | 3cf53a4a6bc09a41bfd39f243a951e21b060c8ca (diff) | |
add todo
Diffstat (limited to 'indoteknik_custom')
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 3 | ||||
| -rw-r--r-- | indoteknik_custom/views/airway_bill.xml | 2 | ||||
| -rw-r--r-- | indoteknik_custom/views/product_sla.xml | 2 | ||||
| -rwxr-xr-x | 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 @@ <field name="code">model._fetch()</field> <field name="state">code</field> <field name="priority">75</field> - <field name="active">True</field> + <field name="active">False</field> </record> <menuitem id="menu_airway_bill" diff --git a/indoteknik_custom/views/product_sla.xml b/indoteknik_custom/views/product_sla.xml index d0d3f84a..8b0e874b 100644 --- a/indoteknik_custom/views/product_sla.xml +++ b/indoteknik_custom/views/product_sla.xml @@ -48,7 +48,7 @@ <field name="code">model.generate_product_variant_id_sla(limit=150)</field> <field name="state">code</field> <field name="priority">100</field> - <field name="active">True</field> + <field name="active">False</field> </record> <menuitem id="menu_product_sla" diff --git a/indoteknik_custom/views/website_user_cart.xml b/indoteknik_custom/views/website_user_cart.xml index 818284e2..9e88f3d4 100755 --- a/indoteknik_custom/views/website_user_cart.xml +++ b/indoteknik_custom/views/website_user_cart.xml @@ -62,7 +62,7 @@ <field name="code">model.action_mail_reminder_to_checkout()</field> <field name="state">code</field> <field name="priority">75</field> - <field name="active">True</field> + <field name="active">False</field> </record> <record id="mail_template_user_cart_reminder_to_checkout" model="mail.template"> |
