Skip to content
Snippets Groups Projects
Commit 921f5ffd authored by Jairo Llopis's avatar Jairo Llopis Committed by Martin Trigaux
Browse files

[FIX] *: remove buggy calls to with_context


When .with_context() is called with a dictionary as 1st positional
argument, it will replace context (and not modify the referenced keys)
It may create bugs when losing the content of the context (e.g. remove
partner's language)

This is a partial backport of #36164 with the website part as
discussed.

closes odoo/odoo#36692

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 1ebf5cc1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment