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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
3
maj 15
|
15939 | |||
|
0
kwi 26
|
12 | |||
|
0
kwi 26
|
8 | |||
|
1
mar 24
|
2780 | |||
|
1
lut 24
|
4075 |
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