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

Hi ! i look this presentatation in slideshare, so i want to know if its already implemented on master, or there is an specific branch ?

Regards,

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

for Smart button Just add the one class "oe_stat_button" in the class atrribute

                           <button name="return_action_to_open" 

                                          type="object"

                                          class="oe_inline"

                                          help="show the contract for this vehicle">

                             </button>

to

                           

                              <button name="return_action_to_open" 

                                          type="object"

                                          class="oe_inline oe_stat_button"

                                          help="show the contract for this vehicle">

                             </button>

And for Image you have to add one More attribute : icon="fa-book"

                            <button name="return_action_to_open" 

                                          type="object"

                                          class="oe_inline oe_stat_button"

                                          icon="fa-book"

                                          help="show the contract for this vehicle">

                             </button>

your button is now a smartbutton.

For more details.http://www.slideshare.net/openobject/odoo-smart-buttons

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

I have smartbuttons on my SaaS-5

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

Will check it i want to see if its possible backport them to 7.0

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 24
14394
1
thg 12 22
3030
3
thg 7 19
3370
2
thg 3 18
5201
0
thg 1 18
3341