Odoo Help

0

How to extract a string in aeroo reports

By
Wided
on 5/23/13, 6:03 AM 1,444 views

Hello,

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?

Elmasry
on 5/23/13, 6:10 AM

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

Wided
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 :)

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

Wided
on 5/23/13, 7:08 AM

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

Elmasry
on 5/23/13, 7:44 AM

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

Wided
on 5/23/13, 8:04 AM
1
Felipe
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!

Wided
on 6/28/13, 3:50 AM
0
Wided
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.

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