Fix Sale Order Report and some minor changes