Skip to content

Commit

Permalink
fix: 'NoneType' has no attribute 'name' (frappe#27375)
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib authored Sep 7, 2021
1 parent e8eb137 commit 40fa4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/regional/india/e_invoice/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def log_error(data=None):
"Data:", data, seperator,
"Exception:", err_tb
])
frappe.log_error(title=_('E Invoice Request Failed'), message=message)
return frappe.log_error(title=_('E Invoice Request Failed'), message=message)

def santize_einvoice_fields(einvoice):
int_fields = ["Pin","Distance","CrDay"]
Expand Down

0 comments on commit 40fa4cf

Please sign in to comment.