From 5dad570423204c817f61d58b6d56bd376362e1b9 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Wed, 28 Aug 2019 08:33:54 +0000 Subject: [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#36729 X-forward: 4717ccfa Signed-off-by: Martin Trigaux (mat) --- doc/reference/reports.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/reference') diff --git a/doc/reference/reports.rst b/doc/reference/reports.rst index ee36f9bfd27..f12efdcab07 100644 --- a/doc/reference/reports.rst +++ b/doc/reference/reports.rst @@ -153,7 +153,7 @@ For example, let's look at the Sale Order report from the Sale module::