Skip to content

[19.0][MIG] survey_multi_company: Migration to version 19.0 - #237

Open
adasatorres-tecnativa wants to merge 10 commits into
OCA:19.0from
Tecnativa:19.0-mig-survey_multi_company
Open

[19.0][MIG] survey_multi_company: Migration to version 19.0#237
adasatorres-tecnativa wants to merge 10 commits into
OCA:19.0from
Tecnativa:19.0-mig-survey_multi_company

Conversation

@adasatorres-tecnativa

Copy link
Copy Markdown

Standard Migration.
@Tecnativa TT64014

chienandalu and others added 10 commits August 6, 2026 10:02
Currently translated at 100.0% (2 of 2 strings)

Translation: survey-15.0/survey-15.0-survey_multi_company
Translate-URL: https://translation.odoo-community.org/projects/survey-15-0/survey-15-0-survey_multi_company/it/
…y context

Web survey requests in multi-company environments may lack an explicitly active
company in the context, causing request.env.company to fall back to the user's
default company or the first allowed one. This can lead to access errors,
misapplied record rules, or incorrect business logic execution.
To prevent this, the company set on the survey is enforced via with_company()
on both the survey and the user input. This ensures that all company-dependent
operations behave as expected during the survey flow.
@OCA-git-bot OCA-git-bot added series:19.0 mod:survey_multi_company Module survey_multi_company labels Aug 6, 2026
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration survey_multi_company

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Aug 6, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Aug 6, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:survey_multi_company Module survey_multi_company series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants