[ADD] marketing_campaign_crm_demo: Added test/process/marketing_campaign.yml
bzr revid: ron@tinyerp.com-20111110121710-zcm22g2y4uyzhtzl
This commit is contained in:
parent
cf3c4d24cc
commit
a9893f1aa6
|
@ -40,6 +40,9 @@ Creates demo data like leads, campaigns and segments for the module marketing_ca
|
|||
'demo_xml': [
|
||||
'marketing_campaign_demo.xml',
|
||||
],
|
||||
'test': [
|
||||
'test/process/marketing_campaign.yml',
|
||||
],
|
||||
'installable': True,
|
||||
'active': False,
|
||||
'certificate' : '001005497972871352957',
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
-
|
||||
I created marketing campaing "OpenERP OnDemand Free Trial" to reach our partners leads
|
||||
with specific activity(offers) and communication via email and take action according
|
||||
to campaing activity.
|
||||
Now I start this compaign.
|
||||
-
|
||||
!workflow {model: marketing.campaign, action: state_running_set, ref: marketing_campaign_openerpondemandfreetrial0}
|
||||
-
|
||||
I check the campaign on Running mode.
|
||||
-
|
||||
!assert {model: marketing.campaign, id: marketing_campaign_openerpondemandfreetrial0}:
|
||||
- state == 'running'
|
||||
-
|
||||
This campaign is only for Belgium partner of leads, so I assinged this Campaign
|
||||
to right segment(Only for Belgium Leads), after that I start this segment.
|
||||
-
|
||||
!workflow {model: marketing.campaign.segment, action: state_running_set, ref: marketing_campaign_segment_bosslistusassociationslist0}
|
||||
-
|
||||
I check the Segment on Running mode.
|
||||
-
|
||||
!assert {model: marketing.campaign.segment, id: marketing_campaign_segment_bosslistusassociationslist0}:
|
||||
- state == 'running'
|
||||
-
|
||||
I synchronized this segment manually to see all step of activity covered on this campaign.
|
||||
-
|
||||
!python {model: marketing.campaign.segment}: |
|
||||
self.synchroniz(cr, uid, [ref("marketing_campaign_segment_bosslistusassociationslist0")])
|
Loading…
Reference in New Issue