Hi,
What is the best way to download a text file from wizard (TransientModel) ?
I want to select a list of records from a tree view (list of purchases)
and then download a simple file containing purchases ref (one by line)
Thanks
Hi,
What is the best way to download a text file from wizard (TransientModel) ?
I want to select a list of records from a tree view (list of purchases)
and then download a simple file containing purchases ref (one by line)
Thanks
Ok I managed to do this using this solution
https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-download-attachment-on-button-click-action-121621
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
3
mai 15
|
15893 | |||
|
0
avr. 26
|
12 | |||
|
0
avr. 26
|
8 | |||
|
1
mars 24
|
2769 | |||
|
1
févr. 24
|
4051 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Reference: http://learnopenerp.blogspot.com/2020/06/write-binary-data-nto-zip-file-and-downlaod-it-on-button-click-in-odoo.html