Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5434 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Des 22
15341
0
Jan 21
2678
8
Mei 20
8332
0
Des 23
3254
1
Mei 19
4689