-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not consider pending inventory units cancelable
Before an order is complete, all its inventory units are marked as "pending". Once the order passes the `complete` step, the inventory units' `pending` attribute is set to false. Item cancelations were designed for completed orders only, as before that, one could just change inventory on line items. Therefore, we should not consider pending inventory units as cancelable.
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters