[FIX] purchase: keep PO currency on picking
authorMartin Trigaux <mat@odoo.com>
Fri, 14 Nov 2014 15:51:13 +0000 (16:51 +0100)
committerMartin Trigaux <mat@odoo.com>
Fri, 14 Nov 2014 16:29:40 +0000 (17:29 +0100)
commit0a7633c11ea0956894088d6b742fc9ce251fb896
treef7af026f1795f0e70ec14e8d6c2c958bfa501f20
parentda15c9d27b420e7643048dfab07aebcf94b92b4a
[FIX] purchase: keep PO currency on picking

The delivery of a purchase order was not keeping the currency and cost price
from the purchase order for the reception. This was problematic for orders where
the invoice was generated from the picking (Invoicing Control: Based on incoming
shipments). The currency of the purchase order was kept while the cost was the
one in the company's currency.
It's better to keep the currency of the purchase order to make the invoice as
it's usually the one expected (and not convert everything to the currency of the
company). opw 615555
addons/purchase/stock.py