Added more granular permissions for report module
Extend permission system to allow 'submodule' permissions
Add permissions for stock locations (multistore support)
Modules are not accessible if employee has no permissions on at least one of it's submodules
Some more db script modifications
Deny access to report submodules on which employee doesn't have permissions
Fix submodules in header
Add stock location filtering on items
Show stock location names in employee form
Show stock location names in employee form
Remove obsolete item_unit method
Merge branch 'feature/multistore_support' into feature/invoice_numbering
Fix default location selected (now uses allowed locations only)
Fix comments in receivings
Added invoice_number field to receivings table
Save comments field in receivings as in sales
Add translations for cancel button in receivings
Add cascading deletes for ospos_permissions
Fix default location in items, sales and receivings
Merge branch 'feature/multistore_support' into feature/invoice_numbering
Receivings can now use invoice numbers with a specified format (in config section)
Fix some more stock location related bugs
Some refactoring todo for creating/updating stock locations
Add ospos_grants table
Refactor permission and module system
Remove empty check for item_id and quantity_id when saving item_quantities
Add configuration key to database script
Finish stock location refactoring
Modules are inaccessible if permissions not configured correctly
Fix supplier selection
Refactor report listing (move sales specific grants to employee model)