#1151 - Allow partial order discounts

(cherry picked from commit 24206f5465fdde2480c23cc05e972ea6ae033f62)