bzr revid: mra@tinyerp.com-20081105114550-rk3c81o1bspi6yf8
This commit is contained in:
Mustufa Rangwala 2008-11-05 17:15:50 +05:30
parent b6e17178c6
commit 5cd9b7f5b4
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
@ -1211,7 +1211,7 @@ class StockPicking(osv.osv):
# Explode picking by replacing phantom BoMs
#
def action_explode(self, cr, uid, picks, *args):
for move in picks:
for move in self.pool.get('stock.move').browse(cr, uid, picks):
self.pool.get('stock.move')._action_explode(cr, uid, move)
return picks