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?