Skip to Content
Menu
This question has been flagged
1 Atsakyti
7998 Rodiniai

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.

Portretas
Atmesti
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
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 21
5663
5
birž. 20
36427
2
liep. 25
4435
0
birž. 25
2
2
gruod. 24
7621