For two days, users can’t submit tickets on Frappe Desk.
I get the following error in the Console. It is related to customers. However, as the agent, if I create the ticket from he backend or from the ticket list, I have a “Customers” cell available and can’t submit tickets without any issues.
Failed to load resource: the server responded with a status of 500 ()
index.df25e30d.js:240 Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 69, in application
response = frappe.api.handle()
File "apps/frappe/frappe/api.py", line 54, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 45, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 83, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1590, in call
return fn(*args, **newargs)
File "apps/frappedesk/frappedesk/api/ticket.py", line 246, in create_new
ticket_doc.customer = values["customer"]
KeyError: 'customer'
Ticketing.cabf952b.js:1 create ticket error : Error: frappedesk.api.ticket.create_new