fix: 'NoneType' has no attribute 'name' (#27375)
This commit is contained in:
parent
1076e96b87
commit
b262f48553
@ -486,7 +486,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"]
|
||||
|
Loading…
Reference in New Issue
Block a user