[FIX] crm: added a tracking on state, otherwise subtypes for won/lost were not activated.
bzr revid: tde@openerp.com-20121219111838-v80c932564zf3axl
This commit is contained in:
parent
91af1e1e59
commit
95897cf9ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue