From d90f5ae2eddd50016c7940f41dd9bfc726b21054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 25 May 2012 13:51:16 +0200 Subject: [PATCH] [FIX] crm_lead: fixed a YML test. bzr revid: tde@openerp.com-20120525115116-pnkhqy5vditjqeor --- addons/crm/test/process/lead2opportunity2win.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/test/process/lead2opportunity2win.yml b/addons/crm/test/process/lead2opportunity2win.yml index df3c437399a..cb9ddd3f1f1 100644 --- a/addons/crm/test/process/lead2opportunity2win.yml +++ b/addons/crm/test/process/lead2opportunity2win.yml @@ -104,7 +104,7 @@ I check details of the opportunity after the loose - !python {model: crm.lead}: | - lead = self.browse(cr, uid, ref('crm_case_qrecorp0')) + lead = self.browse(cr, uid, ref('crm_case_electonicgoodsdealer0')) assert lead.stage_id.id == ref('crm.stage_lead8'), "Opportunity stage should be 'Lost'." assert lead.state == 'cancel', "Lost opportunity is not in 'cancel' state!" assert lead.probability == 100.0, "Revenue probability should be 100.0!"