跳至内容
菜单
此问题已终结
1 回复
8112 查看

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.

形象
丢弃
最佳答案

 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
形象
丢弃
相关帖文 回复 查看 活动
1
3月 21
5772
5
6月 20
36920
2
7月 25
4790
0
6月 25
2
2
12月 24
7894