Skip to content

Commit

Permalink
fix: close Credit Limit Crossed dialog (backport #38052) (#38059)
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 authored Nov 12, 2023
1 parent d5bf7a0 commit cff56d4
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 @@ -495,6 +495,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 cff56d4

Please sign in to comment.