跳至內容
選單
此問題已被標幟
1 回覆
4093 瀏覽次數

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.

頭像
捨棄
最佳答案

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"
/>
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
7
7月 23
21925
2
9月 18
3033
0
5月 15
3466
0
3月 15
3798
1
3月 15
4695