Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 379 |
Technical Name |
alnas_xlsx |
License | LGPL-3 |
Website | https://github.com/alienyst |
Versions | 14.0 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 379 |
Technical Name |
alnas_xlsx |
License | LGPL-3 |
Website | https://github.com/alienyst |
Versions | 14.0 16.0 17.0 18.0 |
Xlsx Report Generator
The Xlsx Report Generator is a module that helps you create reports using only a .Xlsx template and Jinja syntax.
This module inspired from Report Xlsx.
Prerequisites
Before installing this module, make sure to install the following libraries:
pip install xlsxtpl num2words Babel
Usage
For usage instructions, you can refer to the following video: Link

Documentation on xlsxtpl syntax in the document: https://pypi.org/project/xlsxtpl
You can see example template for sale order here : https://github.com/alienyst/alnas-xlsx/raw/16.0/alnas_xlsx/static/description/example/example.xlsx
Field Naming Convention
To call and write the field name, use the following format: {{docs.field_name}}
, starting with the word "docs".
Useful Functions (Indonesian Language as default)
{{spelled_out(docs.numeric_field)}}
: Spell out numbers{{formatdate(docs.date_field)}}
: Format dates
Note: The functions will be updated as needed.
lang default is lang='id_ID' change if need, example = {{spelled_out(docs.numeric_field, lang='en_US')}}
Feedback
We welcome any feedback and suggestions, especially for improving this module. Thank you!
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Re:
Hello,
Thank you for your feedback. I apologize for the confusion. I forgot to rescan the repository. Please download it again.
If you encounter any other issues or need further assistance, please don't hesitate to let me know.
Best regards, Li
[ISSUE] Invalid Method
Hi, I checked Python Code, Method '_parse_html' does not exist.
Please check your python code.
Re: [ISSUE] Invalid Method
Hi,
Thank you for your feedback. I have reviewed the code and noticed that the _parse_html method was indeed referenced but not defined. I have since removed the code that calls _parse_html.
Please let me know if there are any other issues or if you need further assistance.
Best regards, Li