Odoo Help


How can I add a second report to an existing Print button?

on 4/12/13, 11:24 AM 5,297 views

I would like to add a new report to the invoices. We want to use 2 different templates, one for our french customers and one for our dutch customers. In both templates there is some static text inputted through the report editor, which is why I can't resolve this through translations.

I came accross this post here Mulitple Invoice Layout. It seemed simple enough, but I have thus far tried this over 10 times but I can't get it set up properly. I haven't been able to see a second link in my print menu.

Could someone please give a little more detailed explanation on how to add a new report to an existing Print button?

Anand Patel
On 12/14/16, 1:14 AM

I want to print two different reports in one button click.
I am using Odoo v8.
Please let me know if we have solution for this.
Thanks in advance for your valuable reply.


Yannick Vaucher - Camptocamp

--Yannick Vaucher - Camptocamp--

| 5 7 9
Lausanne, Switzerland
--Yannick Vaucher - Camptocamp--
Yannick Vaucher - Camptocamp
On 4/12/13, 12:57 PM

You can have an example in l10n_ch_payment_slip module about using 2 different reports for invoices. One is the default report which will be printed using the red button Print invoice and the second will be available in a Print list on top of the form.

This module can be found in lp:openerp-swiss-localization/7.0

image description

Just note that we are using webkit reports in that case, but how to add a button should be fine.

Otherwise if you do really want to make a single button that will use different reports, you will have to code it. RML reports aren't the best for that kind of customization.

Is it possible to add a print button in a view as well? e.g. in the calendar view?

on 5/28/13, 7:33 AM

Yes, you can define another button on a view. See how it is done with the button 'Delivery Slip', from addons/stock/stock_report.xml

on 6/20/13, 5:13 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

2 follower(s)


Asked: 4/12/13, 11:24 AM
Seen: 5297 times
Last updated: 12/14/16, 1:14 AM