Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5633 มุมมอง

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
5112
2
มี.ค. 15
11749
How to change color of line in tree view แก้ไขแล้ว
9
ส.ค. 23
99235
2
มี.ค. 18
9851
0
มี.ค. 18
3940