diff options
| author | DBR (OpenERP) <dbr@tinyerp.com> | 2012-05-22 16:34:44 +0530 |
|---|---|---|
| committer | DBR (OpenERP) <dbr@tinyerp.com> | 2012-05-22 16:34:44 +0530 |
| commit | 3239de442906cd09ea2c4be2e934cd79d3af30da (patch) | |
| tree | 63fd0ccfcee4337d763f0e97a663a95805e62818 | |
| parent | 17f484574d73af27f541cf2ec9b71255ea4c64ef (diff) | |
[IMP]stock: Initialize variable
bzr revid: dbr@tinyerp.com-20120522110444-qf40n3faan9a75ei
| -rw-r--r-- | addons/stock/product.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/stock/product.py b/addons/stock/product.py index d5324f08094..6b742489761 100644 --- a/addons/stock/product.py +++ b/addons/stock/product.py @@ -28,6 +28,7 @@ class product_product(osv.osv): def _stock_move_count(self, cr, uid, ids, field_name, arg, context=None): res = dict([(id, {'reception_count': 0, 'delivery_count': 0}) for id in ids]) + field = False move_pool=self.pool.get('stock.move') move_ids = move_pool.search(cr, uid, [('product_id', 'in', ids)]) for move in move_pool.browse(cr, uid, move_ids, context): |
