erpnext
erpnext copied to clipboard
fix(ux): move `get_route_options_for_new_doc` to `refresh`
Information about bug
Create and validate a Purchase Order with a Item (with Has Batch No = Yes) Create a Purchase Receipt, edit row of the item to input Batch No Click on Create a New Batch No In Quick Entry batch creation form, the Item field is empty
Before :
https://github.com/user-attachments/assets/fd01e23d-20a9-4b85-8842-089c13827196
After :
https://github.com/user-attachments/assets/07415070-f359-4b9e-bbdd-9c4f985e5be7
The fix is inspired from similar problem already fix by #37096 but not on Purchase Receipt