Created
November 27, 2018 16:37
-
-
Save cored/193ad21a0aa87a1b1b167aff79c842e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def unreserve_shipment(shipment) | |
shipment.update_attributes(:shipment_batch_id => nil) | |
Inventory::Reservations.unreserve_shipment(shipment) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment