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
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
3
mei 15
|
15938 | |||
|
0
apr. 26
|
12 | |||
|
0
apr. 26
|
8 | |||
|
1
mrt. 24
|
2779 | |||
|
1
feb. 24
|
4074 |
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