mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
[Reports][Validation changes in Purchase and Sales trends]
This commit is contained in:
@@ -28,7 +28,7 @@ def execute(filters=None):
|
||||
details = get_columns(filters, trans)
|
||||
data = get_data(filters, tab, details)
|
||||
|
||||
if data == '':
|
||||
webnotes.msgprint("Data Not Available")
|
||||
if not data :
|
||||
webnotes.msgprint("Data not found for selected criterias")
|
||||
|
||||
return details["columns"], data
|
||||
@@ -28,7 +28,7 @@ def execute(filters=None):
|
||||
details = get_columns(filters, trans)
|
||||
data = get_data(filters, tab, details)
|
||||
|
||||
if data == '':
|
||||
webnotes.msgprint("Data Not Available")
|
||||
if not data :
|
||||
webnotes.msgprint("Data not found for selected criterias")
|
||||
|
||||
return details["columns"], data
|
||||
Reference in New Issue
Block a user