Odoo Help

Welcome!

This community 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.

0

adding print button in a newly developed module.

By
sneha antony
on 3/7/14, 2:23 AM 1,104 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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