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

Is it possible to add a "Print" button in form view with the help of Odoo Studio? I am trying to add a print button on Approval Request form view to unable users to print request.

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

Adding a print button is nothing but is just like you add a normal button. Add a button to your view for eg:

 <button name="%(REPORT ACTION ID)d" string="YOUR STRING" type="action" icon="gtk-print"/>

where REPORT ACTION ID is the id of your report that you have declared in the .xml file.


Check this link,

https://www.odoo.com/forum/help-1/how-to-add-print-button-inside-form-view-15092

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

Hi,

As you are looking to do it from the studio, what you can do is that, activate the developer mode and navigate to Settings -> Technical -> Reporting -> Reports, search for your report and open it.


Then in the top right you can see the button named, Add in the Print Menu, just click on it.


Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks Niyas, the screen I am looking to add Print button is not a report. It is "Form View" of "Approval Request". View name is "approval.request.view.form"

Câu trả lời hay nhất

There are a lot more other benefits one can get using free shipping code Snapfish. We will discuss it in detail.  
https://www.pennysaviour.com/coupons/snapfish-free-shipping

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
7
thg 3 22
41714
1
thg 11 15
10691
1
thg 10 22
5650
6
thg 4 20
11241
2
thg 3 15
7538