[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:
parent
40fd149a4a
commit
68748879d1
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue