From 31487c201e1e84c872388885e83b0715a44e960f Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Tue, 9 Mar 2010 14:39:07 +0530 Subject: [PATCH] [IMP]: crm: changes for opening meetings related to opportunity bzr revid: rpa@tinyerp.com-20100309090907-kxbr4h3x2p3yomao --- addons/crm/crm_opportunity_menu.xml | 6 +++--- addons/crm/wizard/crm_opportunity_wizard.py | 14 +++++--------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/addons/crm/crm_opportunity_menu.xml b/addons/crm/crm_opportunity_menu.xml index dc7e100152a..49d0452167b 100644 --- a/addons/crm/crm_opportunity_menu.xml +++ b/addons/crm/crm_opportunity_menu.xml @@ -8,9 +8,9 @@ name="Meetings" res_model="crm.meeting" src_model="crm.opportunity" - view_mode="calendar,tree,form" - context="{'default_duration': 4.0}" - domain="[('user_id','=',uid)]" + view_mode="tree,form,calendar," + context="{'default_duration': 4.0, 'default_opportunity_id': active_id}" + domain="[('user_id','=',uid), ('opportunity_id', '=', active_id)]" view_type="form"/>