degica/spree-license-key — pull request #12 by shioyama (2014-12-08 02:59:11+00:00)
Title: [WIP] Fix create_shipment

The create_shipment! method does not work if a store has both physical and electronic shipments, because create_units can be called *after* a shipment has already been created. This is an attempt to fix that issue by moving some of the logic from that method to `Spree::InventoryUnit#increase`, where it would seem to belong.