When applying a discount using a discount key from the order screen, a receipt is automatically printed, even though all options and flags for receipts are disabled.
Fix Discount applied from the Order screen not to print a receipt automatically if all options for receipts are disabled.