I uninstalles pos awesome after that i am facing problem with doctype like i was not able to acess sales invoice it was saying doctype pos offer not found now i am unable to update my site there is a error while migrating
“frappe.core.doctype.doctype.doctype.WrongOptionsDoctypeLinkError: Address: Options must be a valid DocType for field Delivery Charges in row 21”
Why such an issue can occur?
For any app installed, there are some custom fields and doctypes installed.
However, when you uninstall the app, only doctypes are removed. Custom Fields Stay.
You get this error when there are link fields linked to removed doctypes.
How to resolve?
Delete linked custom fields.
These are the fields created. Search for Link and delete them from bench console.
You can use something like this as all field names start with posa_
Possibly, Not actually- no customization by the user, someone else also reported the same error some days back to me on telegram. It could be due to some additional app which (non tech) users are not aware.
He didn’t customize any sort. Infact was also hosted on erp cloud instance!