コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5439 ビュー

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
5077
1
1月 22
14663
1
9月 18
4488
3
7月 22
2933
2
7月 22
3696