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).
$pse->getId()