Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5458 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

Forgot to mention that I have already:

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

Autore

I can create but from the modal window after pressing Add

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

Autore

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 correlati Risposte Visualizzazioni Attività
0
set 19
5084
1
gen 22
14669
1
set 18
4496
3
lug 22
2966
2
lug 22
3724