[MOD/IMP] hr_evaluation : Usability Improvements
bzr revid: dbr@tinyerp.com-20101007134853-979u6snp02182w04
This commit is contained in:
parent
7f603c334e
commit
0f0e88a3c8
|
@ -258,6 +258,7 @@ class hr_evaluation(osv.osv):
|
|||
def button_done(self,cr, uid, ids, context=None):
|
||||
if context is None:
|
||||
context = {}
|
||||
self.write(cr, uid, ids,{'progress': 1 * 100}, context=context)
|
||||
self.write(cr, uid, ids,{'state':'done', 'date_close': time.strftime('%Y-%m-%d')}, context=context)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue