From fd9ec559cbe39c6dd38a81be46c51c1e7bb0e220 Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Tue, 8 Nov 2011 16:50:23 +0530 Subject: [PATCH] [IMP] marketing_campaign, marketing_campaign_crm_demo: Traceback generate when processing workitem, and Improved demo data of Email template bzr revid: ron@tinyerp.com-20111108112023-1fwd5vdez50lmiiw --- .../marketing_campaign/marketing_campaign.py | 2 +- .../marketing_campaign_demo.xml | 64 +++++++++---------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/addons/marketing_campaign/marketing_campaign.py b/addons/marketing_campaign/marketing_campaign.py index 547281911c4..9dc48c99873 100644 --- a/addons/marketing_campaign/marketing_campaign.py +++ b/addons/marketing_campaign/marketing_campaign.py @@ -707,7 +707,7 @@ class marketing_campaign_workitem(osv.osv): if result: # process _chain - workitem = workitem.browse(context)[0] # reload + workitem = workitem.browse(context=context)[0] # reload date = datetime.strptime(workitem.date, DT_FMT) for transition in activity.to_ids: diff --git a/addons/marketing_campaign_crm_demo/marketing_campaign_demo.xml b/addons/marketing_campaign_crm_demo/marketing_campaign_demo.xml index ee11fbcdb75..b89daa50438 100644 --- a/addons/marketing_campaign_crm_demo/marketing_campaign_demo.xml +++ b/addons/marketing_campaign_crm_demo/marketing_campaign_demo.xml @@ -34,27 +34,27 @@ - Thanks for showing interest in OpenERP - info@tinyerp.com + Thanks for showing interest in OpenERP + info@tinyerp.com - + - Hello,Thanks for generous interest you have shown in the openERP.Regards,OpenERP Team, + Hello,Thanks for generous interest you have shown in the openERP.Regards,OpenERP Team, mako For OpenERP OnDemand Free Trial 2010 crm.lead - Propose to subscribe to the OpenERP Discovery Day on May 2010 - info@tinyerp.com + Propose to subscribe to the OpenERP Discovery Day on May 2010 + info@tinyerp.com - + - Hello,We have very good offer that might suit you. + Hello,We have very good offer that might suit you. We propose you to subscribe to the OpenERP Discovery Day on May 2010. If any further information required kindly revert back. We really appreciate your co-operation on this. @@ -65,14 +65,14 @@ - Thanks for subscribing to the OpenERP Discovery Day - info@tinyerp.com + Thanks for subscribing to the OpenERP Discovery Day + info@tinyerp.com - + - Hello,Thanks for showing intrest and for subscribing to the OpenERP Discovery Day. + Hello,Thanks for showing intrest and for subscribing to the OpenERP Discovery Day. If any further information required kindly revert back. I really appreciate your co-operation on this. Regards,OpenERP Team, @@ -82,14 +82,14 @@ - Thanks for buying the OpenERP book - info@tinyerp.com + Thanks for buying the OpenERP book + info@tinyerp.com - + - Hello,Thanks for showing intrest and buying the OpenERP book. + Hello,Thanks for showing intrest and buying the OpenERP book. If any further information required kindly revert back. I really appreciate your co-operation on this. Regards,OpenERP Team, @@ -99,14 +99,14 @@ - Propose a free technical training to Gold partners - info@tinyerp.com + Propose a free technical training to Gold partners + info@tinyerp.com - + - Hello, We have very good offer that might suit you. + Hello, We have very good offer that might suit you. For our gold partners,We are arranging free technical training on june,2010. If any further information required kindly revert back. I really appreciate your co-operation on this. @@ -117,14 +117,14 @@ - Propose paid training to Silver partners - info@tinyerp.com + Propose paid training to Silver partners + info@tinyerp.com - + - Hello, We have very good offer that might suit you. + Hello, We have very good offer that might suit you. For our silver partners,We are paid technical training on june,2010. If any further information required kindly revert back. I really appreciate your co-operation on this. @@ -135,14 +135,14 @@ - Propose gold partnership to silver partners - info@tinyerp.com + Propose gold partnership to silver partners + info@tinyerp.com - + - Hello, We have very good offer that might suit you. + Hello, We have very good offer that might suit you. For our silver partners,We are offering Gold partnership. If any further information required kindly revert back. I really appreciate your co-operation on this. @@ -153,14 +153,14 @@ - Thanks for subscribing to technical training - info@tinyerp.com + Thanks for subscribing to technical training + info@tinyerp.com - + - Hello, Thanks for showing intrest and for subscribing to technical training.If any further information required kindly revert back.I really appreciate your co-operation on this. + Hello, Thanks for showing intrest and for subscribing to technical training.If any further information required kindly revert back.I really appreciate your co-operation on this. Regards,OpenERP Team, mako For subscribing to technical training