summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2014-04-17 17:20:02 +0200
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2014-04-17 17:20:02 +0200
commit5b4e4fc2a3e42511dff33e63a40d80fe4bfbb7f8 (patch)
treee797effa2a7ff736bb3954f8364323c495e6b99a /addons
parent4fceeb9b7b1f3c49ab761c3e38603571ab60394c (diff)
[TMP] stock: temporary removal of check_quant_history to green the redbot (will be definitively removed later but in a cleaner way)
bzr revid: qdp-launchpad@openerp.com-20140417152002-6tl30iaf6m03hyyk
Diffstat (limited to 'addons')
-rw-r--r--addons/stock/stock.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/stock/stock.py b/addons/stock/stock.py
index 7ed13fe2714..7402514e4c1 100644
--- a/addons/stock/stock.py
+++ b/addons/stock/stock.py
@@ -2200,7 +2200,6 @@ class stock_move(osv.osv):
dom = main_domain + self.pool.get('stock.move.operation.link').get_specific_domain(cr, uid, record, context=context)
quants = quant_obj.quants_get_prefered_domain(cr, uid, ops.location_id, move.product_id, record.qty, domain=dom, prefered_domain=prefered_domain,
fallback_domain=fallback_domain, restrict_lot_id=move.restrict_lot_id.id, restrict_partner_id=move.restrict_partner_id.id, context=context)
- self.check_quants_history(cr, uid, move, quants, context=context)
if ops.result_package_id.id:
#if a result package is given, all quants go there
quant_dest_package_id = ops.result_package_id.id
@@ -2224,7 +2223,6 @@ class stock_move(osv.osv):
self.check_tracking(cr, uid, move, move.restrict_lot_id.id, context=context)
qty = move_qty[move.id]
quants = quant_obj.quants_get_prefered_domain(cr, uid, move.location_id, move.product_id, qty, domain=main_domain, prefered_domain=prefered_domain, fallback_domain=fallback_domain, restrict_lot_id=move.restrict_lot_id.id, restrict_partner_id=move.restrict_partner_id.id, context=context)
- self.check_quants_history(cr, uid, move, quants, context=context)
quant_obj.quants_move(cr, uid, quants, move, move.location_dest_id, lot_id=move.restrict_lot_id.id, owner_id=move.restrict_partner_id.id, context=context)
#unreserve the quants and make them available for other operations/moves
quant_obj.quants_unreserve(cr, uid, move, context=context)