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.


Translating newlines for data import into Odoo

SMA Admin
on 3/27/15, 2:03 PM 261 views

What string, utf-8 or otherwise, should I use that translates to a linebreak (\n, 0x0a) when importing a CSV file into Odoo?

We have some Memo fields that have lots of newlines. The text imports into Odoo as one single paragraph. I would like to have the newlines show as, well, newlines.

SMA Admin
On 3/27/15, 7:49 PM

I am not clear how "Python-PostgreSQL Database Adapter" helps with importing a CSV file into Odoo.

Kurt Heisel
On 3/27/15, 4:36 PM

I know that psycopg2 handles \n well, which if you have anymore than a couple of thousand rows is what you want to use, unless you love weekend/ week long runs. 

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)


Asked: 3/27/15, 2:03 PM
Seen: 261 times
Last updated: 3/27/15, 7:49 PM