3edd504f17a2fe435ccd8235037e96c11ba96c18
As a follow-up to commit276ea817f4, we change the default template database used for CREATE DATABASE operations, and we avoid setting the LC_COLLATE option unless this default template is used (to avoid locale compatibility errors). Rationale for the default template choice: PostgreSQL uses `template1` by default, and recommends that users alter `template1` if they need a custom template, while keeping template0 virgin. This is likely to be the reason why we had `template1` as the default previously (froma1e5c645d9). However, for new Odoo databases, it's actually better to use `template0` as template, for multiple reasons: - We do not customize the template database, and the system will work fine when starting from a completely virgin database - Since template0 does not allow connections by default, we have a stronger guarantee that no user will be connected to the template database (which would otherwise block database creations!) - We use the same logic for creating new databases and for creating placholder databases for restoring dumps. In the latter case, PostgreSQL recommends using a virgin template, to obtain a perfect copy of the database being restored (unaffected by any template customization) - Using `template0` as a template lets us choose any encoding and locale settings (LC_COLLATE/LC_CTYPE) upon creation. Any other database template might cause errors unless we select compatible encodings and locale settings. As the locale setting is system-dependent, we can't just hope that there will be no compatibility problem, we must explicitly default to template0. Therefore the change in276ea817f4was prone to causing locale compatibility errors. Finally, if users have a reason to prefer a different template, they should select it explicitly with the --db_template config. Note: existing environments will likely continue to use `template1` as a default due to presence of older config files. Complements #25196
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%