Stock account move reset to draft

Beta License: AGPL-3 OCA/account-invoicing Translate me on Weblate Try me on Runboat

This module allows to restore a vendor bill to draft if SVLs linked to any invoice line have been generated (stock_account not allowed).

Table of contents

Use Cases / Context

When a purchase invoice is created for a different price than the one for which the SVLs of the incoming picking were created and confirmed, SVLs are created for the price difference, but from that moment on it is no longer possible to restore it to draft (stock_account not allowed).

Usage

  1. Create a product category with Costing Method: Average Cost (AVCO)
  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 (the SVL of the difference will be removed).

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa:
    • Víctor Martínez
    • Pedro M. Baeza

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

victoralmau

This module is part of the OCA/account-invoicing project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.