Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] purchase: anglosaxon accounting: fix wrong computation of prod …
…qty when multiple stock move Have a PO with a product in automated valorization, and average as method of valorization Validate and receive *partially* (create backorder) invoice with a different price than the PO Receive the backorder Invoice the rest, also with a different price than the PO Before this commit, wrong amounts were written in the account.move corresponding to the invoice. In particular, the payable account's amount was erroneous because it is computed to balance the move As a result, the bill showed an amount due different from its total, even though nothing was reconciled with it. After this commit, the payable entry and hence the amount due on the invoice are correct OPW 1967289
- Loading branch information
1 parent
f7414c0
commit 864ad48
Showing
2 changed files
with
243 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters