# Sale Order Line Cancel

This module allows you to cancel the remaining quantity on sale order by adding a dedicated action to sale lines. It also add two new fields to track canceled and remaining to deliver quantities.

This module differs from the original odoo behavior in the following way:

- In odoo, if the update of the quantity ordered is allowed on the sale order at the confirmed state, odoo will recompute the required stock operations according to the new quantity. This change is possible even the stock operations are started for this sale order line.
- In this module, the quantity ordered is not updated on the sale order line to keep track of the original ordered by the customer. At the same time, we cancel only the stock moves for the remaining qty to deliver. This is only possible if no operation is started for this sale order line.

Warning

It’s not recommended to use this module if the update of the quantity ordered on the sale order line is allowed the confirmed state. This could lead to unpredictable behavior.

Table of contents

- Bug Tracker
- Credits
  - Authors
  - Contributors
  - Maintainers

## 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

- Okia
- BCIM
- Camptocamp
- ACSONE SA/NV

### Contributors

- Sylvain Van Hoof <sylvain@okia.be>
- Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
- Souheil Bejaoui <souheil.bejaoui@acsone.eu.com>
- Michael Tietz (MT Software) <mtietz@mt-software.de>

### Maintainers

This module is maintained by the OCA.

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.

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.