Add button to script report

In a Data report column, add your button just like in this post: Button in Script Report
While adding though, you have to give the javascript function name as a part of the string

"<button type ='button' data-arg='%s' onclick='custom_func()'>Receive</button>" % (arg)

now add your custom_func with your parameter in your custom apps /public/js folder, specify in build.json,
and finally do app_include_js to that minified js file.

Now, this custom_func should make a frappe.call to your python method.

EDIT: argument is an issue