Odoo Community Association

Sale purchase stock auto cancel

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

This module adds a company-level option to automatically cancel purchase orders generated from sales orders (through Dropship or MTO rules) when the corresponding sales order is canceled.

Table of contents

Use Cases / Context

In some cases, a sales order can automatically generate a purchase order when the products use a Dropship or MTO logistics route. If the original sales order is canceled, users expect these purchase orders to be canceled automatically.

Usage

  • Go to Sales > Configuration > Settings.
  • Search and enable the option POs Auto Cancelation.
  • Create a sale order and add a line with a product that uses the MTO or Dropship route.
  • Confirm the sale order.
  • A new purchase order is created.
  • Cancel the sales order. The purchase order will be canceled automatically as well.

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

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:

carlos-lopez-tecnativa

This module is part of the OCA/sale-workflow project on GitHub.

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