From 93c4d0eae10ee968b15682ec781d544e684682cb Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Mon, 14 Oct 2013 17:38:22 +0200 Subject: [PATCH] [FIX] stock:typo bzr revid: qdp-launchpad@openerp.com-20131014153822-tkmx0jlprx60gin6 --- addons/stock/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 0b215c6f6af..783f274803a 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -397,7 +397,7 @@ class stock_quant(osv.osv): #solving_quant, dummy = self._reconcile_single_negative_quant(cr, uid, to_solve_quant, solving_quant, quant_neg, qty, context=context) def _price_update(self, cr, uid, ids, newprice, context=None): - self.write(cr, SUPERSER_ID, ids, {'cost': newprice}, context=context) + self.write(cr, SUPERUSER_ID, ids, {'cost': newprice}, context=context) def write(self, cr, uid, ids, vals, context=None): #We want to trigger the move with nothing on reserved_quant_ids for the store of the remaining quantity