[ADD, IMP, REN]:

* Added file marketing_campaign_crm_demo/test/ui/workitem_report.yml [To see preview report of activity]
* Created record of campaign.segment for call campaign_onchange event
* Renamed file marketing_campaign_crm_demo/test/ui/onchange_events.yml => marketing_campaign_crm_demo/test/ui/demo_data.yml
* changed _openerp__.py

bzr revid: ron@tinyerp.com-20111130050947-1skwhf46h7t0dy9c
This commit is contained in:
ron@tinyerp.com 2011-11-30 10:39:47 +05:30
parent afe2cdb3c7
commit 8a0a6fab0c
3 changed files with 7 additions and 6 deletions

View File

@ -42,7 +42,8 @@ Creates demo data like leads, campaigns and segments for the module marketing_ca
],
'test': [
'test/process/marketing_campaign.yml',
'test/ui/onchange_events.yml'
'test/ui/demo_data.yml',
'test/ui/workitem_report.yml'
],
'installable': True,
'active': False,

View File

@ -0,0 +1,5 @@
-
I create segment record to call onchange event.
-
!record {model: marketing.campaign.segment, id: marketing_campaign_segment_bosslistusassociationslist0}:
campaign_id: marketing_campaign_openerpondemandfreetrial0

View File

@ -1,8 +1,3 @@
-
I call onchange event to change campaing for segment.
-
!python {model: marketing.campaign.segment}: |
self.onchange_campaign_id(cr, uid, [ref("marketing_campaign_segment_bosslistusassociationslist0")], ref("marketing_campaign_openerpondemandfreetrial0"))
-
I can see preview report of workitem.
-