Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
7807 Представления

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 ?

Аватар
Отменить
Лучший ответ

HI,

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

Аватар
Отменить
Автор

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.

Автор

Thank you I will look into that.

Related Posts Ответы Просмотры Активность
3
авг. 22
2842
1
мар. 15
9924
3
мар. 15
7263
2
нояб. 24
37713
2
февр. 24
13151