콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5474 화면

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
5093
1
1월 22
14737
1
9월 18
4525
3
7월 22
2980
2
7월 22
3749