As we know already, Odoo is providing most of the reports in PDF only. In some cases, we have option to export the report in Odoo. But most of the cases, we may face a situation to get the report in word file(.docx / .doc). This in need when we need to modify the content of the file like some application forms, certificate templates etc. Word Report In Odoo support us to get the reports in .doc or .dox format.
To manage this, by using python-docx library, we can print application forms, certificates templates and other word reports in Odoo. python-docx is a Python library for creating and updating Microsoft Word (.docx) files.
python-docx is hosted on PyPI, so installation is relatively simple, and just depends on what installation utilities you have installed.
It is possible to install python-docx with pip if you have it available:
python-docx can also install using easy_install, although this is discouraged:
If neither pip nor easy_install is available, it can install manually by downloading the distribution from PyPI, unpacking the tarball, and running setup.py:
python-docx depends on the lxml package. Both pip and easy_install will take care of satisfying those dependencies for you, but if you use this last method you will need to install those yourself.
This will help you to do Odoo custom Xls reports as per your requirements. So this is one of the most common request from Odoo users. This Odoo Customization by the software company Technaureus Info solutions helps to meet the users demand.
© Copyright 2019 Technaureus Info Solutions Pvt. Ltd.