Skip to content
Snippets Groups Projects
Commit 7ae605dc authored by Fabien Pinckaers's avatar Fabien Pinckaers
Browse files

merge

lp bug: https://launchpad.net/bugs/810404 fixed

bzr revid: fp@tinyerp.com-20110924104526-c08gf9uea5nxg9hg
parents 554213de fa577c8a
Branches
Tags
No related merge requests found
......@@ -71,10 +71,10 @@ class crm_helpdesk(crm.crm_case, osv.osv):
'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'),
'probability': fields.float('Probability (%)'),
'categ_id': fields.many2one('crm.case.categ', 'Category', \
domain="[('section_id','=',section_id),\
('object_id.model', '=', 'crm.helpdesk')]"),
'duration': fields.float('Duration', states={'done': [('readonly', True)]}),
'state': fields.selection(crm.AVAILABLE_STATES, 'State', size=16, readonly=True,
domain="['|',('section_id','=',False),('section_id','=',section_id),\
('object_id.model', '=', 'crm.helpdesk')]"),
'duration': fields.float('Duration', states={'done': [('readonly', True)]}),
'state': fields.selection(crm.AVAILABLE_STATES, 'State', size=16, readonly=True,
help='The state is set to \'Draft\', when a case is created.\
\nIf the case is in progress the state is set to \'Open\'.\
\nWhen the case is over, the state is set to \'Done\'.\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment