From e8ae724b6cfcc233ec8ea6ebca5224e4810cb375 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 28 Feb 2017 14:29:12 +0100 Subject: [PATCH] [FIX] crm: fix typo in converted server action code Typo introduced in a55ee3858cbd8cf30a63b3a873003965f15df800 as part of the conversion to the new syntax, following 9a8975be46a361d8f183afb7a323e8425db95f19. --- addons/crm/views/crm_lead_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index 1c97d7176a8..442011c5fda 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -672,7 +672,7 @@ if record: action_values = env.ref('crm.crm_lead_lost_action').read()[0] - action_values.update({'context': context}) + action_values.update({'context': env.context}) action = action_values