Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5430 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä

Forgot to mention that I have already:

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

Tekijä

I can create but from the modal window after pressing Add

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

Tekijä

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?

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
syysk. 19
5071
1
tammik. 22
14662
1
syysk. 18
4466
3
heinäk. 22
2925
2
heinäk. 22
3667