Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
7369 Näkymät

I can export CSV of products by using "export" when I am on the products list. However, the csv is encoded in ANSI. How could I encode it in UTF-8 ?

Avatar
Hylkää
Paras vastaus

HI,

following link may solve your issue: https://accounts.openerp.com/forum/Help-1/question/30464

Avatar
Hylkää
Tekijä

Hi Nehal, thanks for the link, but I need to have the file directly in UTF-8 when I click the "export" button. I can't have an extra step like converting it myself... I'd like to know what files are used for the export function ?

Find the export_data method in file your_server_addons/osv/orm.py file and web/controllers/main.py index method those are used to export the data from OpenERP.

Tekijä

Thank you I will look into that.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
elok. 22
2515
1
maalisk. 15
9447
3
maalisk. 15
7263
2
marrask. 24
36936
2
helmik. 24
12550