Skip to content

[19.0][FW] spreadsheet_oca: compute filename per record - #138

Closed
chichi0718 wants to merge 1 commit into
OCA:19.0from
chichi0718:19.0-fw-spreadsheet_oca-filename
Closed

chichi0718 wants to merge 1 commit into
OCA:19.0from
chichi0718:19.0-fw-spreadsheet_oca-filename

Conversation

@chichi0718

Copy link
Copy Markdown
Contributor

Forward-port of #136.

_compute_filename reads self.name inside for record in self, so computing filename on more than one record at once (list views, exports, batch read()) raises ValueError: Expected singleton. This PR uses record.name.

_compute_filename read self.name inside the loop, so computing the field
on more than one record at once (list views, exports, batch reads)
raised "ValueError: Expected singleton".
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