[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)
commit3f158ebe38c39eefaa939fb5123baf669d8c9fac
treeb5063544d71834892659be6d78a1bd6ff824bcc1
parentc00c424221125997ab48141e607c8a51f7417353
parentebdb23069958e740bb51a63a99f248336e1adaed
[MERGE] [FIX] pricelist: correctly take into account uom when computing pricelists based on supplier price on product form (opw 595881)

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