dataset/seed/odoo/README.md
2023-08-24 21:17:24 +02:00

18 KiB

Table of Contents

Return to the list of application services.

odoo

Synopsis

Odoo, an ERP and CRM.

Basic variables

General

Reverse proxy

Clients configuration

This family is a leadership.

Parameter Comment
general.revprox.revprox_client.revprox_client_external_domainnames
mandatory, multiple
Type: domainname
Service external domain name.
Example: service.example.net
general.revprox.revprox_client.revprox_client_location
mandatory
Type: filename
URI to route request to the correct service.
Default: /

Odoo

Parameter Comments
general.odoo.odoo_admin_email
mandatory
Type: mail
Adresse courriel de l'administrateur.
Example: johndoe@example.net
general.odoo.odoo_company_name
mandatory
Type: string
Nom.
Example: ACME
general.odoo.odoo_company_street
mandatory
Type: string
Adresse.
Example: John Doe Street
general.odoo.odoo_company_city
mandatory
Type: string
Ville.
Example: Dijon
general.odoo.odoo_company_zip
mandatory
Type: string
Code postal.
Example: 21000
general.odoo.odoo_company_vat
mandatory
Type: string
Numéro TVA.
Example: FR 99999999999
general.odoo.odoo_company_registry
mandatory
Type: string
Registre de la société.
Example: 999 999 999 00099
general.odoo.odoo_company_phone
Type: string
Numéro de téléphone.
general.odoo.odoo_company_mobile
Type: string
Numéro de téléphone mobile.
general.odoo.odoo_company_email
mandatory
Type: string
Adresse courriel.
Example: johndoe@example.net
general.odoo.odoo_company_website
mandatory
Type: string
Site internet.
Example: https://example.net
general.odoo.odoo_company_logo
mandatory
Type: filename
Chemin du logo.
Example: /home/jdoe/logo.png
general.odoo.odoo_company_footer
mandatory
Type: string
Pied de page des documents.
Example: foot
general.odoo.odoo_company_layout
mandatory
Type: choice
Agencement des documents.
Choices:
- standard ← default
- bold
- boxed
- striped

Variables

General

OpenLDAP directory

Client
Parameter Comment
general.ldap.client.ldapclient_family
Type: unix_user
Restrict service configuration for a LDAP family.
"all" for all families.

Reverse proxy

Clients configuration

This family is a leadership.

Parameter Comment
general.revprox.revprox_client.revprox_client_max_body_size
Type: string
The maximum allowed size of the client request body.

OAuth2 client

Parameter Comment
general.oauth2_client.oauth2_client_name
mandatory
Type: string
OAuth2 client name.
Default: ERP
Example: example
general.oauth2_client.oauth2_client_description
mandatory
Type: string
OAuth2 client description.
Default: ERP Odoo
Example: Example description
general.oauth2_client.oauth2_client_login
Type: web_address
OAuth2 URL to valid login.
external
Parameter Comments
general.oauth2_client.external.oauth2_client_external
mandatory, multiple
Type: web_address
OAuth2 client external.
Default: calculated
general.oauth2_client.external.oauth2_client_family
mandatory, multiple
Type: string
OAuth2 family.
Default:
  • users
Parameter Comment
general.oauth2_client.oauth2_client_category
mandatory
Type: string
OAuth2 category.
Default: Entreprise
general.oauth2_client.oauth2_client_logo
mandatory
Type: string
OAuth2 logo.
Default: silique_note.png

Variables for expert

General

NGINX

Parameter Comment
general.nginx.nginx_hash_bucket_size
mandatory
Type: choice
The bucket size for the server names hash tables.
Choices:
- 128 ← default
- 64
- 32
general.nginx.nginx_post_max_size
mandatory
Type: number
The maximum allowed size of the client request body.
This value is in Mb.
Default: 32

Odoo

Parameter Comments
general.odoo.odoo_addons
mandatory, multiple
Type: string
Liste des applications à activer.
Default:
  • base
  • l10n_fr
  • l10n_fr_fec
  • account
  • hr
  • hr_contract
  • sale_management

Requirements services

Mandatories

  • LocalDNS: DNS forwarder for local domain name.
  • SMTP: Automaticly create a SMTP relay account and authorize sending email.
  • LDAP: Automaticly create account and connexion to a LDAP server.
  • ReverseProxy: Automaticly register to service to a reverse proxy server.
  • Postgresql: Automaticly create account and connexion to a PostgreSQL server.
  • OAuth2: Remote clients needing to verify OAuth2 account.

Optionals

Example

Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.

odoo:
  applicationservice: odoo
  zones_name:
    - ldap
    - localdns
    - oauth2
    - postgresql
    - reverseproxy
    - smtp
  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