Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4686 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
dez. 22
14594
0
jan. 21
2165
8
mai. 20
7587
0
dez. 23
2822
1
mai. 19
4206