Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Add a search field in 'Sale Analysis' view from 'Report' menu

on 12/4/15, 12:50 PM 474 views


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?


Mirco Strizzi
On 12/7/15, 4:12 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 12/4/15, 12:50 PM
Seen: 474 times
Last updated: 12/7/15, 4:12 AM