'wn' is undefined error


I’m getting the error below in my console when I try to open an existing sales order.

‘wn’ is undefined error

The sales order form just opens up with no data inside. I am unable to add sales order to the application.

Your urgent assistance would be appreciated

Do you have custom script on Sales Order?
in custom script replace wn by frappe.
it will helpful if you show your script.

1 Like

Thank you, that was the issue!