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


I would like to know if it is possible to link a view with the top "Create button" of a custom module given that this button isn't a part of any view.

Now when I click on this button Odoo opens a new row that I have to fill but I would like to open a view (or a wizard) in order to add this new entry.

I have been told that this process is done in JS ?

The form when we click on "Create" from the quotation page would be perfect but I can't find how it is done.

الصورة الرمزية
إهمال
أفضل إجابة

I guess you're about a page where you've list view by default, right? if so, then you've to edit properties of a "tree" tag in XML of your listview. there should be one of editable="top" or editable="bottom" property. remove that property and update module. 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يوليو 22
2867
1
نوفمبر 16
5771
0
مارس 15
3434
2
مارس 15
3741
1
مارس 15
6601