summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHafidBuroiroh <hafidburoiroh09@gmail.com>2025-10-24 11:29:00 +0700
committerHafidBuroiroh <hafidburoiroh09@gmail.com>2025-10-24 11:29:00 +0700
commitdc57520d3e0fe0bb8a314e1cb4ec4b3648fd8a37 (patch)
tree7eba836d274185e71e4b156e36d10e84363d14c0
parent4b257da93f1eb1d025303113d6884b22df59c1b4 (diff)
push
-rw-r--r--indoteknik_custom/models/refund_sale_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/refund_sale_order.py b/indoteknik_custom/models/refund_sale_order.py
index e6547a88..475f0355 100644
--- a/indoteknik_custom/models/refund_sale_order.py
+++ b/indoteknik_custom/models/refund_sale_order.py
@@ -754,7 +754,7 @@ class RefundSaleOrder(models.Model):
for so in self.sale_order_ids:
for line in so.order_line:
barang_kurang = line.product_uom_qty - line.qty_delivered
- if line.qty_delivered == 0 or barang_kurang > 0:
+ if line.qty_delivered == 0 or barang_kurang >= 0:
line_vals.append((0, 0, {
'product_id': line.product_id.id,
'quantity': barang_kurang,