[IMP] crm:-reverted the useability change in the state field of Phonecall

bzr revid: mtr@mtr-20100923141731-1cstzpjimk4t6lbz
This commit is contained in:
mtr 2010-09-23 19:47:31 +05:30
parent e6657edd35
commit dbd589dd12
2 changed files with 7 additions and 7 deletions

View File

@ -50,11 +50,11 @@ class crm_phonecall(crm_case, osv.osv):
'company_id': fields.many2one('res.company', 'Company'),
'description': fields.text('Description'),
'state': fields.selection([
('draft', 'Todo'),
('draft', 'Draft'),
('open', 'Todo'),
('cancel', 'Cancelled'),
('done', 'Held'),
('pending', 'Not Held'),
('done', 'Done'),
('pending', 'Pending'),
], '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\'.\

View File

@ -24,11 +24,11 @@ import tools
from crm import crm
AVAILABLE_STATES = [
('draft','Todo'),
('open','Todo'),
('draft','Draft'),
('open','Open'),
('cancel', 'Cancelled'),
('done', 'Held'),
('pending','Not Held')
('done', 'Closed'),
('pending','Pending')
]