Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
8380 Tampilan

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
Buang
Jawaban Terbai

 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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 21
5974
5
Jun 20
37441
2
Jul 25
5560
0
Jun 25
2
2
Okt 25
8344