Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4235 Lượt xem

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 !

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 18
5039
3
thg 5 16
6594
1
thg 3 16
4844
0
thg 3 15
3608
3
thg 3 15
8372