Description:
I am facing an issue in Odoo 17 related to purchase orders, partial receipts, and vendor bills. Here is the scenario:
Scenario:
- I create a purchase order for Product A, quantity 100, unit price 10 (total amount 1000).
- When receiving the products, I only receive 60 units. The remaining 40 units are backordered.
- I confirm the vendor bill for the 60 units received.
Problem:
-
After confirming the vendor bill for the received 60 units, the accounting entries show two entries in the ledger:
- The correct amount for the received 60 units (600) is posted.
- An unexpected credit entry of 400 appears for the backordered 40 units, which I have not received yet.
Expected Behavior:
- Only the amount corresponding to the received quantity (60 units → 600) should appear in the ledger.
- No accounting entry should be posted for the backordered 40 units until they are actually received and billed.
Question:
Why is Odoo showing a credit for the backordered quantity when I have not received it yet? How can I prevent backorder amounts from appearing in the ledger until the products are received?