Project:
UbercartCategory:
bug reportPriority:
normalStatus:
activeHello,
I've recently moved to ubercart after trying to manipulate ecommerce. I uninstalled ecommerce fully and ubercart installed with no problems. I've now tried to install inventory manager by uploading the inventory API and selecting both the options (API and simple stock levels). I've allowed administrative access to all modules but still get the following error if I add or edit a product:
Inventory manager has not been chosen. Please select one in the Inventory settings admin page
There is no inventory manager link in the menus or administer sections. Did I miss something?
Thanks!
Matt



Re: Access denied to inventory manager
Select the stock manager at admin/store/settings/inventory then save your configuration.
Re: Re: Access denied to inventory manager
Hmmm, I don't know why I didn't think of this last night. But if I log in as the superuser I have access, but as an administrator with full access I don't. Is this normal?
Thanks
Matt
This problem really sucks
We're getting this issue on a large site with multiple administrators and it's really annoying and limiting. Why doesn't an admin with the right permissions have access to the admin/store/settings/inventory page??
Fix
We have both "Inventory API" (1.1.1) and "Simple Stock Levels" (1.5) enabled.
At first I could see the SELECT menu, but there were no options to choose from (apart from "Select an inventory manager ..."). I logged out and logged in as UID=1 and was presented with the "Simple Stock Levels" option in the same menu.
If you log in as uid=1, then you can set the inventory levels.
If I log out and log back in as my regular user, permission is denied to visit that page. My user's "administrator" role has the "administer inventory" right, but uc_inventory is checking for "administer stock levels" in the _menu() function.
Patch to fix this issue is attached - looks like it's just a mismatch in the permissions name.
(An alternative workaround, as posted above, is to use your uid=1 user to set up uc_inventory.)