[FIX] Typo

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

bzr revid: stephane@tinyerp.com-20090120112627-qm054x6u34tzb31k
This commit is contained in:
Stephane Wirtel 2009-01-20 12:26:27 +01:00
parent 985c97e853
commit 5efacb33f0
1 changed files with 1 additions and 1 deletions

View File

@ -1071,7 +1071,7 @@ class stock_move(osv.osv):
self.write(cr, uid, ids, {'state':'cancel', 'move_dest_id': False})
for pick in self.pool.get('stock.picking').browse(cr,uid,pickings.keys()):
if all(move.state == 'cancle' for move in pick.move_lines):
if all(move.state == 'cancel' for move in pick.move_lines):
self.pool.get('stock.picking').write(cr,uid,[pick.id],{'state':'cancel'})
wf_service = netsvc.LocalService("workflow")