Base report csv

report_csv
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/19.0/report_csv
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Sergij Pfaifer
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module provides a basic report class to generate csv report.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report ir.actions.report xpath Inherits base.act_report_xml_view
Models touched (3)

New fields (3)
  • encode_error_handling Selection
    help='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')]
  • encoding Char
    help='Encoding to be applied to the generated CSV file. e.g. cp932'
  • report_type Selection
    ondelete={'csv': 'set default'} selection_add=[('csv', 'csv')]
Public methods (0)

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)
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/18.0/report_csv
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Wolfgang Pichler, oca-ci, JasminSForgeFlow, ???
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module provides a basic report class to generate csv report.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report ir.actions.report xpath Inherits base.act_report_xml_view
Models touched (3)

New fields (3)
  • encode_error_handling Selection
    help='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')]
  • encoding Char
    help='Encoding to be applied to the generated CSV file. e.g. cp932'
  • report_type Selection
    ondelete={'csv': 'set default'} selection_add=[('csv', 'csv')]
Public methods (0)

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)
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/17.0/report_csv
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSVíctor Martínez, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module provides a basic report class to generate csv report.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report ir.actions.report xpath Inherits base.act_report_xml_view
Models touched (3)

New fields (3)
  • encode_error_handling Selection
    help='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')]
  • encoding Char
    help='Encoding to be applied to the generated CSV file. e.g. cp932'
  • report_type Selection
    ondelete={'csv': 'set default'} selection_add=[('csv', 'csv')]
Public methods (0)

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)
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/16.0/report_csv
VERSION
VERSION 2.1.1
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSDenis Roussel, sbejaoui, Weblate, OCA-git-bot, oca-ci, Aungkokolin1997, Simon Maillard, Zina Rasoamanana
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report ir.actions.report xpath Inherits base.act_report_xml_view
Models touched (3)

New fields (3)
  • encode_error_handling Selection
    help='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')]
  • encoding Char
    help='Encoding to be applied to the generated CSV file. e.g. cp932'
  • report_type Selection
    ondelete={'csv': 'set default'} selection_add=[('csv', 'csv')]
Public methods (0)

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)
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/15.0/report_csv
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSAdrien Peiffer, Weblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report ir.actions.report xpath Inherits base.act_report_xml_view
Models touched (3)

New fields (3)
  • encode_error_handling Selection
    help='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')]
  • encoding Char
    help='Encoding to be applied to the generated CSV file. e.g. cp932'
  • report_type Selection
    ondelete={'csv': 'set default'} selection_add=[('csv', 'csv')]
Public methods (0)

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)
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/14.0/report_csv
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, ferran-73, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report ir.actions.report xpath Inherits base.act_report_xml_view
assets_backend assets_backend ir.ui.view qweb Inherits web.assets_backend
Models touched (3)

New fields (3)
  • encode_error_handling Selection
    help='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')]
  • encoding Char
    help='Encoding to be applied to the generated CSV file. e.g. cp932'
  • report_type Selection
    ondelete={'csv': 'set default'} selection_add=[('csv', 'csv')]
Public methods (0)

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)
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/13.0/report_csv
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSStéphane Bidoul, Laurent Mignon (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci, kongrattapong, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report ir.actions.report xpath Inherits base.act_report_xml_view
assets_backend assets_backend ir.ui.view qweb Inherits web.assets_backend
Models touched (3)

New fields (3)
  • encode_error_handling Selection
    help='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')]
  • encoding Char
    help='Encoding to be applied to the generated CSV file. e.g. cp932'
  • report_type Selection
    selection_add=[('csv', 'csv')]
Public methods (1)
  • render_csv(self, docids, data)
    @api.model

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)
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/12.0/report_csv
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSEnric Tobella, oca-travis, OCA-git-bot, Jaime Arroyo
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
assets_backend assets_backend ir.ui.view qweb Inherits web.assets_backend
Models touched (3)

New fields (1)
  • report_type Selection
    selection_add=[('csv', 'csv')]
Public methods (1)
  • render_csv(self, docids, data)
    @api.model

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)
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/11.0/report_csv
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSEnric Tobella, oca-travis
WEBSITE
WEBSITEhttps://github.com/oca/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES csv
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
assets_backend assets_backend ir.ui.view qweb Inherits web.assets_backend
Models touched (3)

New fields (1)
  • report_type Selection
    selection_add=[('csv', 'csv')]
Public methods (1)
  • render_csv(self, docids, data)
    @api.model

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)
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/10.0/report_csv
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca, ACSONE SA/NV
COMMITTERS
COMMITTERSLaurent Mignon (ACSONE), oca-travis
WEBSITE
WEBSITEhttps://github.com/oca/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - report
    - base
    - web
    - base_setup
    - web_kanban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unicodecsv
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
assets_backend assets_backend ir.ui.view qweb Inherits web.assets_backend
Models touched (4)

New fields (1)
  • report_type Selection
    selection_add=[('csv', 'csv')]
Public methods (1)
  • render_csv(self, docids, data)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • get_csv(self, docids, report_name, data=None)
    @api.model

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)