跳至内容
菜单
此问题已终结
2 回复
3704 查看

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?


形象
丢弃
最佳答案

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

形象
丢弃
编写者 最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
0
4月 16
2870
1
9月 21
3389
0
2月 18
3423
1
5月 24
1930
4
4月 22
4783