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 create print option

By
Matthieu
on 5/20/16, 9:25 AM 294 views

Hello,

I'm currently creating a module on Odoo 9 and I have a list of coupons :

http://i.imgur.com/RCwsprh.png

When you click on one of them, there is a popup form that you can edit if you are in edit mode :

http://i.imgur.com/3U3cvYl.png

I want to make button in this popup to print a coupon with all the informations about the current coupon selected.

How can I do that ?


Thank you for your help !

0
Matthieu
On 5/24/16, 4:08 AM

Does somebody have an answer ?

I didn't find how to do this, even if I did a lot of research.

I just find how to create a button :

<button name="%(MY_ACTION_VIEW)d" string="Print" type="action" icon="gtk-print"/>

Please, help me...  :C

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: 5/20/16, 9:25 AM
Seen: 294 times
Last updated: 5/24/16, 4:08 AM