I have a problem with the following purchase flow:
1-Purchase Order for 2 units at a unit price of $100 (total $200 before taxes)
2-Purchase Order for 5 units at a unit price of $150 (total $750 before taxes)
3-Receipt of goods, generation of valuation journal entry (Debit: Asset account/Credit: 21080101 Provision)
4-Vendor bill posted, generation of journal entry (Debit: 21080101 Provision/Credit: Vendor)
5-Physical return of the last purchase (5 units), generation of journal entry
6-Credit note entered for the last purchase (5 units)
Odoo uses FIFO to value the returned goods, automatically generating a journal entry that posts the same account on both the debit and credit sides (21080101 Provision).
This entry only reconciles one of the journal items, leaving the rest unreconciled.
Additionally, from a conceptual accounting perspective, posting a movement to the same account on both sides is not correct.
How can I resolve this issue and reconcile all accounts?
Thanks