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

I have created two views for one model, each view should have it´s own reports.

When I add a repoert, both views inherit it, is it possible to customize?


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

Hi,

Yes it possible to achieve it using the fields_view_get function. There is a module from OCA which does the similar trick. It Hide the Quotation report from the Purchase Order Menu and Purchase Order Report from the RFQ menu.


Have  a look at the module and its coding:  This module hides 'Request for Quotation' mention in purchase order print report."


Thanks

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

Tweaked it a bit, but works like a charm. Thank you!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 16
2870
1
thg 9 21
3392
0
thg 2 18
3424
1
thg 5 24
1930
4
thg 4 22
4785