Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2691 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Autore Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 24
1506
1
apr 24
1467
3
mar 24
2057
0
gen 24
2006
0
gen 24
2350