SHADE is young: 0.1.0-next.2 is a pre-release, and 0.1.0 isn't out yet.

SHADE
Services

Locations

Locations are the places of your business, each with its address. One of them is the main location: your business's own address. Modules use it where the business has to name itself, such as the seller on a shop's invoices. They are on the Locations screen, in Settings.

What users can do

Admins:

  • Add a location: its name (the name your business uses there, as on an invoice), street and number, a second address line, postcode, town or city, a state, province or county where the country uses one, and the country.
  • The postcode is checked against the country: a Dutch postcode is four digits and two letters (1234 AB), a German one five digits, and so on for the 27 EU countries and the countries shops most often ship to (the United Kingdom, Switzerland, Norway, Iceland, Liechtenstein, the United States, Canada and Australia). For other countries any postcode is taken. It is saved the way its country writes it: 1234ab becomes 1234 AB.
  • Make a location the main one. The first location you add is the main one; there is always exactly one while there are locations. Removing the main location makes the oldest of the others the main one.
  • Change or remove a location. What was issued with its address before, such as an invoice, keeps the address as it was.

Team members who may read the settings see the list.

Who may do it

ActionPermissionRoles
See the locationssettings.readadmin
Add, change and remove locationssettings.updateadmin

Every change is in the audit log (locations.create, locations.update, locations.delete).

For modules

Modules read the main location through the module SDK's mainLocation, and use SHADE's list of countries, its postcode checks and its address formats, so every module writes an address the same way. See Background work and services.