[IMP] crm:-reverted the useability change in the state field of Phonecall
bzr revid: mtr@mtr-20100923141731-1cstzpjimk4t6lbz
This commit is contained in:
parent
e6657edd35
commit
dbd589dd12
|
@ -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\'.\
|
||||
|
|
|
@ -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')
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue