Skip to content

Issue 3193126: Get the store from the first draft order if it exists

Closes #3193126

The current implementation uses the site's default store to get the Store object but it could happend that it's different from the Store associated to the order.

The approach consists on get the Store associated to the draft order and if there's no draft, then proceed getting the site's default store.

Merge request reports