Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4512 Vistas

So, When I click "Print Report" button on odoo, Report gets downloaded and I have to re-upload that same file to attachment. For doing so, I open my directory, then i need choose downloaded file and upload But i want these process automatic. Meaning, when i click print report rather than downloading it should upload directly on my attachment. Is it possible to do so ? 

Thank you

Avatar
Descartar
Mejor respuesta

Hello 

when you register report use below field

attachment_use="True" == this option will help you attched report in attchment
attachment="'Any name-' + object.name + '.pdf'"  == this option use for with which name you want store attchment. 


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
dic 22
14397
0
ene 21
2015
8
may 20
7435
0
dic 23
2689
1
may 19
4110