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

I would like to use my custom icons on some server action buttons since I would like something different from the icons declared in openerp/tools/misc.py, file whom I prefer to leave untouched.

I've created a folder on my module (static/src/img/icons) with a 16x16 and 64x64 png but the module doesn't look here, it continue to pick icons on addons/web/static/src/img/icons and if I put icons in this folder all works just fine but since those icons are part of a custom module it doesn't make any sense add icons manually on another folder. 

The question is: where should I declare the new path for icons in my module and how?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 12 19
7569
1
thg 6 15
6023
0
thg 6 15
120
1
thg 3 15
3666
3
thg 7 15
5841