[MERGE] lp:~openerp-dev/openobject-addons/trunk-addons_issue_feeds-mma
bzr revid: stw@openerp.com-20120725102346-s3eyc36ixn40zdz9
This commit is contained in:
commit
e5c63a578f
|
@ -1089,6 +1089,7 @@ class task(base_stage, osv.osv):
|
||||||
#raise osv.except_osv(_('Warning !'), _('Stage is not defined in the project.'))
|
#raise osv.except_osv(_('Warning !'), _('Stage is not defined in the project.'))
|
||||||
write_vals = vals_reset_kstate if t.stage_id != new_stage else vals
|
write_vals = vals_reset_kstate if t.stage_id != new_stage else vals
|
||||||
super(task,self).write(cr, uid, [t.id], write_vals, context=context)
|
super(task,self).write(cr, uid, [t.id], write_vals, context=context)
|
||||||
|
self.stage_set_send_note(cr, uid, [t.id], new_stage, context=context)
|
||||||
result = True
|
result = True
|
||||||
else:
|
else:
|
||||||
result = super(task,self).write(cr, uid, ids, vals, context=context)
|
result = super(task,self).write(cr, uid, ids, vals, context=context)
|
||||||
|
|
Loading…
Reference in New Issue