fix: Error message for invalid Workflow Transition (#7552)
fix: Error message for invalid Workflow Transition (#7552)

When you import a document of a DocType which has a workflow, you
shouldn't be able to set the workflow_state to a state except the first.
This patch shows a better error message.
yashodhank/frappe,almeidapaulopt/frappe,frappe/frappe,saurabh6790/frappe,StrellaGroup/frappe,mhbu50/frappe,StrellaGroup/frappe,almeidapaulopt/frappe,almeidapaulopt/frappe,vjFaLk/frappe,yashodhank/frappe,mhbu50/frappe,saurabh6790/frappe,frappe/frappe,vjFaLk/frappe,mhbu50/frappe,adityahase/frappe,vjFaLk/frappe,yashodhank/frappe,frappe/frappe,saurabh6790/frappe,saurabh6790/frappe,mhbu50/frappe,StrellaGroup/frappe,almeidapaulopt/frappe,adityahase/frappe,vjFaLk/frappe,adityahase/frappe,yashodhank/frappe,adityahase/frappe