Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I just upgraded my development machine to Ubuntu 13.10 and report_aeroo_ooo no longer loads. The problem seems to be that the libreoffice in 13.10 uses python 3 while the openerp server is being run with python 2.7. I tried copying uno.py and unohelper.py from python3/dist-packages to report_aeroo_ooo, but that didn't work either. The exact error message is:
Warning! Unmet python dependencies! dynamic module does not define init function (initpyuno) dynamic module does not define init function (initpyuno) No module named com.sun.star.beans No module named com.sun.star.uno No module named com.sun.star.connection No module named com.sun.star.beans No module named com.sun.star.lang No module named com.sun.star.io No module named com.sun.star.io
Does anyone know how I can get report_aeroo_ooo to work?
I met problem too, it take me for hours to solve. Problem is in 13.10 don't support python-uno for python2.x like Ubuntu 13.04 raring before.
Here is solution: Very simple thought install a version support python-uno then I find the build of LibreOffice PPA for Ubuntu.
You shouldn't waste time on download build DEB from libreoffice official it not compatible in this situation. first you remove libreoffice in your machine
sudo apt-get purge libreoffice*
then remove related
sudo apt-get purge openoffice.org-dtd-officedocument1.0 python-uno python3-uno uno-libs3 ure
sudo apt-get autoremove
then go there https://launchpad.net/~libreoffice/+archive/ppa/+packages then you download this build
libreoffice - 1:4.1.4~rc2-0ubuntu1~raring1~ppa1
The file you will download is
libreoffice-base-core_4.1.4~rc2-0ubuntu1~raring1~ppa1_amd64.deb libreoffice-writer_4.1.4~rc2-0ubuntu1~raring1~ppa1_amd64.deb libreoffice-calc_4.1.4~rc2-0ubuntu1~raring1~ppa1_amd64.deb libreoffice-core_4.1.4~rc2-0ubuntu1~raring1~ppa1_amd64.deb libreoffice-common_4.1.4~rc2-0ubuntu1~raring1~ppa1_all.deb python-uno_4.1.4~rc2-0ubuntu1~raring1~ppa1_amd64.deb
You should install libreoffice-common_4.1.4 first then libreoffice-core then libreoffice-base-core then writer and calc and python-uno --> this is what we need.
The solution turns out to be a little complicated. I'll write a blog post to further expand on this but basically:
- Install OpenERP in a virtualenv (this had its own set of hurdles I had to overcome)
- Install an older version of Libreoffice (I installed ver. 3.7.2) into the virtualenv
- Append the path to the program subdirectory of the libreoffice installation to $PYTHONPATH
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/21/13, 10:09 AM|
|Seen: 6655 times|
|Last updated: 3/16/15, 8:10 AM|