[FIX] crm: fix typo in converted server action code

Typo introduced in a55ee3858c
as part of the conversion to the new syntax, following
9a8975be46.
This commit is contained in:
Olivier Dony
2017-02-28 14:29:13 +01:00
parent 5765b36c5a
commit e8ae724b6c
+1 -1
View File
@@ -672,7 +672,7 @@
<field name="code">
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
</field>
</record>