[IMP] crm: made some little changes in domain for field 'stage_id'
bzr revid: cha@tinyerp.com-20120904093220-b2kunh9ccec9z3xo
This commit is contained in:
@@ -213,7 +213,7 @@ class crm_lead(base_stage, osv.osv):
|
||||
'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority', select=True),
|
||||
'date_closed': fields.datetime('Closed', readonly=True),
|
||||
'stage_id': fields.many2one('crm.case.stage', 'Stage',
|
||||
domain="['&', '|', ('section_ids', '=', section_id), ('case_default', '=', True), '&', ('fold', '=', False), '|', ('type', '=', type), ('type', '=', 'both')]"),
|
||||
domain="['&', '&', '|', ('fold', '=', False),('section_ids', '=', section_id), ('case_default', '=', True), '|', ('type', '=', type), ('type', '=', 'both')]"),
|
||||
'user_id': fields.many2one('res.users', 'Salesperson'),
|
||||
'referred': fields.char('Referred By', size=64),
|
||||
'date_open': fields.datetime('Opened', readonly=True),
|
||||
|
||||
Reference in New Issue
Block a user