Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 Internal Server Error from upgrade of hr_payroll_community conflict with matplotlib.dates #103

Open
peebhoiy opened this issue Oct 2, 2023 · 1 comment

Comments

@peebhoiy
Copy link

peebhoiy commented Oct 2, 2023

Performed an upgrade 2 weeks ago and started getting 500 Internal server errors, review when Odoo status was checked showed that the error was coming from the hr_payroll_community update of 2 weeks ago. Tried several options with the matplotlib (downgraded/upgraded) package, but the same error keeps coming up from the hr_payroll_community module.

File "/opt/odoo16/odoo16/odoo/modules/module.py", line 463, in load_openerp_module
Oct 02 07:36:27 odoo-server odoo16[256373]: import('odoo.addons.' + module_name)
Oct 02 07:36:27 odoo-server odoo16[256373]: File "/opt/odoo16/odoo16/custom-addons/ohrms/hr_payroll_community/init.py", line 3, in
Oct 02 07:36:27 odoo-server odoo16[256373]: from . import models
Oct 02 07:36:27 odoo-server odoo16[256373]: File "/opt/odoo16/odoo16/custom-addons/ohrms/hr_payroll_community/models/init.py", line 7, in
Oct 02 07:36:27 odoo-server odoo16[256373]: from . import hr_payslip
Oct 02 07:36:27 odoo-server odoo16[256373]: File "/opt/odoo16/odoo16/custom-addons/ohrms/hr_payroll_community/models/hr_payslip.py", line 8, in
Oct 02 07:36:27 odoo-server odoo16[256373]: from matplotlib.dates import seconds
Oct 02 07:36:27 odoo-server odoo16[256373]: ImportError: cannot import name 'seconds' from 'matplotlib.dates' (/opt/odoo16/odoo16-venv/lib/python3.10/site-packages/matplotlib/dates.py)

@bojanmontex
Copy link

I have installed with matplotlib=3.2.2 version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants