Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5427 Tampilan

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?

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis

Forgot to mention that I have already:

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

Penulis

I can create but from the modal window after pressing Add

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

Penulis

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?

Post Terkait Replies Tampilan Aktivitas
0
Sep 19
5071
1
Jan 22
14659
1
Sep 18
4466
3
Jul 22
2925
2
Jul 22
3664