Skip to content

Commit

Permalink
fix: close Credit Limit Crossed dialog (backport #38052) (#38057)
Browse files Browse the repository at this point in the history
fix: close `Credit Limit Crossed` dialog (#38052)

(cherry picked from commit 94faa44)

Co-authored-by: Arjun <arjun99c@gmail.com>
  • Loading branch information
mergify[bot] and uhrjun committed Nov 12, 2023
1 parent 8cb0f69 commit 5be5fde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/selling/doctype/customer/customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ def check_credit_limit(customer, company, ignore_outstanding_sales_order=False,
primary_action={
"label": "Send Email",
"server_action": "erpnext.selling.doctype.customer.customer.send_emails",
"hide_on_success": True,
"args": {
"customer": customer,
"customer_outstanding": customer_outstanding,
Expand Down

0 comments on commit 5be5fde

Please sign in to comment.