Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5619 Visualizzazioni

Hi,

I am wonder if it's possible to have filters that are being applied when generating the qweb report.

For example, in "account.invoice", if I have filter "Paid" applied, then when I generate the report in Print/Invoices, somewhere in the report to show that filter Paid was applied, or whichever filter it was.

Avatar
Abbandona
Risposta migliore

Hi,

It is possible to show the filters in the qweb report, suppose if you are taking a report from the wizard and there you have got some filters and then if you want to show this applied filters in the qweb it is easily possible.


Have a look at the report in the POS,  Point of sale -> Reporting -> Sales Details, if you click this menu you will get the wizard to apply the filter, then you can choose the from and to date in the wizard and this date will be shown in the corresponding report also.

Thanks

Avatar
Abbandona
Autore

Hey, thx for the suggestion,

My understanding is that the "start" and "end" date fields in form view are referred by <t-esc> for display in qweb, but the actual filter part is done somewhere else perhaps in python, cuz I cannot find it in report_saledetails.xml.

Is it possible to use the search view filter instead of opening a form?

Post correlati Risposte Visualizzazioni Attività
2
ott 20
5099
2
mar 15
11740
9
ago 23
99235
2
mar 18
9840
0
mar 18
3939