Setting up bulk edit for a Child Doctype

I wish to setup Bulk edit for a child doctype like there is in Stock Reconciliation, so that user can upload CSV in bulk.

I traced the functionality to frappe.public.js.frappe.form.grid.setup_allow_bulk_edit. But how to use this in my JS file. There is no mention of this particular function anywhere in realted JS files of Stock Reconciliation.

I was able to solve it. All I had to do was to tick ‘Allow Bulk Edit’ in the Parent Doctype

2 Likes