Files
Odoo-18.0-20251222/stock_account_move_reset_to_draft/readme/USAGE.md
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

866 B

  1. Create a product category with Costing Method: Average Cost (AVCO) or First In First Out (FIFO).
  2. Create a product linked to the category created before.
  3. Create a purchase order and adds a product line with quantity 1 and price 10.
  4. Confirms the purchase order and validates the incoming picking.
  5. Creates an invoice from the purchase order.
  6. Changes the invoice line price to 12 and confirm the invoice.
  7. It is possible to reset the invoice to draft (a new SVL record to offset the existing SVL difference will be created).

When attempting to reset an invoice to draft for a product that has been partially or fully consumed, the system will display the following error message: "The inventory has already been (partially) consumed." In that case, consider using landed costs to adjust the valuation of the product as necessary.