fix to apply discounts only for sales order with corresponding price list
fix tab issues