[FIX] purchase: keep fallback behaviour that was removed at rev 8973217
authorMartin Trigaux <mat@openerp.com>
Fri, 19 Sep 2014 12:29:43 +0000 (14:29 +0200)
committerMartin Trigaux <mat@openerp.com>
Fri, 19 Sep 2014 12:47:33 +0000 (14:47 +0200)
commit9b87d6f371cc936293e0e728fe6d17cbdcb512a5
tree758944e6d59a8cd63d736bc77f38d8cad92a0b4b
parent6b9b948a3c655b3d8961d2138d75d59f4bdb5de1
[FIX] purchase: keep fallback behaviour that was removed at rev 8973217

If no valid invocie is found on the purchase order line, use the price and currency of the line (coherent with help message)
addons/purchase/stock.py