Odoo Help

0

How to apply for loop in reports to print multiple values in .odt report designing ?

By
Sohail
on 5/14/13, 1:01 PM 1,231 views

I am designing a report in .odt and I need a way to apply a for loop to print multiple values. How do I go about it.

0

Francesco OpenCode

--Francesco OpenCode--
3638
| 5 7 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 5/14/13, 1:05 PM

Open the loop with this tag

for each="line in o.your_lines"

end close with this

/for

In the loop you can use line as you use o

line.name
line.relation_field_id.other_field

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.

Register

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

0 follower(s)

Stats

Asked: 5/14/13, 1:01 PM
Seen: 1231 times
Last updated: 3/16/15, 8:10 AM