Skip to Content
Menu
This question has been flagged
1 Reply
6735 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
1
Mar 21
4743
5
Jun 20
30608
2
Nov 24
25098
2
May 24
5524
3
Mar 24
4964