Fix warning in specific discount report (add category to query)
Add grant for default stock location in sql