Skip to content
Snippets Groups Projects
Commit 4717ccfa 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 merge of #36164 without the inventory part as
discussed.

Closes odoo/odoo#36164

closes odoo/odoo#36691

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