Skip to Content
मेन्यू
This question has been flagged
2 Replies
3850 Views

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?


Avatar
Discard
Best Answer

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

Avatar
Discard
Author Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
0
अप्रैल 16
2962
1
सित॰ 21
3480
0
फ़र॰ 18
3560
1
मई 24
2022
4
अप्रैल 22
4952