diff options
| author | Bharat R. Devnani (OpenERP) <bde@tinyerp.com> | 2013-08-26 12:44:05 +0530 |
|---|---|---|
| committer | Bharat R. Devnani (OpenERP) <bde@tinyerp.com> | 2013-08-26 12:44:05 +0530 |
| commit | b97a9da42dfdbd5ec1bc76f2f0860e4f5f0cce0d (patch) | |
| tree | e050df0d876eed968803a2993a932baf04949559 | |
| parent | b42f8b53db1c84c1e07e43bae27347565fef7497 (diff) | |
[REVERT] reverted the changes in _get_orders method
bzr revid: bde@tinyerp.com-20130826071405-yax8hqw0esrll766
| -rw-r--r-- | addons/sale_stock/sale_stock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale_stock/sale_stock.py b/addons/sale_stock/sale_stock.py index 920be1793c1..015347449ae 100644 --- a/addons/sale_stock/sale_stock.py +++ b/addons/sale_stock/sale_stock.py @@ -57,7 +57,7 @@ class sale_order(osv.osv): def _get_orders(self, cr, uid, ids, context=None): res = set() - for move in self.pool.get('stock.move').browse(cr, uid, ids, context=context): + for move in self.browse(cr, uid, ids, context=context): if move.procurement_id and move.procurement_id.sale_line_id: res.add(move.procurement_id.sale_line_id.order_id.id) return list(res) |
