Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4838 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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. 


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Selecting items for one2many relation แก้ไขแล้ว
2
ธ.ค. 22
14739
0
ม.ค. 21
2240
8
พ.ค. 20
7732
0
ธ.ค. 23
2885
1
พ.ค. 19
4321