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

Hi

How can i add a search field in view of 'Sales Analysis' menu Report?

The field in question, is created in the Sale.Order.Line model and is a float type?

Tks!!!

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

Hi Miguelles, 

you need to create your own module and inherit "sale.report" class and add all fields you need in columns. You need to override select from and group function too.  

Please take a look at addons/sale/report/sale_report.py.

I found very useful this link: http://www.slideshare.net/openobject/business-intelligence-35790564

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 24
1620
0
thg 1 23
1492
4
thg 4 19
12884
0
thg 3 15
3332
1
thg 6 23
2616