Odoo Help


How to print a report with one button? [Closed]

on 2/25/16, 3:26 PM 403 views

The Question has been closed for reason: duplicate question

Akhil P Sivan
on 02/25/2016 21:12:42

Hi. I'm trying to print a report that is a Qweb view from one button . This button I assign a function ( def) that would print the view.

I saw another question in this forum on how to create a button but do not stay clear and not work for me.

This would be the button in the view:

<button name="%(ID VIEW)d" string="Imprimir" type="action" icon="gtk-print"/>.

In my case my statement would be:

<button name="%(769)d" string="Imprimir" type="action" icon="gtk-print"/>.

The problem is that the id of the view that I set, the button does not recognize and does not generate any action .Is okay this statement or maybe you have to do something else?

Please help me with this. Thanks to all.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/25/16, 3:26 PM
Seen: 403 times
Last updated: 2/25/16, 9:12 PM