Auto discount calculation when updating total unit price in order module