Odoo Help


How to add filter to Aeroo report from a wizard?

on 6/10/13, 7:30 AM 2,656 views

i have an aeroo report and want to add filter on it using a wizard

how can i do it?


on hr.employee model i want to filter employees dependes on city or department to prent the aeroo report dependes on that.



| 4 4 8
Ahmedabad, India

Odoo Expert

On 6/10/13, 8:37 AM

You can achieve filter on report by two ways:

(1) Make a filter on Employee many2many in wizard and send them to the report.

(2) You can filter employee in wizard py file using search method and send them to the report.

(3) You can filter employee in Parse py file using search method and print them on report.

i already use the first method and want to send it to my report ... i read about " data " variable in aeroo site but still can't use ... could u help me?

on 6/10/13, 8:57 AM

The wizard is same as you print report in OpenOffice. You just need to specify necessary information in your ods or odt files.

on 6/10/13, 9:11 AM

ok i already did and just want to send it to my file do u know how?

on 6/10/13, 10:40 AM

The rest is simple by writing python://for each="o in objects" in a cell by hyperlink in your ods file you will access your current form records in browse object manner like o.name,o.amount etc.

on 6/10/13, 10:46 AM

hello Keyur can u please guide on how to print value of a field in search view to a report? basically date range fields.

on 8/28/13, 10:52 AM

Sorry Evon I didn't get you. There are many reports based on wizard in openerp modules.

on 9/17/13, 9:12 AM

I am asking that if we have two date range fields only in search view then can we print its value in the reports too? check http://help.openerp.com/question/28218/how-to-use-data-of-a-date-range-from-search-view-in-my-openoffice-report/

on 9/18/13, 2:40 AM

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: 6/10/13, 7:30 AM
Seen: 2656 times
Last updated: 3/16/15, 8:10 AM