Skip to Content
Menu
This question has been flagged
1 Odpoveď
5409 Zobrazenia

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
Zrušiť
Best Answer

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
Zrušiť
Autor

Forgot to mention that I have already:

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

Autor

I can create but from the modal window after pressing Add

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

Autor

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 Replies Zobrazenia Aktivita
0
sep 19
5065
1
jan 22
14654
1
sep 18
4458
3
júl 22
2920
2
júl 22
3650