opencart/opencart — pull request #173 by ADDCreative (2012-10-04 08:59:47+00:00)
Title: Add update product stock quantity to order editor

Subtracts stock when inserting an order in the admin order editor. When editing an order, add old order stock quantities (unless a missing order) and then subtract new order quantities from product stock.