From 95897cf9ac536b953aaf37ff49882d26b2eab329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 19 Dec 2012 12:18:38 +0100 Subject: [PATCH] [FIX] crm: added a tracking on state, otherwise subtypes for won/lost were not activated. bzr revid: tde@openerp.com-20121219111838-v80c932564zf3axl --- addons/crm/crm_lead.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 0e0b718a5f6..4172dbc00af 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -261,6 +261,7 @@ class crm_lead(base_stage, format_address, osv.osv): multi='day_close', type="float", store=True), 'state': fields.related('stage_id', 'state', type="selection", store=True, selection=crm.AVAILABLE_STATES, string="Status", readonly=True, + track_visibility=1, help='The Status is set to \'Draft\', when a case is created. If the case is in progress the Status is set to \'Open\'. When the case is over, the Status is set to \'Done\'. If the case needs to be reviewed then the Status is set to \'Pending\'.'), # Only used for type opportunity