Skip to content
Snippets Groups Projects
Commit eebb8e14 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 cherry-pick to saas-12.5 of odoo/odoo#36164 of the logistic
part as discussed

closes odoo/odoo#36690

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent f2b4d988
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