Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4836 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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. 


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 22
14739
0
thg 1 21
2240
8
thg 5 20
7732
0
thg 12 23
2885
1
thg 5 19
4321