fix: close `Credit Limit Crossed` dialog (#38052)
(cherry picked from commit 94faa44697)
Co-authored-by: Arjun <arjun99c@gmail.com>
This commit is contained in:
@@ -495,6 +495,7 @@ def check_credit_limit(customer, company, ignore_outstanding_sales_order=False,
|
|||||||
primary_action={
|
primary_action={
|
||||||
"label": "Send Email",
|
"label": "Send Email",
|
||||||
"server_action": "erpnext.selling.doctype.customer.customer.send_emails",
|
"server_action": "erpnext.selling.doctype.customer.customer.send_emails",
|
||||||
|
"hide_on_success": True,
|
||||||
"args": {
|
"args": {
|
||||||
"customer": customer,
|
"customer": customer,
|
||||||
"customer_outstanding": customer_outstanding,
|
"customer_outstanding": customer_outstanding,
|
||||||
|
|||||||
Reference in New Issue
Block a user