Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2460 Lượt xem

Recently when I want to install sign module from enterprise on odoo 17, I got this error :

File "/home/yogi/projects/odoo/enterprise/sign/models/sign_request.py", line 31, in <module>
    from odoo.tools.pdf import PdfFileReader, PdfFileWriter, PdfReadError
ImportError: cannot import name 'PdfReadError' from 'odoo.tools.pdf' (/home/yogi/projects/odoo/odoo/odoo/tools/pdf.py)

Do you know how to solve this error ?
I try start from refresh pull from enterprise git, reset database, reset odoo installation

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

It seems that your Odoo core itself is outdated. So, you upgraded your Enterprise add-ons but haven't pulled the changes to the Odoo folder itself. Thus, get the changes and restart Odoo.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thanks for your solutions, you are right, the problem is cause the odoo community has been update recently, but I forget to pull it. Thank you once again

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 24
1360
1
thg 4 24
1342
3
thg 3 24
1911
0
thg 1 24
1866
0
thg 1 24
2222