Skip to content

[FIX] report_csv: guard docids against None in _render_csv#1163

Open
fsmw wants to merge 1 commit into
OCA:19.0from
fsmw:19.0-fix-report_csv-docids-none
Open

[FIX] report_csv: guard docids against None in _render_csv#1163
fsmw wants to merge 1 commit into
OCA:19.0from
fsmw:19.0-fix-report_csv-docids-none

Conversation

@fsmw
Copy link
Copy Markdown

@fsmw fsmw commented May 17, 2026

[FIX] report_csv: guard docids against None in _render_csv

The _render_csv method called len(docids) without checking if docids
is None, causing a TypeError when rendering CSV reports without
passing record IDs (e.g., from the UI wizard).

Forward-port of the fix needed for 18.0 as reported in #1125.

Fixes #1125

The _render_csv method called len(docids) without checking if docids
is None, causing a TypeError when rendering CSV reports without
passing record IDs (e.g., from the UI wizard).

Fixes OCA#1125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants