spree/spree — pull request #3662 by cbrunsdon (2013-08-30 08:03:45+00:00)
Title: Support "advance"ing an order through the api

As discussed in IRC, I think the while @order.next; in admin/orders/edit should be avoided if at all possible. These commits switch the fix for #3336 to explicitly attempt to move the order forward after action is taken rather than attempting to move the order forward any time the edit page is visited.