[REM]: crm: 1)Removed test_crm_partner2opportunity.yml

bzr revid: ron@tinyerp.com-20111014085903-b2i8gk93nuo5ckd5
This commit is contained in:
ron@tinyerp.com
2011-10-14 14:29:03 +05:30
parent 7ed74f873e
commit 86e0aa5cc2
2 changed files with 0 additions and 26 deletions
-1
View File
@@ -130,7 +130,6 @@ Creates a dashboard for CRM that includes:
'test/test_crm_stage_changes.yml',
'test/test_crm_recurrent_meeting_case2.yml',
'test/test_crm_phonecall_case2.yml',
'test/test_crm_partner2opportunity.yml',
'test/test_crm_segmentation.yml',
],
'installable': True,
@@ -1,25 +0,0 @@
- |
I start by creating a new opportunity from partner.
-
!record {model: crm.partner2opportunity, id: crm_partner2opportunity_id_0}:
name: test
planned_revenue: 0.0
partner_id: base.res_partner_9
probability: 0.0
-
I click on "Create Opportunity" button of this wizard.
-
!python {model: crm.partner2opportunity}: |
fields = {
'name': 'test',
'planned_revenue': '0.0',
'partner_id': ref('base.res_partner_9'),
'probability': '0.0'
}
self.default_get(cr, uid, fields, {"active_ids": [ref("crm_partner2opportunity_id_0")]})
- |
In order to check the opportunity is created or not, I check type.
-
!python {model: crm.partner2opportunity}: |
opportunity = self.make_opportunity(cr, uid, [ref("crm_partner2opportunity_id_0")], {"active_ids": [ref("crm_partner2opportunity_id_0")]})
assert True