[MERGE] lp:740762

bzr revid: qdp-launchpad@openerp.com-20110324135017-npad7j3jm5znap3i
This commit is contained in:
Quentin (OpenERP)
2011-03-24 14:50:17 +01:00
+1 -1
View File
@@ -2145,7 +2145,7 @@ class stock_move(osv.osv):
if todo:
self.action_confirm(cr, uid, todo, context=context)
self.write(cr, uid, move_ids, {'state': 'done', 'date_planned': time.strftime('%Y-%m-%d %H:%M:%S')}, context=context)
self.write(cr, uid, move_ids, {'state': 'done', 'date': time.strftime('%Y-%m-%d %H:%M:%S')}, context=context)
for id in move_ids:
wf_service.trg_trigger(uid, 'stock.move', id, cr)