changed module SalesOrderGrid -> SalesGrid, added logic for invoices
some fixed