204 lines
23 KiB
Markdown
204 lines
23 KiB
Markdown
---
|
|
gitea: none
|
|
include_toc: true
|
|
---
|
|
|
|
# odoo
|
|
|
|
## Synopsis
|
|
|
|
Odoo, an ERP and CRM.
|
|
|
|
[For more informations](https://www.odoo.com/fr)
|
|
|
|
## Variables
|
|
|
|
### Général (*general*)
|
|
|
|
#### systemd-journald (*general.journald*)
|
|
|
|
| Description | Type | Supplier | Values |
|
|
|--------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|---------------|--------------|
|
|
| *[journal_client_server_domainname](dictionaries/20_journald.xml)* | [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Journald | |
|
|
| *[journal_host_name](dictionaries/20_journald.xml)* | [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Journald:host | <calculated> |
|
|
|
|
#### Client SMTP (*general.smtp*)
|
|
|
|
| Description | Type | Supplier |
|
|
|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|------------|
|
|
| **Nom de domaine du serveur SMTP** (*[smtp_relay_address](dictionaries/20_smtp_client.xml)*) | [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | SMTP |
|
|
|
|
#### Annuaire OpenLDAP (*general.ldap*)
|
|
|
|
##### Serveur (*general.ldap.server*)
|
|
|
|
| Description | Type | Supplier |
|
|
|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|------------|
|
|
| **Nom DNS du serveur LDAP** (*[ldap_server_address](dictionaries/21_ldap-client.xml)*) | [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | LDAP |
|
|
|
|
##### Client (*general.ldap.client*)
|
|
|
|
| Description | Type | Supplier | Values |
|
|
|----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|--------------|--------------|
|
|
| Nom de la famille LDAP (*[ldapclient_family](dictionaries/21_ldap-client.xml)*) | [unix_user](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | LDAP:family | |
|
|
| **Base DN de l'annuaire** (*[ldapclient_base_dn](dictionaries/21_ldap-client.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | LDAP:base_dn | <calculated> |
|
|
| **Base DN de l'annuaire des utilisateurs** (*[ldapclient_search_dn](dictionaries/21_ldap-client.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | <calculated> |
|
|
| **Base DN de l'annuaire des groupes** (*[ldapclient_group_dn](dictionaries/21_ldap-client.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | <calculated> |
|
|
| **Base DN de l'annuaire des utilisateurs n'appartenant à une famille** (*[ldapclient_user_dn](dictionaries/21_ldap-client.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | <calculated> |
|
|
|
|
#### NGINX (*general.nginx*)
|
|
|
|
Paramétrage global de NGINX
|
|
|
|
| Description | Help | Type | Values | Choices |
|
|
|-------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|----------|---------------------|
|
|
| Nom de domaine du serveur mandataire inverse par défaut (*[nginx_default](dictionaries/21_nginx.xml)*) | Si un client accède au serveur avec un nom de domaine non déclaré, le flux est redirigé vers ce domaine | [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Longueur maximum pour un nom de domaine** (*[nginx_hash_bucket_size](dictionaries/21_nginx.xml)*) | | [choice](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | 128 | 128<br />64<br />32 |
|
|
| **Taille maximale des données reçues par la méthode POST (en Mo)** (*[nginx_post_max_size](dictionaries/21_nginx.xml)*) | | [number](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | 32 | |
|
|
|
|
#### Reverse proxy (*general.revprox*)
|
|
|
|
##### Point d'entrée des clients (*general.revprox.revprox_client*)
|
|
|
|
This a family is a leadership.
|
|
|
|
| Description | Example | Type | Supplier |
|
|
|---------------------------------------------------------------------------------------------------------------------------|---------------------|----------------------------------------------------------------------------------------------------------------------------|----------------------------|
|
|
| **Nom de domaine exterieur du serveur** (*[revprox_client_external_domainnames](dictionaries/21_revprox_client.xml)*) [+] | service.example.net | [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | ReverseProxy:external |
|
|
| **Nom de l'arborescence racine du site** (*[revprox_client_location](dictionaries/21_revprox_client.xml)*) | | [filename](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | ReverseProxy:location |
|
|
| Taille maximum du corps (*[revprox_client_max_body_size](dictionaries/21_revprox_client.xml)*) | | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | ReverseProxy:max_body_size |
|
|
|
|
#### PostgreSQL (*general.postgresql*)
|
|
|
|
| Description | Type | Supplier | Values |
|
|
|------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|---------------------|--------------|
|
|
| **Nom de domaine du serveur PostgreSQL** (*[pg_client_server_domainname](dictionaries/23_postgresql.xml)*) | [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Postgresql | |
|
|
| **Client username** (*[pg_client_username](dictionaries/23_postgresql.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Postgresql:username | <calculated> |
|
|
| **Client password** (*[pg_client_password](dictionaries/23_postgresql.xml)*) | [password](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Postgresql:password | <calculated> |
|
|
| **Client database** (*[pg_client_database](dictionaries/23_postgresql.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Postgresql:database | <calculated> |
|
|
|
|
#### OAuth2 client (*general.oauth2_client*)
|
|
|
|
| Description | Type | Supplier | Example | Values | Provider |
|
|
|----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|--------------------|---------------------|------------------|------------------------|
|
|
| **OAuth2 server domain name** (*[oauth2_client_server_domainname](dictionaries/30_oauth2_client.xml)*) | [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | OAuth2 | | | |
|
|
| **OAuth2 client name** (*[oauth2_client_name](dictionaries/40_odoo.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | OAuth2:name | example | ERP | |
|
|
| **OAuth2 client description** (*[oauth2_client_description](dictionaries/40_odoo.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | OAuth2:description | Example description | ERP Odoo | |
|
|
| OAuth2 URL to valid login (*[oauth2_client_login](dictionaries/30_oauth2_client.xml)*) | [web_address](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | OAuth2:login | | | |
|
|
| **OAuth2 category** (*[oauth2_client_category](dictionaries/40_odoo.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | OAuth2:category | | Entreprise | |
|
|
| **OAuth2 logo** (*[oauth2_client_logo](dictionaries/40_odoo.xml)*) | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | OAuth2:logo | | silique_note.png | |
|
|
| **OAuth2 server external domain name** (*[oauth2_server_domainname](dictionaries/30_oauth2_client.xml)*) | [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | | | OAuth2:external_domain |
|
|
|
|
##### external (*general.oauth2_client.external*)
|
|
|
|
| Description | Type | Values | Supplier |
|
|
|---------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|--------------|-----------------|
|
|
| **OAuth2 client external** (*[oauth2_client_external](dictionaries/40_odoo.xml)*) [+] | [web_address](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | <calculated> | OAuth2:external |
|
|
| **OAuth2 family** (*[oauth2_client_family](dictionaries/40_odoo.xml)*) [+] | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | users | OAuth2:family |
|
|
|
|
#### Odoo (*general.odoo*)
|
|
|
|
| Description | Example | Type | Values | Choices |
|
|
|-------------------------------------------------------------------------------------------|---------------------|--------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|--------------------------------------------|
|
|
| **Adresse courriel de l'administrateur** (*[odoo_admin_email](dictionaries/40_odoo.xml)*) | johndoe@example.net | [mail](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Nom** (*[odoo_company_name](dictionaries/40_odoo.xml)*) | ACME | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Adresse** (*[odoo_company_street](dictionaries/40_odoo.xml)*) | John Doe Street | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Ville** (*[odoo_company_city](dictionaries/40_odoo.xml)*) | Dijon | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Code postal** (*[odoo_company_zip](dictionaries/40_odoo.xml)*) | 21000 | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Numéro TVA** (*[odoo_company_vat](dictionaries/40_odoo.xml)*) | FR 99999999999 | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Registre de la société** (*[odoo_company_registry](dictionaries/40_odoo.xml)*) | 999 999 999 00099 | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| Numéro de téléphone (*[odoo_company_phone](dictionaries/40_odoo.xml)*) | | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| Numéro de téléphone mobile (*[odoo_company_mobile](dictionaries/40_odoo.xml)*) | | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Adresse courriel** (*[odoo_company_email](dictionaries/40_odoo.xml)*) | johndoe@example.net | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Site internet** (*[odoo_company_website](dictionaries/40_odoo.xml)*) | https://example.net | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Chemin du logo** (*[odoo_company_logo](dictionaries/40_odoo.xml)*) | /home/jdoe/logo.png | [filename](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Pied de page des documents** (*[odoo_company_footer](dictionaries/40_odoo.xml)*) | foot | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | | |
|
|
| **Agencement des documents** (*[odoo_company_layout](dictionaries/40_odoo.xml)*) | | [choice](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | standard | standard<br />bold<br />boxed<br />striped |
|
|
| **Liste des applications à activer** (*[odoo_addons](dictionaries/40_odoo.xml)*) [+] | | [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | base<br />l10n_fr<br />l10n_fr_fec<br />account<br />hr<br />hr_contract<br />sale_management | |
|
|
|
|
|
|
- [+]: variable is multiple
|
|
- **bold**: variable is mandatory
|
|
|
|
## Examples
|
|
|
|
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
|
|
|
|
With minimum providers:
|
|
|
|
```
|
|
odoo:
|
|
applicationservice: odoo
|
|
zones_name:
|
|
- ldap
|
|
- localdns
|
|
- reverseproxy
|
|
- smtp
|
|
- oauth2
|
|
- postgresql
|
|
values:
|
|
general.revprox.revprox_client.revprox_client_external_domainnames:
|
|
- service.example.net
|
|
general.odoo.odoo_admin_email: johndoe@example.net
|
|
general.odoo.odoo_company_name: ACME
|
|
general.odoo.odoo_company_street: John Doe Street
|
|
general.odoo.odoo_company_city: Dijon
|
|
general.odoo.odoo_company_zip: 21000
|
|
general.odoo.odoo_company_vat: FR 99999999999
|
|
general.odoo.odoo_company_registry: 999 999 999 00099
|
|
general.odoo.odoo_company_email: johndoe@example.net
|
|
general.odoo.odoo_company_website: https://example.net
|
|
general.odoo.odoo_company_logo: /home/jdoe/logo.png
|
|
general.odoo.odoo_company_footer: foot
|
|
```
|
|
|
|
With all providers:
|
|
|
|
```
|
|
odoo:
|
|
applicationservice: odoo
|
|
zones_name:
|
|
- journald
|
|
- ldap
|
|
- localdns
|
|
- reverseproxy
|
|
- smtp
|
|
- oauth2
|
|
- postgresql
|
|
values:
|
|
general.revprox.revprox_client.revprox_client_external_domainnames:
|
|
- service.example.net
|
|
general.odoo.odoo_admin_email: johndoe@example.net
|
|
general.odoo.odoo_company_name: ACME
|
|
general.odoo.odoo_company_street: John Doe Street
|
|
general.odoo.odoo_company_city: Dijon
|
|
general.odoo.odoo_company_zip: 21000
|
|
general.odoo.odoo_company_vat: FR 99999999999
|
|
general.odoo.odoo_company_registry: 999 999 999 00099
|
|
general.odoo.odoo_company_email: johndoe@example.net
|
|
general.odoo.odoo_company_website: https://example.net
|
|
general.odoo.odoo_company_logo: /home/jdoe/logo.png
|
|
general.odoo.odoo_company_footer: foot
|
|
```
|
|
|
|
## Dependances
|
|
|
|
- [base-debian-bullseye](../base-debian-bullseye/README.md)
|
|
- [base-debian](../base-debian/README.md)
|
|
- [systemd](../systemd/README.md)
|
|
- [base-machine](../base-machine/README.md)
|
|
- [base](../base/README.md)
|
|
- [dns-local](../dns-local/README.md)
|
|
- [pki-tls](../pki-tls/README.md)
|
|
- [journald](../journald/README.md)
|
|
- [resolved](../resolved/README.md)
|
|
- [postgresql-client](../postgresql-client/README.md)
|
|
- [reverse-proxy-client](../reverse-proxy-client/README.md)
|
|
- [relay-mail-client](../relay-mail-client/README.md)
|
|
- [ldap-client](../ldap-client/README.md)
|
|
- [oauth2-client](../oauth2-client/README.md)
|
|
- [nginx-https](../nginx-https/README.md)
|
|
- [nginx-common](../nginx-common/README.md)
|
|
- [reverse-proxy-client](../reverse-proxy-client/README.md)
|
|
|
|
[All applications services for this dataset.](../README.md)
|