Fixed: Lead Lost Reason message
This commit is contained in:
parent
39c0aa70ba
commit
e87482ac86
@ -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':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user