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

Hello,

i try to disable opening of the form view when i click on a record in a kanban but whatever i tried, the form open each time.

Is anybody has a solution for that ?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Hello Jainesh Shah,

Thank you for your answer.

The problems with it is that :

- I have no window action for this model. The kanban is a one2many field in a form of other model.

- Even if i have window action is that perhaps i need to open a form from a tree view but not from a kanban view. With this solution, i could not open this form anymore.



there is no way to block form opening from a field or a particular view ?

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

Hello,Vincent DUBREIL
I hope you are doing well.

Simply you can remove the form from the view mode.
You can define view mode in window action which views you want to open each time.

Find Example in comment.

I hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

อวตาร
ละทิ้ง

For example:
<field name="view_mode">tree,search,kanban,form</field>