summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/crm/views/crm_lead_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml
index a2666eb3cff..e5c97189f84 100644
--- a/addons/crm/views/crm_lead_views.xml
+++ b/addons/crm/views/crm_lead_views.xml
@@ -30,7 +30,7 @@
<div class="oe_button_box" name="button_box">
<button name="action_schedule_meeting" type="object"
class="oe_stat_button" icon="fa-calendar"
- context="{'partner_id': partner_id, 'search_default_opportunity_id': active_id}"
+ context="{'partner_id': partner_id, 'search_default_opportunity_id': id}"
attrs="{'invisible': [('type', '=', 'lead')]}">
<div class="o_stat_info">
<field name="meeting_count" class="o_stat_value"/>