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
 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
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
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|  | 3 may 15  | 14486 | ||
|  | 1 mar 24  | 1809 | ||
|  | 1 dic 22  | 3999 | ||
|  | 0 dic 20  | 2111 | ||
| 
            
                What is wizard ?
            
            
                    Resuelto
            
         |  | 3 nov 23  | 33829 | 
Reference: http://learnopenerp.blogspot.com/2020/06/write-binary-data-nto-zip-file-and-downlaod-it-on-button-click-in-odoo.html