SQL Export Excel
sql_export_excel · OCA/reporting-engine
OCA/server-tools 12.0–14.0 → OCA/reporting-engine 15.0–18.0
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 21 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
1 model
1 view
0 HTTP endpoints
Description
Add the possibility to extract data from a sql query toward an excel file. It is also possible to provide an template excel file for a query. In this case, the data will be inserted in the specified sheet of the provided excel file. This is usefull when doing a lot of calculation in excel and the data is coming from Odoo.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sql_export_excel_view_form |
sql.export | form | Inherits sql_export.sql_export_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (6)
-
attachment_idMany2one → ir.attachmenthelp='If you configure an excel file (in xlsx format) here, the result of the query will be injected in it.\nIt is usefull to feed data in a excel file pre-configured with calculation'string='Excel Template' args: 'ir.attachment' -
col_positionIntegerdefault=1help='Indicate from which column the result of the query should be injected.'string='Column Position' -
file_formatSelectionondelete={'excel': 'set default'}selection_add=[('excel', 'Excel')] -
headerBooleandefault=Truehelp='Indicate if the header should be exported to the file.' -
row_positionIntegerdefault=1help='Indicate from which row the result of the query should be injected.' -
sheet_positionIntegerdefault=1help="Indicate the sheet's position of the excel template where the result of the sql query should be injected."
-
check_column_position(self)@api.constrains('col_position') -
check_row_position(self)@api.constrains('row_position') -
check_sheet_position(self)@api.constrains('sheet_position') -
excel_get_data_from_query(self, variable_dict)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…