Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] base: do not overwrite context when upgrading #162089

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MiquelRForgeFlow
Copy link
Contributor

Just allow to pass flags to the context of _process_end method. It's better always to extend than to force, as it helps in customizing projects. If you kill contexts, less tools we have at our disposal to do custom things.

Selection_3029

And just by coherence, let's harmonize it. Why randomly force or extend? Let's extend by default always.

Already discussed in #71802, but lacked definitive answer.

I will ask for other opinions before making a decision.


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Just allow to pass flags to the context of _process_end method. It's better to extend than to force.
@robodoo
Copy link
Contributor

robodoo commented Apr 16, 2024

@C3POdoo C3POdoo requested review from a team, xmo-odoo and HydrionBurst and removed request for a team April 16, 2024 14:45
@C3POdoo C3POdoo added the ORM ORM, python Framework related label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ORM ORM, python Framework related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants