Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 110, in application
response = frappe.api.handle(request)
File "apps/frappe/frappe/api/__init__.py", line 49, in handle
data = endpoint(**arguments)
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 49, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 71, in execute_cmd
return run_server_script(server_script)
File "apps/frappe/frappe/handler.py", line 89, in run_server_script
response = frappe.get_doc("Server Script", server_script).execute_method()
File "apps/frappe/frappe/core/doctype/server_script/server_script.py", line 150, in execute_method
return execute_api_server_script(self)
File "apps/frappe/frappe/core/doctype/server_script/server_script.py", line 286, in execute_api_server_script
_globals, _locals = safe_exec(script.script, script_filename=script.name)
File "apps/frappe/frappe/utils/safe_exec.py", line 101, in safe_exec
exec(
File "<serverscript>: customer_total_spending", line 27, in <module>
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
What's happen?
customer that crated though sales invoice modal have this error. https://apps.hosting.zaviago.com/app/customer/chomchom1
customer created from here:
App Versions
Route
Traceback
Request Data
Response Data