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

Allow fulfilling all items of a ready shipment from another location #1784

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Mar 18, 2017

Prior to this commit, this would not work because the destruction
of the original shipment would result in an exception being thrown.

Ready shipments can be edited and thus have to be able to be destroyed, too.

Fixes #1684

create(
:order_ready_to_ship,
number: "R100",
line_items_attributes: [{variant: variant, quantity: 5}]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space inside { missing.
Space inside } missing.

create(
:order_ready_to_ship,
number: "R100",
line_items_attributes: [{variant: variant, quantity: 5}]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space inside { missing.
Space inside } missing.

@mamhoff mamhoff force-pushed the fix-fulfilling-ready-shipments-from-another-location branch from 77c7276 to 842222f Compare March 18, 2017 11:24
Prior to this commit, this would not work because the destruction
of the original shipment would result in an exception being thrown.

Ready shipments can be edited and thus have to be able to be destroyed, too.

Fixes solidusio#1684
@mamhoff mamhoff force-pushed the fix-fulfilling-ready-shipments-from-another-location branch from 842222f to f6ef710 Compare March 18, 2017 13:43
Copy link
Contributor

@jhawthorn jhawthorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@jhawthorn jhawthorn merged commit 6678514 into solidusio:master Apr 5, 2017
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