Skip to Content
Menu
This question has been flagged
1 Odpoveď
7999 Zobrazenia

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
Zrušiť
Best Answer

 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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
mar 21
5663
5
jún 20
36427
2
júl 25
4435
0
jún 25
2
2
dec 24
7622