Odoo Help

0

Translating newlines for data import into Odoo

By
SMA Admin
on 3/27/15, 2:03 PM 375 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.


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

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

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

1 follower(s)

Stats

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