[MERGE] [FIX] pricelist: correctly take into account uom when computing pricelists...
authorMartin Trigaux <mat@openerp.com>
Tue, 11 Feb 2014 15:27:03 +0000 (16:27 +0100)
committerMartin Trigaux <mat@openerp.com>
Tue, 11 Feb 2014 15:27:03 +0000 (16:27 +0100)
The previous behaviour used the uom of the product while it is not necessary the one selected (eg: by default the purchase unit of measure for purchase orders).
This was an issue especially when having a different uom with supplier info lines setting degressive prices. The price should be computed based on selected uom and not the product uom.

bzr revid: mat@openerp.com-20140211152703-twnzco2dwxeqt8hz


Trivial merge