Odoo Help

0

SOLVED: How can i change default "Import" encoding

By
Dr Obx
on 8/27/15, 6:03 AM 689 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)

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: 8/27/15, 6:03 AM
Seen: 689 times
Last updated: 10/8/15, 10:16 AM