[FIX] stock:typo

bzr revid: qdp-launchpad@openerp.com-20131014153822-tkmx0jlprx60gin6
This commit is contained in:
Quentin (OpenERP) 2013-10-14 17:38:22 +02:00
parent af84a5dbb5
commit 93c4d0eae1
1 changed files with 1 additions and 1 deletions

View File

@ -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