From a8c70fd477623bd044271a62c3986d9f0f0c1d7b Mon Sep 17 00:00:00 2001 From: "Atik Agewan (OpenERP)" Date: Thu, 15 Dec 2011 18:00:30 +0530 Subject: [PATCH] [ADD]CRM:use proper sentence case bzr revid: aag@tinyerp.com-20111215123030-19icn1v6gc11om29 --- addons/crm/test/process/cancel_lead.yml | 4 ++-- .../test/process/communication_with_customer.yml | 2 +- addons/crm/test/process/lead2opportunity2win.yml | 14 +++++++------- addons/crm/test/process/segmentation.yml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/addons/crm/test/process/cancel_lead.yml b/addons/crm/test/process/cancel_lead.yml index a5f85a14058..ca5f7d0174a 100644 --- a/addons/crm/test/process/cancel_lead.yml +++ b/addons/crm/test/process/cancel_lead.yml @@ -29,12 +29,12 @@ !assert {model: crm.lead, id: crm.crm_case_itisatelesalescampaign0, string: Lead is in pending state}: - state == "pending" - - I Escalate the Lead to Parent Team. + I escalate the lead to parent team. - !python {model: crm.lead}: | self.case_escalate(cr, uid, [ref("crm_case_itisatelesalescampaign0")]) - - I check lead escalate to Parent Team. + I check lead escalate to parent team. - !assert {model: crm.lead, id: crm.crm_case_itisatelesalescampaign0, string: Escalate lead to parent team}: - section_id.name == "Sales Department" diff --git a/addons/crm/test/process/communication_with_customer.yml b/addons/crm/test/process/communication_with_customer.yml index 5b973f8b46d..83d2ce915ac 100644 --- a/addons/crm/test/process/communication_with_customer.yml +++ b/addons/crm/test/process/communication_with_customer.yml @@ -1,5 +1,5 @@ - - Customer interested in our product. so He send request by email to get more details. + Customer interested in our product. so he send request by email to get more details. - Mail script will be fetched him request from mail server. so I process that mail after read EML file - diff --git a/addons/crm/test/process/lead2opportunity2win.yml b/addons/crm/test/process/lead2opportunity2win.yml index c921a5330fd..52b6fdc2cad 100644 --- a/addons/crm/test/process/lead2opportunity2win.yml +++ b/addons/crm/test/process/lead2opportunity2win.yml @@ -46,13 +46,13 @@ ids = self.search(cr, uid, [('opportunity_id', '=', ref('crm_case_qrecorp0'))]) assert len(ids), 'phonecall is not scheduled' - - Now I schedule Meeting with Customer. + Now I schedule meeting with customer. - !python {model: crm.lead}: | self.action_makeMeeting(cr, uid, [ref('crm_case_qrecorp0')]) - - After communicated with customer, I put some notes with Contract details. + After communicated with customer, I put some notes with contract details. - !python {model: crm.add.note}: | context.update({'active_model': 'crm.lead', 'active_id': ref('crm_case_qrecorp0')}) @@ -64,7 +64,7 @@ !python {model: crm.lead}: | self.case_mark_won(cr, uid, [ref("crm_case_qrecorp0")]) - - I check details of the opportunity After won the opportunity. + I check details of the opportunity after won the opportunity. - !python {model: crm.lead}: | lead = self.browse(cr, uid, ref('crm_case_qrecorp0')) @@ -79,7 +79,7 @@ id = self.create(cr, uid, {'user_ids': [ref('base.user_root')], 'section_id': ref('crm.section_sales_department')}, context=context) self.mass_convert(cr, uid, [id], context=context) - - Now I check First lead converted on opportunity. + Now I check first lead converted on opportunity. - !python {model: crm.lead}: | opp = self.browse(cr, uid, ref('crm_case_employee0')) @@ -88,7 +88,7 @@ assert opp.partner_id.name == "Agrolait", 'Partner missmatch!' assert opp.stage_id.id == ref("stage_lead1"), 'Stage of probability is incorrect!' - - Then check for Second lead converted on opportunity. + Then check for second lead converted on opportunity. - !python {model: crm.lead}: | opp = self.browse(cr, uid, ref('crm_case_electonicgoodsdealer0')) @@ -96,13 +96,13 @@ assert opp.type == 'opportunity', 'Lead is not converted to opportunity!' assert opp.stage_id.id == ref("stage_lead1"), 'Stage of probability is incorrect!' - - I confirm Review needs Meeting. + I confirm review needs meeting. - !python {model: crm.meeting}: | context.update({'active_model': 'crm.meeting'}) self.case_open(cr, uid, [ref('crm.crm_case_reviewneeds0')]) - - I Invite a user for Meeting. + I invite a user for meeting. - !python {model: calendar.attendee}: | meeting_id = self.create(cr, uid, {'user_id': ref('base.user_root'), 'email': 'user@meeting.com' }) diff --git a/addons/crm/test/process/segmentation.yml b/addons/crm/test/process/segmentation.yml index 74500049290..f3801b80ec6 100644 --- a/addons/crm/test/process/segmentation.yml +++ b/addons/crm/test/process/segmentation.yml @@ -8,7 +8,7 @@ #Todo: Need to check after segmentation started - - I create rule Segmentation line record for partner . + I create rule segmentation line record for partner . - !python {model: crm.segmentation.line}: | id = self.create(cr, uid, {'name': "OpenERP partners",'expr_value': 25})