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

I have one model tasks on top of which I developed 3 Kanban views (a ,  b , c) with the following states

states = [ ('new','New') ,('pending','Pening'), ('inreview','In review'), ('done','Done')]

I want to show the "In review" state only in the kanban view a.

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

Unfortunately, adding the domain to the action didn't solve it for me. I stiff have the different stages showing on all the views.

Can you post links to screenshots to show what you did?

คำตอบที่ดีที่สุด

I suppose you have 3 menu options (one for each view).  Each menu option has a Windows Action, and you can set the domain there.

Enable Developer Mode and navigate to Settings / Technical / Menu Items:

This image has an empty alt attribute; its file name is menu-item-example-odoo-13.png

If you click on the Action ("Leads") you can view / edit the Windows Action

This image has an empty alt attribute; its file name is windows-action-example.jpg
Your domain for the views b and c would be something like this: 

[('state','!=','inreview')]
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
6
พ.ค. 24
27234
0
พ.ค. 19
5920
1
ธ.ค. 17
5777
1
ม.ค. 25
1511
0
ส.ค. 22
2431