Se rendre au contenu
Menu
Cette question a été signalée

When I Import any 3rd party Module I'm facing following error

Error while importing module 'MODULE_NAME': "invalid character in identifier\n('<unknown>', 1, 1, '\\ufeff# -*- coding: utf-8 -*-\\n')"?
anyway to resolve that?


using Odoo 11 Enterprise, on Ubuntu 16.0.4, Python3

Avatar
Ignorer

In the Odoo v11 the line *- coding: utf-8 -*- is not required.. Just remove the line and see whether it is working or not

Publications associées Réponses Vues Activité
4
janv. 22
17141
1
déc. 22
6725
3
juil. 25
1994
3
mai 25
3479
2
juin 25
4035