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.

1

Override print widget selection

By
todd
on 2/26/13, 11:16 AM 1,190 views

Hello,

Perhaps does someone know how to dynamically load the print widget selection. I have several reports. There may only be a specific report available to print depending on the settings of my object.

0
todd
On 4/22/13, 7:50 AM

In the report XML the key2 field will handle if the print widget is on the object or not.

This will automatically set widget on to the object:

<field name="key2">client_print_multi</field>

This will leave the widget out:

<field name="key2">False</field>

To dynamically set it you could perhaps use a button which calls and object.

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: 2/26/13, 11:16 AM
Seen: 1190 times
Last updated: 3/16/15, 8:10 AM