Try ERPNext Buy Support Partners Foundation

How to call the attach button from js to py in the Script Report

Hello everyone, I suggested a problem, I want to upload files from a scrip report but I don’t know how to call or capture the action of the Attach button in the python.

If anyone has an idea of ​​how I can do this, it would help me a lot.