How to delete/discard a doc(In its “Not Saved” state) if I feel that all the entries that I have filled are wrong.
Things I have tried
- Simply click the back button - but that half-filled doc can be still been seen in the awesome bar.
- Using
frappe.model.delete_doc
- This doc is not at all saved anywhere so I can’t delete this using this.
Can someone suggest a way to do this?