跳至內容
選單
此問題已被標幟
1 回覆
5444 瀏覽次數

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?

相關帖文 回覆 瀏覽次數 活動
0
9月 19
5080
1
1月 22
14663
1
9月 18
4491
3
7月 22
2949
2
7月 22
3703