TIP: You can type at any time to perform a new search.
Base report csv
report_csv · OCA/reporting-engine
- Repository
- OCA/reporting-engine · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Reporting
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/reporting-engine
- Last tracking update
- 2026-08-07 09:06:34
- Authors
- Odoo Community Association (OCA), Creu Blanca
- Maintainers
- Odoo Community Association (OCA), Creu Blanca
- Committers
- OCA-git-bot, oca-ci, Sergij Pfaifer
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module provides a basic report class to generate csv report.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
act_report_xml_view |
ir.actions.report | ir.actions.report | Inherits base.act_report_xml_view |
HTTP endpoints (2)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | ReportController.report_download |
inherited | http | ALL | |
| (inherited route override) | ReportController.report_routes |
inherited | http | ALL |
Models touched (3)
New fields (3)
-
encode_error_handlingSelectionhelp='If nothing is selected, CSV export will fail with an error message when there is a character that fail to be encoded.'selection=[('ignore', 'Ignore'), ('replace', 'Replace')] -
encodingCharhelp='Encoding to be applied to the generated CSV file. e.g. cp932' -
report_typeSelectionondelete={'csv': 'set default'}selection_add=[('csv', 'csv')]
No public methods.
New fields (0)
No new fields.
Public methods (3)-
create_csv_report(self, docids, data) -
csv_report_options(self):return: dictionary of parameters. At least return 'fieldnames', but you can optionally return parameters that define the export format. Valid parameters include 'delimiter', 'quotechar', 'escapechar', 'doublequote', 'skipinitialspace', 'lineterminator', 'quoting'. -
generate_csv_report(self, file, data, objs)
New fields (0)
No new fields.
Public methods (2)-
csv_report_options(self) -
generate_csv_report(self, writer, data, partners)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…