跳至內容
選單
此問題已被標幟
2 回覆
2419 瀏覽次數

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

頭像
捨棄
最佳答案

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.

頭像
捨棄
作者 最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 24
1316
1
4月 24
1324
3
3月 24
1874
0
1月 24
1860
0
1月 24
2201