Can you tell me how to start download file on click of button event.
I created new button on customer form (i.e. res_partner view and if i want to download all attachment related to that customer on single click).To do this job I created zip file in background coding in .py file which is consisting all related documents of respective customer ?
Means till now if I click on that button zip is generated but I am not able to start download of that zip file.
What can I do ?
I'm trying to achieve the same for tasks... have you figured it out?
Reference: http://learnopenerp.blogspot.com/2020/06/write-binary-data-nto-zip-file-and-downlaod-it-on-button-click-in-odoo.html