Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3765 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 16
2903
1
set 21
3441
0
feb 18
3488
1
mag 24
1956
4
apr 22
4827