コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
7989 ビュー

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
5657
5
6月 20
36408
2
7月 25
4409
0
6月 25
2
2
12月 24
7604