mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
Fixed: Lead Lost Reason message
This commit is contained in:
@@ -68,7 +68,7 @@ class DocType:
|
|||||||
def validate(self):
|
def validate(self):
|
||||||
import string
|
import string
|
||||||
if self.doc.status == 'Lead Lost' and not self.doc.order_lost_reason:
|
if self.doc.status == 'Lead Lost' and not self.doc.order_lost_reason:
|
||||||
msgprint("Please Enter Quotation Lost Reason")
|
msgprint("Please Enter Lost Reason under More Info section")
|
||||||
raise Exception
|
raise Exception
|
||||||
|
|
||||||
if self.doc.source == 'Campaign' and not self.doc.campaign_name and session['user'] != 'Guest':
|
if self.doc.source == 'Campaign' and not self.doc.campaign_name and session['user'] != 'Guest':
|
||||||
|
|||||||
Reference in New Issue
Block a user