mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
fix: test
This commit is contained in:
@@ -533,6 +533,8 @@ def santize_einvoice_fields(einvoice):
|
|||||||
elif key in int_fields:
|
elif key in int_fields:
|
||||||
einvoice[key] = cint(value)
|
einvoice[key] = cint(value)
|
||||||
|
|
||||||
|
return einvoice
|
||||||
|
|
||||||
def safe_json_load(json_string):
|
def safe_json_load(json_string):
|
||||||
JSONDecodeError = ValueError if six.PY2 else json.JSONDecodeError
|
JSONDecodeError = ValueError if six.PY2 else json.JSONDecodeError
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user