Skip to content

Draft: provide sqlite for catalog

Xiaowu Zhang requested to merge xiaowu.zhang/erp5:erp5_sqlite into master

Context

jp ask to provide sqlite support for catalog

Idea

It’s not possible to make SQLite support all BT5s in one fell swoop. It need to support them one by one in an easy way.

Since ERP5 already supports multiple catalogs, I modify BusinessTemplate.py to support multiple catalogs as well.

When installing a BT5, if the SQL methods in the BT5 are not related to the current catalog, we can still install the BT5 but without effect.

To support it, we would need to create the corresponding catalog SQL methods.

Steps to provide minimal support of erp5 core functionnality

test result:

ERP5 with SQLite

ERP5 with MySQL

Edited by Xiaowu Zhang

Merge request reports