fix: fetch doc from db in get_transitions (bp #11883) (#11956)
fix: fetch doc from db in get_transitions (bp #11883) (#11956)

(cherry picked from commit 476f21eb4dfdcb93a17582b76fd052ee6c3c3d3a)

Co-authored-by: Shivam Mishra <4ebb2467f711fe1bc2da1914bc39d525c5d5279d@gmail.com>
vjFaLk/frappe,vjFaLk/frappe,vjFaLk/frappe,vjFaLk/frappe