shridarpatil / frappe_whatsapp

WhatsApp cloud integration for frappe
https://www.youtube.com/watch?v=nq5Kcc5e1oc
Other
188 stars 169 forks source link

fix: file_name should be required only when custom_attachment is 1 #52

Closed ashish-greycube closed 10 months ago

ashish-greycube commented 10 months ago

custom_attachment is checkbox and hence frm.doc.custom_attachment always evaluates to true, we need to do frm.doc.custom_attachment==1 to make file_name as required.

ashish-greycube commented 10 months ago

image