Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): Remove redundant constraint when creating allocations
Fixes #2563. In an earlier version, before the concept of "allocations" was introduced, this method created "Sales" rather than "Allocations". As such, it had the constraint that the `order.active` must be `false` in order to create a Sale. Since we switched this to Allocations, this constraint no longer makes sense. For instance, a custom OrderProcess may introduce a new state before the order becomes inactive, yet which should allocated stock.
- Loading branch information