Odoo Help


adding print button in a newly developed module.

sneha antony
on 3/7/14, 2:23 AM 1,499 views

I have developed a module in which I need to add the warranty details of a customer.The module is almost complete.Now I want to print the following form of which the screenshot is attached.Screenshot.png.I want to print the complete details including the preventive maintenance schedule also.How to place a print button with action in my module.Is there any option to place the button through the developer mode without making changes in the code?If so wat all changes are to be made?

I had placed a print button with image in the form using the Developer Mode.The code used is <button name="%(REPORT ACTION ID)d" string="YOUR STRING" type="action" icon="gtk-print"/> where REPORT ACTION ID is the record id of the FORM VIEW.The button is placed properly but the print action is not taking place properly.What are the changes to be made so that the printing action takes place?

sneha antony
on 3/7/14, 2:47 AM

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

0 follower(s)


Asked: 3/7/14, 2:23 AM
Seen: 1499 times
Last updated: 3/16/15, 8:10 AM