تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5447 أدوات العرض

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
سبتمبر 19
5081
1
يناير 22
14666
1
سبتمبر 18
4492
3
يوليو 22
2953
2
يوليو 22
3715