ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Fetch from of customize form not working for select type field


#1

I have a field whose value I want to fetch from another field, (based on a link field). In version 10 i was using cur_frm.add_fetch. In 11 i am using this feature fetch from , syntax as link_field_name.field_name for value to be fetched . It is working for Int/ Float/ Readonly etc but for select type its not. I can achieve so by using add_fetch in custom script but it will take 4-5 lines of code which i dont wanna do as I want to achieve the same in less lines of code. Any suggestions will be appreciable