From ece864e5320043ac91f35853d8ae78b797ba16c4 Mon Sep 17 00:00:00 2001 From: "Yogesh (OpenERP)" Date: Thu, 24 Feb 2011 15:43:05 +0530 Subject: [PATCH 1/2] [IMP] email.compose.message :- add the email_model=model name pass in context in xml file and change the active_model to email_model in default_get method. Global list define of email_model in crm and module are install then add the model name in this list. bzr revid: ysa@tinyerp.com-20110224101305-iagvga1j6o6h4k0k --- addons/crm/crm_lead_view.xml | 2 +- addons/crm/crm_opportunity_view.xml | 2 +- addons/crm/wizard/email_compose_message.py | 11 +++++++---- addons/crm_claim/crm_claim.py | 3 +++ addons/crm_claim/crm_claim_view.xml | 2 +- addons/crm_fundraising/crm_fundraising.py | 3 +++ addons/crm_fundraising/crm_fundraising_view.xml | 2 +- addons/crm_helpdesk/crm_helpdesk.py | 3 +++ addons/crm_helpdesk/crm_helpdesk_view.xml | 2 +- addons/email_template/wizard/email_compose_message.py | 2 -- .../wizard/email_compose_message_view.xml | 4 ++-- addons/emails/wizard/email_compose_message.py | 8 ++------ addons/event/event.py | 3 +++ addons/event/event_view.xml | 2 +- addons/hr_evaluation/wizard/email_compose_message.py | 2 +- addons/hr_recruitment/hr_recruitment.py | 3 +++ addons/hr_recruitment/hr_recruitment_view.xml | 2 +- addons/project_issue/project_issue.py | 3 +++ addons/project_issue/project_issue_view.xml | 2 +- addons/project_scrum/project_scrum_view.xml | 2 +- addons/project_scrum/wizard/email_compose_message.py | 4 ++-- 21 files changed, 41 insertions(+), 26 deletions(-) diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index a11ccccd9c3..3ca0101fb88 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -208,7 +208,7 @@ icon="terp-document-new" type="action" />