Refactor stock location save

Add config to permissions and grants in database script
This commit is contained in:
jekkos-t520
2014-10-11 17:55:00 +02:00
parent cda41622e4
commit 54fbb4e7d7
2 changed files with 34 additions and 48 deletions

View File

@@ -335,6 +335,7 @@ INSERT INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES
('receivings', 'receivings'),
('reports', 'reports'),
('sales', 'sales'),
('config', 'config'),
('suppliers', 'suppliers');
INSERT INTO `ospos_permissions` (`permission_id`, `module_id`, `location_id`) VALUES
@@ -377,6 +378,7 @@ INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES
('receivings', 1),
('reports', 1),
('sales', 1),
('config', 1),
('suppliers', 1);
--