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

Am working with Odoo 10 and I want two things:

  1. Insert a button in the menu specified in the picture. (https://i.stack.imgur.com/0naT3.png)

Then the button,

  1. Will execute some code that operates with the selected objects.

I would like to know how to insert the button and the best approach for point number 2.

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

Hi Luis ,
In the case of the reports if we add a report tag like the one in the below ,  a menu named Quotation (what is given in the string) will appear in the place you mentioned.

Thank you


<report
id="report_tour_quotation"
string="Quotation"
model="tour.booking"
report_type="qweb-pdf"
file="tours_and_travels.tour_quotation"
name="tours_and_travels.tour_quotation"
/>
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
7
thg 7 23
21962
2
thg 9 18
3063
0
thg 5 15
3484
0
thg 3 15
3828
1
thg 3 15
4707