Hello, I am creating an excel report with help of report_xlsx in odoo version 15. in this excel report I want to increase the height of the cell how can I increase cell height?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
1
Răspunde
2044
Vizualizări
You can use set_row() function for that.
Help on method set_row in module xlsxwriter.worksheet:
set_row(row, height=None, cell_format=None, options=None)
Set the width, and other properties of a row.
Args:
row: Row number (zero-indexed).
height: Row width. (optional).
cell_format: Row cell_format. (optional).
options: Dict of options such as hidden, level and collapsed.
Returns:
0: Success.
-1: Row number is out of worksheet bounds.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te