diff options
| author | Florent Lejoly <fle@odoo.com> | 2019-08-21 08:54:05 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-08-22 09:17:42 +0000 |
| commit | 4aa1749699c26f8e804dfe3900e03fcaa363862a (patch) | |
| tree | 4a90688bd0aae3851f145da4900dee1c8937374d /addons/crm/data | |
| parent | 8d0aee229364e9db36d5406b4b7a377f146e5f7c (diff) | |
[IMP] crm: improve stage messages, some strings and fix some typos
As part of the back2basics, the stage messages were modified to be clearer
* when an opportunity is lost previously 2 separated messages where
created in the chatter (one for the reason, one for the active state)
now, one message is created with both infos;
* new message when an opportunity is restored;
There where also some fixes to typos, and an the probability of a lead
to be successful received a new title "estimated by Odoo".
Task 2026297
closes odoo/odoo#35308
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/crm/data')
| -rw-r--r-- | addons/crm/data/crm_lead_data.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/addons/crm/data/crm_lead_data.xml b/addons/crm/data/crm_lead_data.xml index b654c1b6028..2ef4a9fea08 100644 --- a/addons/crm/data/crm_lead_data.xml +++ b/addons/crm/data/crm_lead_data.xml @@ -28,6 +28,12 @@ <field name="default" eval="False"/> <field name="description">Opportunity lost</field> </record> + <record id="mt_lead_restored" model="mail.message.subtype"> + <field name="name">Opportunity Restored</field> + <field name="res_model">crm.lead</field> + <field name="default" eval="False"/> + <field name="description">Opportunity restored</field> + </record> <!-- Salesteam-related subtypes for messaging / Chatter --> <record id="mt_salesteam_lead" model="mail.message.subtype"> <field name="name">Opportunity Created</field> @@ -59,6 +65,14 @@ <field name="parent_id" eval="ref('mt_lead_lost')"/> <field name="relation_field">team_id</field> </record> + <record id="mt_salesteam_lead_restored" model="mail.message.subtype"> + <field name="name">Opportunity Restored</field> + <field name="sequence">14</field> + <field name="res_model">crm.team</field> + <field name="default" eval="False"/> + <field name="parent_id" eval="ref('mt_lead_restored')"/> + <field name="relation_field">team_id</field> + </record> <!--Definition of an email template with an empty body that will be used in opportunity mailing. Used to give a basis for email recipients, name and to ease the definition of a further |
