Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5631 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор

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?

Related Posts Відповіді Переглядів Дія
2
жовт. 20
5109
2
бер. 15
11742
9
серп. 23
99235
2
бер. 18
9848
0
бер. 18
3939