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

I want to add events with CRM Lost Reason from button Mark Lost to field blocked. I can't find in Odoo code field from drop-down list. Do these fields have a code? Are they generated using JS?

 

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

Ok, I know that it's a kanban_state = field.Selection(...). Furthermore for a first print screen this field corresponds #2 but for second print screen correspondes #3.





I know that in the bootstrap class dropdown-menu is a scrollable list, but I can't find the elements of this list ( inside ). It seems to me that these elements should look like, for example:


 a >class="dropdown-item" href="#" ... > a

I would like to insert additionally my class inside this line code, specifically when the field is locked. I also looked in the js files, but to no avail.


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يناير 23
1880
1
مارس 22
1910
0
يونيو 21
1502
0
مايو 21
1689
0
نوفمبر 20
3005