Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5623 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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?

Powiązane posty Odpowiedzi Widoki Czynność
2
paź 20
5099
2
mar 15
11740
9
sie 23
99235
2
mar 18
9840
0
mar 18
3939