Skip to content

[18.0][FIX] spreadsheet_oca: Take care about variables on domain - #97

Merged
OCA-git-bot merged 1 commit into
OCA:18.0from
Tecnativa:18.0-FIX-spreadsheet_oca-domain
Mar 3, 2026
Merged

[18.0][FIX] spreadsheet_oca: Take care about variables on domain#97
OCA-git-bot merged 1 commit into
OCA:18.0from
Tecnativa:18.0-FIX-spreadsheet_oca-domain

Conversation

@CarlosRoca13

Copy link
Copy Markdown
Contributor

This commit fixes the problem reported in this issue: #96

Before these changes, the domain was taking the processed domain value, so it was using the value for the logged-in user. For example, if the uid variable was used, it was replaced with the user's ID and thus passed that way to the spreadsheet domains.

After these changes, the domain sent to the spreadsheet is the unprocessed domain, so the variables are preserved and remain fully usable.

cc @Tecnativa

ping @pedrobaeza @christian-ramos-tecnativa

This commit fixes the problem reported in this issue: OCA#96

Before these changes, the domain was taking the processed domain value, so it was using the value for the logged-in user. For example, if the uid variable was used, it was replaced with the user's ID and thus passed that way to the spreadsheet domains.

After these changes, the domain sent to the spreadsheet is the unprocessed domain, so the variables are preserved and remain fully usable.

@christian-ramos-tecnativa christian-ramos-tecnativa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested and now the context variables continue in the domain, LGTM!

@pedrobaeza pedrobaeza added this to the 18.0 milestone Mar 2, 2026
@pedrobaeza pedrobaeza linked an issue Mar 3, 2026 that may be closed by this pull request

@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.

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-97-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@OCA-git-bot
OCA-git-bot merged commit 605a62d into OCA:18.0 Mar 3, 2026
7 checks passed
@pedrobaeza
pedrobaeza deleted the 18.0-FIX-spreadsheet_oca-domain branch March 3, 2026 13:59
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.

Pivot Domain does not allow "uid" to be used as a value

4 participants