Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2286 Lượt xem

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?

 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 23
1880
1
thg 3 22
1938
0
thg 6 21
1510
0
thg 5 21
1700
0
thg 11 20
3022