Skip to Content
Menu
This question has been flagged
1 Reply
3562 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)

Avatar
Discard