mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
fix: bypass_credit_limit_check in credit balance report
This commit is contained in:
@@ -23,7 +23,7 @@ def execute(filters=None):
|
|||||||
row = []
|
row = []
|
||||||
|
|
||||||
outstanding_amt = get_customer_outstanding(d.name, filters.get("company"),
|
outstanding_amt = get_customer_outstanding(d.name, filters.get("company"),
|
||||||
ignore_outstanding_sales_order=d.bypass_credit_limit_check_at_sales_order)
|
ignore_outstanding_sales_order=d.bypass_credit_limit_check)
|
||||||
|
|
||||||
credit_limit = get_credit_limit(d.name, filters.get("company"))
|
credit_limit = get_credit_limit(d.name, filters.get("company"))
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ def execute(filters=None):
|
|||||||
d.disabled]
|
d.disabled]
|
||||||
else:
|
else:
|
||||||
row = [d.name, credit_limit, outstanding_amt, bal,
|
row = [d.name, credit_limit, outstanding_amt, bal,
|
||||||
d.bypass_credit_limit_check_at_sales_order, d.is_frozen, d.disabled]
|
d.bypass_credit_limit_check, d.is_frozen, d.disabled]
|
||||||
|
|
||||||
if credit_limit:
|
if credit_limit:
|
||||||
data.append(row)
|
data.append(row)
|
||||||
|
|||||||
Reference in New Issue
Block a user