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.


How to extract a string in aeroo reports

on 5/23/13, 6:03 AM 1,153 views


I'm using aeroo reports and I'd like to retreive a predefined number of characters from a string field, for example only the 20 first characters from the field. I've looked in aeroo reports functions but I didn't find a function that does this. Should I write a parser to do this?

sorry it isn't an answer but Question too in fact ... u installed it in V7 i face problem installing it on V7 coulf u help me?

on 5/23/13, 6:10 AM

You should open a new discussion for that and ask your question.

on 5/23/13, 6:14 AM

i already did it but no answers ... and ur Question mean that you intalled it correctly any way ... if u like to help .. thank you very much ... if not .. just thx :)

on 5/23/13, 6:23 AM

Yes, I just saw it, I'll try to help you when I find time, I'm busy now.

on 5/23/13, 7:08 AM

thinks my friend ... i find the solution :) will your answer this Question soon ;)

on 5/23/13, 7:44 AM

I'm happy for you :) I've just found the answer for my question too.

on 5/23/13, 8:04 AM


| 5 3 8
Bogotá, Colombia
Informatics engineer Industrial engineer
On 6/27/13, 4:10 PM

you can use python inside the report, after your text field just put [from, to]

Example object.textfield[0:20]

Thanks Felipe, that worked!

on 6/28/13, 3:50 AM
On 5/23/13, 8:02 AM

I wrote a function in a custom parser for this, it's easy to do it. But I don't know why it doesn't exist in aeroo reports, I think it's an import function. Thanks anyway.

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

0 follower(s)


Asked: 5/23/13, 6:03 AM
Seen: 1153 times
Last updated: 3/16/15, 8:10 AM