Skip to content

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

Merged
OCA-git-bot merged 1 commit into
OCA:19.0from
chichi0718:19.0-fw-spreadsheet_oca-filename
Oct 21, 2026
Merged

OCA-git-bot merged 1 commit into
OCA:19.0from
chichi0718:19.0-fw-spreadsheet_oca-filename

Conversation

@chichi0718

Copy link
Copy Markdown
Contributor

Forward-port of #136. Replaces #138, which got closed when I deleted my fork by mistake.

_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".

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fast-tracking as well as clear bug:

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 19.0-ocabot-merge-pr-139-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 0435f4a into OCA:19.0 Oct 21, 2026
11 of 13 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 08d8efc. Thanks a lot for contributing to OCA. ❤️

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants