Odoo Help

Welcome!

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.

0

SOLVED: How can i change default "Import" encoding

By
Dr Obx
on 8/27/15, 6:03 AM 447 views

Hi guys, I would like to change Import encoding to Windows-1252 as default. Where cani do it ?

I tried in /addons/web/static/src/xml/base.xml but it won't work ;(

Is there any other place where can i change it ?

============== S O L U T I O N ===============

Found it in /addons/base_import/static/src/js/import.js

Lines: 169 - 173 (changed utf-8 to windows-1252)

initSelection: function (e, c) {

return c({id: 'windows-1252', text: 'Windows-1252'});

}

}).select2('val', 'windows-1252');

},

Now CSV file downloaded from ebay can be uploaded into odoo without extra action.

(of course each field name must match EBAY<=>ODOO)

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)

Stats

Asked: 8/27/15, 6:03 AM
Seen: 447 times
Last updated: 10/8/15, 10:16 AM