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

how to print a report only in the form view of a record

By
dianne jose
on 2/23/15, 7:13 AM 366 views

I want to print  a report in openerp. It should be printable only from form view. Is there any option

0

deep

--deep--
1617
| 5 4 7
Bengaluru, India
--deep--

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

deep
On 2/23/15, 8:50 AM

Are you asking, printing the report option , which is under More menu options should come only in Form view?

If so, well to do that you need to diasable the report from Menu, and call the same in your custom button..

To that all you need to do is,  while defining the report definition in XML specify menu=False...

Then in your form, add a button of type action, and call that report.... that way this button will be visible on in the form view, hence achiving you criteria
 

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

1 follower(s)

Stats

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