Skip to content

Commit

Permalink
[FIX] crm: fix typo in converted server action code
Browse files Browse the repository at this point in the history
Typo introduced in a55ee38
as part of the conversion to the new syntax, following
9a8975b.
  • Loading branch information
odony committed Feb 28, 2017
1 parent 5765b36 commit e8ae724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/crm/views/crm_lead_views.xml
Expand Up @@ -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>
Expand Down

1 comment on commit e8ae724

@JKE-be
Copy link
Contributor

@JKE-be JKE-be commented on e8ae724 Feb 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👎 sorry

Please sign in to comment.