From 6f1ec915cf2142f57eb931681cfce488ebc71e5b Mon Sep 17 00:00:00 2001 From: Krupal Oza Date: Thu, 30 Jan 2020 06:52:43 +0000 Subject: [PATCH] [FIX] crm: fix demo data Purpose: Replace user's role by partner in the chatter of lead. Currently the discussion in the chatter of the lead is incorrect as both are users.The message is sent by user to demo user instead of partner. This commit fixes the behavior by setting the author of mail message to partner instead of user and if there is no partner selected then the message is sent by the contact email. Task 2180228 closes odoo/odoo#44253 Closes: https://github.com/odoo/odoo/pull/44253 Signed-off-by: Thibault Delavallee (tde) --- addons/crm/data/crm_lead_demo.xml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/addons/crm/data/crm_lead_demo.xml b/addons/crm/data/crm_lead_demo.xml index 75d6da17ae1..10f47973e20 100644 --- a/addons/crm/data/crm_lead_demo.xml +++ b/addons/crm/data/crm_lead_demo.xml @@ -64,10 +64,10 @@ Inquiry crm.lead - + jdunagan@leclub.example.com Hello,
- I am Jacques from Le Club SARL. I am interested to attend a training organized in your company.
+ I am Jacques from Le Club SARL. I am interested in attending a training organized by your company.
Can you send me the details ?

]]>
email @@ -99,10 +99,12 @@ Need Details crm.lead - + + md@oilcompany.fr Want to know features and benefits of using the new software. - comment + email + @@ -177,7 +179,7 @@ Inquiry crm.lead - + helle@stonageit.example.com Hi,
Can you send me a quotation for 20 computers with speakers?
@@ -258,7 +260,7 @@ Contact: +1 813 494 5005

]]>
Inquiry crm.lead - + logan_expert@gmail.example.com Hi,
Could you send me your product catalogue please ?
@@ -314,7 +316,7 @@ ESM Expert
]]>
Inquiry crm.lead - + jga@solar.example.com Hi,
I would like to know more about specification and cost of laptops of your company.
@@ -454,7 +456,7 @@ Andrew

]]>
crm.lead - + virginie@agrolait.fr

Hello,

@@ -486,7 +488,7 @@ Andrew

]]>
crm.lead virginie@agrolait.fr - + Thanks for the information!
I asked a precise specification to our technical expert. Here is what we precisely need:

  • weekly backups, every Monday