From 3d433efdfe7cc97ce801cb6d8909e8fd8879a176 Mon Sep 17 00:00:00 2001 From: marination Date: Fri, 13 Sep 2019 16:28:11 +0530 Subject: [PATCH] fix[minor]: Changed error message in GSTR-1 Report Error message didn't prompt where the user has to add the missing value(GSTIN No.) --- erpnext/regional/report/gstr_1/gstr_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/regional/report/gstr_1/gstr_1.py b/erpnext/regional/report/gstr_1/gstr_1.py index 43e232bf72..922619cc42 100644 --- a/erpnext/regional/report/gstr_1/gstr_1.py +++ b/erpnext/regional/report/gstr_1/gstr_1.py @@ -722,7 +722,7 @@ def get_company_gstin_number(company): if gstin: return gstin[0]["gstin"] else: - frappe.throw(_("No GST No. found for the Company.")) + frappe.throw(_("Please set valid GSTIN No. in Company Address")) def download_json_file(filename, report_type, data): ''' download json content in a file '''