mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
fix: 'NoneType' has no attribute 'name' (#27375)
This commit is contained in:
@@ -498,7 +498,7 @@ def log_error(data=None):
|
|||||||
"Data:", data, seperator,
|
"Data:", data, seperator,
|
||||||
"Exception:", err_tb
|
"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):
|
def santize_einvoice_fields(einvoice):
|
||||||
int_fields = ["Pin","Distance","CrDay"]
|
int_fields = ["Pin","Distance","CrDay"]
|
||||||
|
|||||||
Reference in New Issue
Block a user