How ERPSqlite is built

One application written in Dart with Flutter, which stores data in the database engine you choose. This page explains the pieces, what each one does, and what they don't do yet.

Checked against the product's code in October 2026.

What Flutter and Dart are

They are the two pieces the app is written with. One paints what you see; the other is the language everything is written in.

Flutter

An open-source kit, created by Google, for building interfaces: buttons, tables, forms and charts. It doesn't ask the operating system for those controls. It brings its own and draws them with its own engine, which is why the app looks and behaves the same on a Mac and on a Windows PC.

Dart

The programming language Flutter and all of ERPSqlite are written in: screens, business rules and data access. It checks data types before the program runs and compiles to machine code, so users don't have to install an interpreter.

A simple way to picture it: it is closer to a video game than to a web page. The program carries its own drawing engine and paints everything itself, instead of relying on the browser or on the system's controls.

One codebase

The same screens and business rules serve every platform. A change is written once and compiled for each one.

macOS

Released

Native app for Apple Silicon and Intel.

Windows

Released

Portable x64 app, with SQLite and the Visual C++ runtime included.

Web

With limits

Dart compiles to JavaScript and SQLite runs in WebAssembly. Each user keeps their database in their browser; there is no API, email or server database.

Linux

No package

The project includes this target, but today it isn't built with each version or released for download.

There is no native app for iPhone or Android: the project doesn't include those targets. On a phone you use the pages the app serves, such as the employee portal.

One codebase doesn't mean zero differences. Whatever depends on the platform, such as reading files, opening a port or sending email, lives in pairs of files, one for desktop and one for the browser, and Dart picks the right one at compile time.

The layers of the app

Everything compiles into a single program. Inside, it is organized in layers: what receives requests at the top, the rules in the middle and data access at the bottom.

One program, compiled for each platform

Interface

Screens in Flutter

lib/ui

API and websites

Odoo RPC, REST and public pages

lib/api · lib/web

AI

Assistant, voice and suggestions

lib/ai

Business logic lib/db

Orders, invoices, accounting, payroll, permissions

With specialized modules: lib/cad · lib/bi · lib/sheets · lib/pincel · lib/odoo

Own ORM lib/orm

  1. Schema
  2. Query
  3. Dialect
  4. Adapter
SQL for each engine
  • SQLite

    File or browser

  • PostgreSQL

    Your server

  • MySQL 8

    Your server

  • SQL Server

    Postponed

Simplified: besides going through the business logic, screens read many lists directly through the ORM.
Interfacelib/ui
Lists, kanban boards, forms, charts and the CAD, all in Flutter with no HTML. Text is in Spanish and English, using translation catalogs like Odoo's, and each user has their own language.
Business logiclib/db
The rules: what happens when you confirm an order, validate a delivery, post an invoice or calculate a payslip. Accounting is double-entry, and journal entries are generated when invoices are posted and payments recorded.
Own ORMlib/orm
The piece that translates between the app and the engine. The code describes the data it wants, in Dart, and the ORM writes the SQL each engine understands. It knows the schema of more than 300 tables and, when a database opens, creates whatever is missing without ever deleting anything.
APIlib/api
An HTTP server inside the desktop app: port 8169 by default and only for the same computer, unless you allow the network. It speaks JSON-RPC and XML-RPC compatible with Odoo's external API, plus REST, and serves the employee portal, bookings and surveys. It runs while the app is open and doesn't exist in the web version.
AIlib/ai
It connects to OpenAI or a compatible API, with the customer's key. The assistant uses the same operations as the API, with the user's permissions, and asks for approval before saving. Questions and the data looked up are sent to that provider: there is no model inside the app.
Moduleslib/*
Sales, inventory, manufacturing and CAD are part of the same program, not add-ons you install. Each user can have the apps they shouldn't see removed. For simple needs, the Generator app builds apps and forms without coding.

The database is multiple

ERPSqlite started by storing everything in one SQLite file, and that is still the default. But the name now falls short: today “multiple” means three things.

Several databases

Each database is independent and you switch between them from the top bar. One database can also hold several companies.

Several engines

You choose the engine when you create a database. The same installation can work with SQLite databases and server databases, and the bar shows which one you are on.

Data that moves

A SQLite database can be copied to PostgreSQL or MySQL with all its data, leaving the original as it is. A SQL backup can be restored on any of the three engines.

What is available today

SQLiteA .sqlite file on your computerAvailableNo server or separate install. The database is a file you can copy and open with other tools.
SQLite in the browserEach user's browserWeb version onlySQLite in WebAssembly on IndexedDB. The web server only delivers the app and stores no data.
PostgreSQLYour own serverAvailable on desktopFor a central database. The desktop app connects to the server; installing and maintaining it is up to you.
MySQLYour own serverAvailable on desktopVersion 8.0.19 or later. Same conditions as PostgreSQL.
SQL Server—PostponedListed as a planned engine, but it has no dialect or connection and can't be selected. There is no date.

MongoDB isn't an ERP engine: it is only a connection in the Code app for querying external databases.

How it works: one query, three SQLs

The app doesn't write SQLite SQL and translate it afterwards. It describes the query in Dart, and each engine's dialect generates its own SQL. Quotes, parameters and even case-insensitive search all change.

In the app's code (Dart)

orm.from('res_partner')
    .columns(['id', 'name'])
    .where(col('name').like('%ana%'))
    .orderBy(['name'])
    .limit(10)
    .get();

Generated SQL · SQLite

SELECT "id", "name" FROM "res_partner"
WHERE ("name" LIKE ?)
ORDER BY "name" LIMIT 10

Generated SQL · PostgreSQL

SELECT "id", "name" FROM "res_partner"
WHERE ("name" ILIKE $1)
ORDER BY "name" LIMIT 10

Generated SQL · MySQL

SELECT `id`, `name` FROM `res_partner`
WHERE (LOWER(`name`) LIKE LOWER(?))
ORDER BY `name` LIMIT 10
Real output of the ORM compiler with a sample table. The search value travels separately as a parameter, not inside the SQL text.

The cost of this decision: every new engine needs its own dialect and adapter, and the whole set has to be maintained and tested. Some tests run complete flows on PostgreSQL and MySQL.

Flutter vs Python

First, a clarification

Flutter and Python aren't the same kind of thing. Python is a programming language; Flutter is an interface framework built on another language, Dart. Pitting them directly against each other would mix different things. What can be compared is building an ERP with Flutter and Dart versus building one with Python.

As the Python ERP example we use Odoo, one of the best known: Python on the server, PostgreSQL as the database and JavaScript with Owl for the web interface. It is also the model ERPSqlite takes its inspiration from.

Installation and deploymentERP with Flutter and Dart (ERPSqlite)You ship one program per system, with its engine included: download, unzip and open. In exchange, each system has to be compiled separately and each version has to reach each computer.ERP with Python (like Odoo)You install it once on a server, with Python, its dependencies and PostgreSQL, or you pay for hosting. Users open a browser and an update is applied in one place.It dependsFlutter with few seats; Python with many.
Desktop and offlineERP with Flutter and Dart (ERPSqlite)A native app working on a local file, with no server and no Internet. Only what needs the network by nature, such as email or AI, goes online.ERP with Python (like Odoo)Python can make desktop programs, but an ERP like Odoo is a web server: you use it from a browser, connected to that server. Its point of sale does keep working through Internet outages and syncs afterwards.Flutter and DartIt is the main reason for this architecture.
TypingERP with Flutter and Dart (ERPSqlite)Dart checks types at compile time and a value can't be null unless declared so. Many errors show up before running, which helps a lot in a large project.ERP with Python (like Odoo)Dynamic typing. Type annotations are optional and Python doesn't enforce them at runtime: external tools check them. In exchange, it is more flexible for trying ideas quickly.Flutter and DartIf safety matters more than prototyping speed.
InterfaceERP with Flutter and Dart (ERPSqlite)One language from the screen to the database and its own drawing, which allows demanding views like the CAD with the same code. In exchange, Flutter doesn't suit content websites: its output doesn't fit what search engines index. This very site is built with Next.js, not Flutter.ERP with Python (like Odoo)Python doesn't paint a web interface: Odoo's client is written in JavaScript with Owl, so two languages live side by side. In exchange, it is the standard web, with links, search engines and all its tools.It dependsFlutter for rich apps; the classic web for public pages.
EcosystemERP with Flutter and Dart (ERPSqlite)pub.dev covers the usual needs, but little exists for an ERP. Here the ORM, the CAD and the spreadsheets are our own code, which also has to be maintained.ERP with Python (like Odoo)PyPI has libraries for almost everything, and Odoo adds its app store and years of modules and localizations from its community.PythonFar more already built and far more proven.
CustomizationERP with Flutter and Dart (ERPSqlite)A code change requires recompiling and releasing another version, and there are no third-party modules to install. That leaves the API and the Generator app for simple needs.ERP with Python (like Odoo)Odoo is designed for adding modules on the server without touching its core, and a whole industry of integrators does exactly that.PythonExtending without recompiling is a real advantage.
Hiring talentERP with Flutter and Dart (ERPSqlite)A much less common profile: 4.9% of Stack Overflow's 2026 respondents did extensive work in Dart. People coming from another typed language pick it up, but you have to allow for that time.ERP with Python (like Odoo)A very common profile: 58.0% for Python in the same survey, plus a market of its own for Odoo specialists.PythonIt is easier to find and replace developers.
Data science and AIERP with Flutter and Dart (ERPSqlite)Not its field. ERPSqlite uses AI by calling external services over HTTP, which works the same in any language, but it doesn't train models or analyze data at scale.ERP with Python (like Odoo)It is the reference: NumPy, pandas, scikit-learn and PyTorch. If a project revolves around its own models, the decision is clear.PythonNo contest.
ServerERP with Flutter and Dart (ERPSqlite)Dart can serve HTTP and ERPSqlite does, but inside the desktop app and only while it is open. Today there is no windowless server mode.ERP with Python (like Odoo)Its natural field: Django, FastAPI and Odoo itself are made to serve many users at once, day and night, with several processes and background jobs.PythonFor an always-on central service.

This table has no performance figures: we haven't run a comparable measurement of the two. The result depends on the hardware, the engine and the data volume, so we would rather not name a winner.

Where Flutter and Dart win

  • A program that installs and works with no Internet or server
  • The same code for macOS, Windows and web
  • Demanding interfaces, such as a CAD inside the ERP
  • Type checking in a large project

Where Python wins

  • A central server for many users at once
  • Data science, machine learning and your own models
  • Libraries, modules and community
  • Hiring developers and extending without recompiling

So why Flutter here?

Because the goal is an ERP that you download, unzip and run on a small company's computer, without setting up a server. If your priority is a central service for many users, your own models or third-party modules, Python and Odoo are a very reasonable choice. It isn't a closed choice either: Python scripts that use Odoo's external API can connect to ERPSqlite.

Sources

What is said about ERPSqlite comes from its own code. Odoo is a trademark of its owner, with which ERPSqlite has no relationship; it is cited only as an example.

See it working

The web demo runs in your browser, with its own trial database.