Skip to content

Warehouse settings: choose your warehouses and the default one

Describes Warehouse 0.7.0.

Before the Warehouse module can hold stock, it needs to know which of your locations are warehouses and which one is used when a document names none. This page sets both, and the AI options for stocktakes from photos.

Where to find it

Open Settings in the admin sidebar, then Warehouse, at /admin/settings/warehouse. You need the Warehouse permission and the module turned on in Modules. The warehouses themselves are locations from the Locations module.

Until setup is finished, every Warehouse page shows a yellow notice, Warehouse is not set up yet, with the next step and buttons that lead there:

  • “Create a location type for warehouses in Locations, then choose it in Warehouse settings.” with Open Locations.
  • “Add at least one location of the warehouse type in Locations.” with Add a location.
  • “Choose the default warehouse in Warehouse settings.”

The Locations buttons appear only while the Locations module is turned on. Warehouse settings is always there.

Warehouse settings: the warehouse location type and default warehouse, and AI inventory from photos with its endpoint and batch sizes Warehouse settings: the warehouse location type and default warehouse, and AI inventory from photos with its endpoint and batch sizes

Warehouse settings.

Warehouses

  • Warehouse location type: the type of location that counts as a warehouse. Not set leaves the module without warehouses.
  • Default warehouse: where a document lands when it names no warehouse. It lists the locations of the chosen type. Until a type is chosen it can’t be used and says Select a warehouse location type first.

Both are saved as soon as you change them; there is no save button. If you switch to a type that the current default warehouse doesn’t belong to, the default is cleared.

AI: inventory from photos

“A stocktake draft can suggest the items and counts seen on photos. The photos go to the AI provider of the chosen endpoint.” This block is shown only to the Owner, Admins and people with the AI permission, because the endpoint decides where the money for AI calls goes.

  • AI endpoint: the AI endpoint that reads the photos. “Pick a model that can read photos. Without an endpoint the button is not shown.” An endpoint that was saved earlier but has since been switched off stays in the list, marked no longer offered.
  • Photos in one batch: how many photos one count may upload. The default is 10, the most 30.
  • Most catalogue lines in one request: the whole catalogue is sent with the photos; above this many items, the person counting has to narrow it to some catalogues first. The default is 3000, the most 20000.
  • Edit the prompt opens the prompt the module uses, in the AI module’s prompts.

Save stores the three values and says Saved. A number outside the range gives “Enter whole numbers from 1 up to” the limit.

What it doesn’t do

  • It doesn’t create warehouses. Add them as locations in the Locations module.
  • The AI block needs the AI module; without an endpoint chosen there is no photo count in stocktakes.