Odoo Help


How to extract a string in aeroo reports

on 5/23/13, 6:03 AM 1,502 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
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.

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

0 follower(s)


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