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
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
3
May 15
|
15975 | |||
|
0
Nis 26
|
12 | |||
|
0
Nis 26
|
8 | |||
|
1
Mar 24
|
2787 | |||
|
1
Şub 24
|
4098 |
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