magento/inventory

cannot issue credit memo with MSI active for orders that were placed in older magento versions without MSI active

ioweb-gr opened this issue · 1 comments

Preconditions (*)

  1. Environment: Magento 2.4.6

Steps to reproduce (*)

  1. Install Magento 2 without MSI modules active (e.g., 2.1, 2.2).
  2. Upgrade to Magento 2.4.6-p2.
  3. Enable MSI.
  4. Attempt to issue a credit memo for orders that were shipped in the old way.

Expected result (*)

  1. Credit memo issuance should work correctly for orders shipped in the old way.

Actual result (*)

  1. An issue occurs due to the absence of a record in the inventory_shipment_source table for the sales_shipment_item related to the default source.

[Additional details, error messages, and logs if available]

Hi @ioweb-gr. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.