Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4822 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Dez. 22
14735
0
Jan. 21
2234
8
Mai 20
7726
0
Dez. 23
2878
1
Mai 19
4315