[FIX] product: when converting unit of mesures, use ceiling instead of rounding method
authorMartin Trigaux <mat@openerp.com>
Thu, 6 Mar 2014 16:20:33 +0000 (17:20 +0100)
committerMartin Trigaux <mat@openerp.com>
Thu, 6 Mar 2014 16:20:33 +0000 (17:20 +0100)
This avoids flows to be stucked when a convertion would move/reserve/buy less pieces than the number required (eg: MTO product where supplier has a UoM bigger than the one on the sale order)

lp bug: https://launchpad.net/bugs/1280463 fixed

bzr revid: mat@openerp.com-20140306162033-yqoc22lo37x06cfh


Trivial merge