fix(stock): round delivery credit exposure

This commit is contained in:
Mihir Kandoi
2026-10-24 13:24:34 +05:30
committed by pandiyan
parent 7484d999de
commit 1c19c646bf
@@ -683,7 +683,10 @@ class DeliveryNote(SellingController):
if validate_against_credit_limit:
check_credit_limit(
self.customer, self.company, bypass_credit_limit_check_at_sales_order, extra_amount
self.customer,
self.company,
bypass_credit_limit_check_at_sales_order,
flt(extra_amount, self.precision("base_grand_total")),
)
def validate_packed_qty(self):