[FIX]:stock_move done date not recorded

lp bug: https://launchpad.net/bugs/740762 fixed

bzr revid: ksa@tinyerp.co.in-20110323115517-vqrzwbqaca1gk4ck
This commit is contained in:
ksa (Open ERP) 2011-03-23 17:25:17 +05:30
parent 40fd149a4a
commit 68748879d1
1 changed files with 1 additions and 1 deletions

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)