-
Notifications
You must be signed in to change notification settings - Fork 23.1k
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
Missing dependency for xlwt in RPM package #12897
Comments
@kutyel this was the bug you hit last week, fixed in https://bitbucket.org/yajo/docker-odoo/commits/4694dcf323bd222549118a3a9f66955977665094. Repull image and it will work (after rebuilt). |
Hello, xlwt is an optional dependency and Odoo should not crash if you don't have installed (we have some checks to verify if the module is present or not. |
xlwt comes in the v9 RPM AFAIK, maybe just backport that commit (wherever it is), not? |
Oh sorry I missed your issue was for 8.0 but anyway, if Odoo do work without xlwt (no error during use, all Excel-related options are hidden), I want to avoid changing the packaging. It would be an improvement, not a bug fix. In the code we have at several places try:
import xlwt
except ImportError:
xlwt = None |
Given `xlwt` could happen to not be installed because it is an optional dependency. See odoo/odoo#12897 (comment).
OK no problem, fixing downstream at OCA/reporting-engine#62 |
Impacted versions: 8.0
Steps to reproduce: install RPM package, open python console, execute
import xlwt
Current behavior:
ImportError
Expected behavior: works.
Video/Screenshot link (optional):
The text was updated successfully, but these errors were encountered: