thelia/thelia — pull request #701 by Alban-io (2014-09-11 09:23:30+00:00)
Title: Update stock

Add product sale elements id in order product without foreign key constraint to protect order integrity if product will be deleted.
Add modification product quantity when an order is changed : from one status into canceled (increases quantities) or conversely (decreases quantities).