From d92fe7019ad604e7e81fc1a4a552918e19a9fb0d Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Thu, 27 Sep 2012 18:14:35 +0200 Subject: [PATCH] [FIX] typos in demo data bzr revid: abo@openerp.com-20120927161435-53b1vef565j0g2vb --- addons/crm/crm_lead_demo.xml | 24 ++++++++++--------- addons/crm/crm_phonecall_demo.xml | 2 +- .../process/communication_with_customer.yml | 12 +++++----- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/addons/crm/crm_lead_demo.xml b/addons/crm/crm_lead_demo.xml index afc3d42aa1b..7849125282e 100644 --- a/addons/crm/crm_lead_demo.xml +++ b/addons/crm/crm_lead_demo.xml @@ -24,9 +24,9 @@ Hello, -I am Jason from Le Club SARL, -I am intertested to attend Training organized in your company, -Can you send details, +I am Jason from Le Club SARL. +I am intertested to attend a training organized in your company. +Can you send me the details ? @@ -108,7 +108,8 @@ Can you send details, - Hi, Can you send a quotation for 20 Computers with speakers? + Hi, +Can you send me a quotation for 20 computers with speakers? Regards, Carrie Helle, Purchase Manager @@ -213,8 +214,9 @@ Contact: +1 813 494 5005 - hi, -I want to know specification and cost of laptops of your company. + Hi, +I would like to know more about specification and cost of laptops of your company. + Thanks, Andrew @@ -556,9 +558,9 @@ Andrew Dear Customer, Thanks for showing interest in our products. We have attached the catalogue, -We would like to know your interests, Let us know if we can call you for more details. +We would like to know your interests, so let us know when we can call you for more details. -Thanks +Regards @@ -593,9 +595,9 @@ Thanks crm.lead Hello, -I am Jason from Le Club SARL, -I am intertested to attend Training organized in your company, -Can you send details, +I am Jason from Le Club SARL. +I am intertested to attend a training organized in your company. +Can you send me the details ? email diff --git a/addons/crm/crm_phonecall_demo.xml b/addons/crm/crm_phonecall_demo.xml index dfa73ffb37f..f441c29a7e6 100644 --- a/addons/crm/crm_phonecall_demo.xml +++ b/addons/crm/crm_phonecall_demo.xml @@ -46,7 +46,7 @@ - Wanted information about pricing of Laptops + Wanted information about pricing of laptops done (077) 582-4035 (077) 341-3591 diff --git a/addons/crm/test/process/communication_with_customer.yml b/addons/crm/test/process/communication_with_customer.yml index ec11528d15a..980c1408f26 100644 --- a/addons/crm/test/process/communication_with_customer.yml +++ b/addons/crm/test/process/communication_with_customer.yml @@ -1,7 +1,7 @@ - - Customer interested in our product. so he send request by email to get more details. + Customer interested in our product, so he sends 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 + Mail script will fetch his request from mail server. Then I process that mail after read EML file. - !python {model: mail.thread}: | import addons @@ -18,7 +18,7 @@ assert not lead.partner_id, "Customer should be a new" assert lead.name == "Fournir votre devis avec le meilleur prix.", "Subject does not match" - - I reply him request with welcome message. TODO revert mail.mail to mail.compose.message (conversion to customer should be automatic). + I reply his request with welcome message. TODO revert mail.mail to mail.compose.message (conversion to customer should be automatic). - !python {model: mail.mail}: | lead_ids = self.pool.get('crm.lead').search(cr, uid, [('email_from','=', 'Mr. John Right ')]) @@ -29,13 +29,13 @@ except: pass - - Now, I convert him into customer and put into regular customer list. + Now, I convert him into customer and put him into regular customer list. - !python {model: crm.lead}: | lead_ids = self.search(cr, uid, [('email_from','=', 'Mr. John Right ')]) self.convert_partner(cr, uid, lead_ids, context=context) - - I convert one phonecall request as a customer and put into regular customer list. + I convert one phonecall request to a customer and put him into regular customer list. - !python {model: crm.phonecall2partner}: | context.update({'active_model': 'crm.phonecall', 'active_ids': [ref("crm.crm_phonecall_4")], 'active_id': ref("crm.crm_phonecall_4")}) @@ -49,4 +49,4 @@ assert partner_id, "Customer is not found in regular customer list." data = self.browse(cr, uid, partner_id, context=context)[0] assert data.user_id.id == ref("base.user_root"), "User not assign properly" - assert data.name == "Wanted information about pricing of Laptops", "Bad partner name" + assert data.name == "Wanted information about pricing of laptops", "Bad partner name"