Odoo Help


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

on 12/4/15, 12:50 PM 929 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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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