Odoo Help

Welcome!

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.

0

How to add filter to Aeroo report from a wizard?

By
Elmasry
on 6/10/13, 7:30 AM 1,808 views

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

how can i do it?

ex.

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

0

Keyur

--Keyur--
1165
| 4 4 8
Ahmedabad, India
--Keyur--

Odoo Expert

Keyur
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?

Elmasry
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.

Keyur
on 6/10/13, 9:11 AM

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

Elmasry
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.

Keyur
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.

evon_dun
on 8/28/13, 10:52 AM

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

Keyur
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/

evon_dun
on 9/18/13, 2:40 AM

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)

Stats

Asked: 6/10/13, 7:30 AM
Seen: 1808 times
Last updated: 3/16/15, 8:10 AM