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

Using widget="many2many_kanban" on Many2many field works fine and shows a button Add showing modal dialog to add existing records or create new one. I want to have Button Create right next to Add similar to the Customers form -> Contacts and Addresses tab

How can I achieve this?

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

Give

create="true" delete="true"

on kanban , if the user have enough access rights then the create button will shown if the form is in edit mode. else add the proper access rights

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

Forgot to mention that I have already:

<kanban class="" quick_create="false" create="true" delete="true">

ผู้เขียน

I can create but from the modal window after pressing Add

I want to be able to Add or Create directly from Kanban view

ผู้เขียน

I just realize if I use <field name="myfield" mode="kanban" > then I get Create button

if I use <field name="myfield" widget="many2many_kanban" > I get Add button

So how do I get both?

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 19
5065
1
ม.ค. 22
14652
1
ก.ย. 18
4457
3
ก.ค. 22
2917
Disable kanban ticket drag-drop แก้ไขแล้ว
2
ก.ค. 22
3647