dataset/seed/odoo/dictionaries/40_odoo.xml

99 lines
4.7 KiB
XML
Raw Normal View History

2022-10-01 18:57:37 +02:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<services>
<service name="odoo" target="multi-user">
2023-06-23 08:12:05 +02:00
<override engine="ansible"/>
2022-10-01 18:57:37 +02:00
<file engine="none" source="sysuser-odoo.conf">/sysusers.d/1odoo.conf</file>
2022-12-25 17:08:52 +01:00
<file engine="none" source="tmpfile-odoo.conf">/tmpfiles.d/0odoo.conf</file>
2023-06-23 08:12:05 +02:00
<file engine="ansible" mode="755">/sbin/config_odoo.py</file>
<file engine="ansible" mode="400" owner="odoo">/etc/odoo/odoo.conf</file>
<file engine="ansible" mode="400" owner="odoo">/etc/odoo/postgresql.pass</file>
<file engine="ansible">/etc/hosts</file>
<file engine="ansible" source="config-nginx.conf">/etc/nginx/sites-enabled/odoo.conf</file>
2022-10-01 18:57:37 +02:00
</service>
</services>
<variables>
<family name="odoo" description="Odoo">
2023-01-17 21:43:32 +01:00
<variable name="odoo_admin_password" type="password" description="Mot de passe de l'administrateur" hidden="True"/>
2023-08-02 09:26:54 +02:00
<variable name="odoo_admin_email" type="mail" description="Adresse courriel de l'administrateur" mandatory="True" test="johndoe@example.net"/>
<variable name="odoo_company_name" description="Nom" mandatory="True" test="ACME"/>
<variable name="odoo_company_street" description="Adresse" mandatory="True" test="John Doe Street"/>
<variable name="odoo_company_city" description="Ville" mandatory="True" test="Dijon"/>
<variable name="odoo_company_zip" description="Code postal" mandatory="True" test="21000"/>
<variable name="odoo_company_vat" description="Numéro TVA" mandatory="True" test="FR 99999999999"/>
<variable name="odoo_company_registry" description="Registre de la société" mandatory="True" test="999 999 999 00099"/>
<variable name="odoo_company_phone" description="Numéro de téléphone" mode="basic"/>
<variable name="odoo_company_mobile" description="Numéro de téléphone mobile" mode="basic"/>
<variable name="odoo_company_email" description="Adresse courriel" mandatory="True" test="johndoe@example.net"/>
<variable name="odoo_company_website" description="Site internet" mandatory="True" test="https://example.net"/>
<variable name="odoo_company_logo" type="filename" description="Chemin du logo" mandatory="True" test="/home/jdoe/logo.png"/>
<variable name="odoo_company_footer" description="Pied de page des documents" mandatory="True" test="foot"/>
<variable name="odoo_company_layout" description="Agencement des documents" mandatory="True" type="choice" mode="basic">
2022-10-01 18:57:37 +02:00
<value>standard</value>
<choice>standard</choice>
<choice>bold</choice>
<choice>boxed</choice>
<choice>striped</choice>
</variable>
2023-08-02 09:26:54 +02:00
<variable name="odoo_addons" description="Liste des applications à activer" multi="True" mode="expert">
2022-10-01 18:57:37 +02:00
<value>base</value>
<value>l10n_fr</value>
<value>l10n_fr_fec</value>
<value>account</value>
<value>hr</value>
<value>hr_contract</value>
<value>sale_management</value>
</variable>
</family>
<family name="postgresql">
<variable name="pg_client_key_owner" redefine="True">
<value>odoo</value>
</variable>
</family>
<family name="oauth2_client">
<variable name="oauth2_is_client_application" redefine='True'>
<value>True</value>
</variable>
<variable name="oauth2_client_name" redefine='True'>
<value>ERP</value>
</variable>
<variable name="oauth2_client_description" redefine='True'>
<value>ERP Odoo</value>
</variable>
<variable name="oauth2_client_category" redefine='True'>
<value>Entreprise</value>
</variable>
<variable name="oauth2_client_logo" redefine='True'>
<value>silique_note.png</value>
</variable>
<family name="external">
<variable name="oauth2_client_external" redefine="True" multi='True'/>
<variable name="oauth2_client_family" redefine="True" multi="True"/>
</family>
</family>
2023-06-23 08:12:05 +02:00
<family name="ldap">
2022-10-01 18:57:37 +02:00
<family name="client">
<variable name="ldap_key_file_owner" redefine="True">
<value>odoo</value>
</variable>
</family>
</family>
<family name="nginx">
<variable name="nginx_default_https" redefine="True">
<value>False</value>
</variable>
</family>
2022-10-01 18:57:37 +02:00
</variables>
<constraints>
<fill name="get_password">
<param name="server_name" type="variable">domain_name_eth0</param>
<param name="username">admin</param>
<param name="description">admin</param>
<param name="type">cleartext</param>
<param name="hide" type="variable">hide_secret</param>
<param name="temporary" type="boolean">True</param>
<target>odoo_admin_password</target>
</fill>
</constraints>
</rougail>