Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spree Upgrade] Destroy all shipments when clearing order #2767

Merged
merged 1 commit into from
Sep 26, 2018

Conversation

luisramos0
Copy link
Contributor

@luisramos0 luisramos0 commented Sep 24, 2018

Now we only clear the order's shipping_method, and in Spree 2.0 it can have many shipments.

What? Why?

Closes #2681

I think @sauloperez solution is valid. This PR is just cherry picking the commit and resolving conflicts.

What should we test?

Fixes order.empty route.

Now we only clear the order's shipping_method, and in Spree 2.0 it can
have many shipments.
@luisramos0 luisramos0 self-assigned this Sep 24, 2018
@luisramos0 luisramos0 changed the title Destroy all shipments when clearing order [Spree Upgrade] Destroy all shipments when clearing order Sep 24, 2018
@sauloperez sauloperez merged commit 037432d into openfoodfoundation:2-0-stable Sep 26, 2018
@luisramos0 luisramos0 deleted the order_empty branch September 26, 2018 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants