Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5625 Представления

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
5106
2
мар. 15
11741
9
авг. 23
99235
2
мар. 18
9844
0
мар. 18
3939