summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-06-14 10:26:28 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-06-14 10:26:28 +0700
commit1cecf60302ea02e250a97ca2dbc6679332988bc0 (patch)
tree55810202c5ff503083a780227539683d4065f591 /indoteknik_custom/models
parent3cb22a5059bfddc5f1d234e8c34e726debe9643d (diff)
(andri) add search pada gmaps contact
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/sale_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index b9ca4a09..492153c0 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -890,7 +890,7 @@ class SaleOrder(models.Model):
total_weight = self._validate_for_shipping_estimate()
weight_gram = int(total_weight * 1000)
- if weight_gram <b 100:
+ if weight_gram < 100:
weight_gram = 100
value = int(self.amount_untaxed or sum(line.price_subtotal for line in self.order_line))