Skip to content
Snippets Groups Projects
Commit 56fb25a6 authored by Lucas Perais (lpe)'s avatar Lucas Perais (lpe)
Browse files

[FIX] purchase: real time average multicurrency valuation


Do a PO in a foreign currency
Invoice it in the same foreign currency
Validate the invoice

Before this commit, The account move of the invoice
contained a price difference line
which is wrong, since the price has not changed in any ways

After this commit, the move has only two lines
one in the stock input, one in the payable

Also, the case where the price does change
due to a change in currency rate is handled

OPW 1955315

closes odoo/odoo#32616

Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
parent 44aedc9b
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment