Technical tools ·

ERP Settings: Multi-Company, Users, Themes, API and PostgreSQL/MySQL

Settings is where you decide how the ERP works: which companies it runs, who can sign in and to which apps, in what language, with what look and on which database. It is also where other programs connect through the Odoo-compatible API. This guide walks through each screen, suggests a sample setup and sums up the security measures.

ERPSqlite screenshot: A user form: contact, employee, language and permissions
A user form: contact, employee, language and permissions

Companies and users

  • Multiple companies with separate data, numbering, inventory and accounting.
  • Users with sign-in, per-app permissions and allowed companies.
  • Two-step verification with an authenticator app.
  • Language per user (Spanish or English), which switches instantly.
  • Themes: five built in, plus one per company.
ERPSqlite screenshot: Database manager: create, copy and switch databases
Database manager: create, copy and switch databases

Databases

Each database is independent: a SQLite file or a database on a PostgreSQL or MySQL server. From the database manager you create, duplicate, back up, restore and switch between them; a SQLite database can be copied to a server as the business grows.

When creating a database you choose the “Engine” and whether it includes “Initial data (new database)”; for a server you enter the host, port, user, password and, optionally, “Encrypted connection (SSL)”. To move a local database to a server there is “Copy to a server (PostgreSQL, MySQL)…”.

ERPSqlite screenshot: Settings → Company
Settings → Company

Integrations and technical settings

  • External API: JSON-RPC and XML-RPC compatible with Odoo clients (execute_kw), plus a REST API with a key.
  • Incoming and outgoing mail servers per company or per user.
  • Scheduled actions (like Odoo's cron jobs).
  • Taxes and currencies.
  • Read-only SQL console for queries.
  • Database license.
ERPSqlite screenshot: Settings → Companies
Settings → Companies
ERPSqlite screenshot: Settings → Taxes
Settings → Taxes

Screens and views

  • Company: name, address, logo, currency, decimal places for quantities and prices, and the “App sidebar”.
  • Companies: “New company” and “Switch to this one”; the active company can also be changed from the top bar.
  • Users: “New user” with “Apps”, “Allowed companies”, “Language”, administrator role and a link to a contact or an employee.
  • Mail servers: “Outgoing mail” (SMTP with STARTTLS or SSL/TLS and “Send test email”) and “Incoming mail” (IMAP, with the option to create tickets).
  • Scheduled actions: each job with its interval, “Next run”, “Last run” and “Run now”.
  • Themes: colors, font and size with “Preview”, and “Theme of each company”.
  • External API, Databases, License, Taxes, Currencies and SQL console complete the menu.
ERPSqlite screenshot: Settings → Users
Settings → Users

A worked example

  1. In Companies, click “New company”, type its name (for example, “My Second Company LLC”) and agree to start working in it.
  2. In Company, fill in the address, logo and currency.
  3. In Themes, give this company a different theme so you always know which one you are working in.
  4. In Outgoing mail, add the SMTP server for that company and click “Send test email”.
  5. In Users, create the person who will run it, tick only that company in “Allowed companies” and remove the apps they don't need.
ERPSqlite screenshot: Settings → Currencies
Settings → Currencies
ERPSqlite screenshot: Settings → Themes
Settings → Themes

Security

Until a user exists, the ERP opens without a password; creating the first one, who is an administrator, turns on sign-in. Passwords are stored as an iterated, salted SHA-256 hash, never in plain text.

Each user can enable two-step verification from “Security…” in their menu: it asks for a 6-digit code from an authenticator app and provides recovery codes. Once it is on, the external API only accepts API keys, which are shown only once and stored as a hash.

By default the API server only listens on this computer (127.0.0.1, port 8169); to open it to the network you have to tick “Allow access from other computers on the network”. The SQL console only accepts read queries (SELECT, WITH, PRAGMA, EXPLAIN).

ERPSqlite screenshot: Settings → External API
Settings → External API

Tips to get the most out of it

  • Create one API key per integration with a description (for example, “Online shop”): you can revoke it without affecting the others.
  • Check “Latest requests” in External API to see which programs are calling and whether they fail.
  • Try the SQL console's examples (“Stock by product”, “Unpaid invoices”, “Sales by customer”) before writing your own.
  • Before a major change, duplicate the database from Databases and do your testing there.
ERPSqlite screenshot: Settings → Transactions
Settings → Transactions
ERPSqlite screenshot: Settings → Migrate from Odoo
Settings → Migrate from Odoo

Common mistakes and how to avoid them

  • Creating users with no company: the ERP requires you to “Select at least one company.”
  • Using the same port as Odoo: ERPSqlite uses 8169 by default, not 8069, so both can run side by side on the same computer.
  • Losing the phone with your authenticator app: use a recovery code or ask an administrator to “Remove two-step verification”.
  • Trying to change data from the SQL console: it is read-only; changes are made from the apps or through the API.
ERPSqlite screenshot: Settings → Scheduled actions
Settings → Scheduled actions

Frequently asked questions

Can I use PostgreSQL or MySQL instead of SQLite?

Yes. Choose the engine when you create a database; you can also copy a SQLite database to a server.

Is the API compatible with Odoo?

Yes — JSON-RPC and XML-RPC with execute_kw, so many Odoo clients and scripts work against ERPSqlite.

Can I run several businesses?

Yes, as separate companies in the same database, switching between them from the top bar.

How do I turn on two-step verification?

From “Security…” in your user menu: scan the code with your authenticator app and save the recovery codes.

Can I restrict which apps each user can open?

Yes. In Users, each user has their own “Apps” and “Allowed companies”; by default they have all of them.

Can I customize the ERP's look?

Yes. In Themes, pick one of the five built-in themes or create your own with colors and fonts, and assign a theme to each company.

Try Settings in ERPSqlite

90-day trial with every app included, on Windows, macOS or in your browser.

Keep reading

← All blog guides