Browse Source

fix(core): Allow fulfillment creation with deleted product variants (#2982)

Closes #2434
jacobfrantz1 1 year ago
parent
commit
752c2b6de6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/core/src/service/services/stock-movement.service.ts

+ 1 - 0
packages/core/src/service/services/stock-movement.service.ts

@@ -214,6 +214,7 @@ export class StockMovementService {
                 ctx,
                 ProductVariant,
                 orderLine.productVariantId,
+                { includeSoftDeleted: true },
             );
             const saleLocations = await this.stockLocationService.getSaleLocations(
                 ctx,