This question has been flagged
1 Reply
2888 Views

Hi

I need a button that every time anyone presses it, it returns a qweb report in pdf and also post that pdf in oe_chatter.

I've tried to use message_post_with_template(anser.report_declaration) but it doesn't work...

I've also tried with message_post(attachment=[(anser.report_declaration)]) , can anyone help me?

Avatar
Discard
Best Answer

how i can get the ID Dynamically ?

Avatar
Discard