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

Hello everyone,

I’m creating a report in Odoo to display the status of a project along with its related tasks in a dynamic table. The report works fine, but it only shows open tasks and does not display the tasks that are marked as "done" or "completed."

Here is the code I’m using for the task table in the report:



How can I ensure that all tasks, including those in the "done" state, are displayed in the report?

  1. Is there a specific filter or domain I need to remove or adjust to include these tasks?

Any guidance or code examples would be greatly appreciated! Thank you!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello, 

Kindly, check with remove this filter. 

Thanks.

อวตาร
ละทิ้ง
ผู้เขียน

Hi Manish,

Thanks for your reply!

This filter is not set by user. Propably it is the default filter of Odoo for Project. I searched in Odoo Studio to find a way to remove it for everyone without result. Could you please help me how to do it?

For this,

Kindly enable the debug mode and click on debug icon.
Click on edit action --> go to context filed value and remove this value "'search_default_open_tasks': 1,"

Thanks.

ผู้เขียน

Thank you again, Manish.

I removed the value "'search_default_open_tasks': 1," and now I can see all tasks in the Kanban view. However, when exporting the report, it still only includes the open tasks.

Do you have any other suggestions on how to resolve this?

Related Posts ตอบกลับ มุมมอง กิจกรรม
How do i create report in Qweb? แก้ไขแล้ว
5
ส.ค. 19
46185
4
มิ.ย. 18
19658
0
มิ.ย. 18
3071
What is QWeb (Odoo's reporting engine)? แก้ไขแล้ว
2
พ.ค. 16
16528
3
ม.ค. 16
3723