Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
7971 Vues

when i run odoo version 10 in terminal using:

 python odoo-bin --addons ./addons

it give the error as below:

Error:  from openpyxl.styles import Style,

Font, Alignment, Border, Side ImportError: cannot import name Style

can anyone get it this error?

Please suggest the solution.

Avatar
Ignorer
Meilleure réponse

 I have the same error in Odoo 10.  I have written below the line.

 from openpyxl.styles import PatternFill, Border, Side, Alignment, Protection, Font

instead of

from openpyxl import Styles, Font, Alignment, Border, Side
Avatar
Ignorer
Publications associées Réponses Vues Activité
1
mars 21
5650
5
juin 20
36368
2
juil. 25
4338
0
juin 25
2
2
déc. 24
7570