Odoo Help

0

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

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

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

0

deep

--deep--
1781
| 5 5 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
 

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.

Register

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)

Stats

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