From cdd380575cec0f55d033952f12ed806c42f7352e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pelayo=20Garc=C3=ADa?= <25091358+oyale@users.noreply.github.com> Date: Wed, 2 Aug 2023 18:49:42 +0200 Subject: [PATCH 1/5] feat: bump to Python 3.8 --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 21f4beb..cbe3fd5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -4,7 +4,7 @@ odoo_role_odoo_user: odoo odoo_role_odoo_group: odoo # VirtualEnv vars -odoo_role_python_version: "3.7.7" +odoo_role_python_version: "3.8.17" odoo_role_venv_name: "odoo" odoo_role_odoo_venv_path: "/home/{{ odoo_role_odoo_user }}/pyenv/versions/{{ odoo_role_venv_name }}/" From 2fd4e5673711d7f74830dd54903bcf0a57ee0ae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pelayo=20Garc=C3=ADa?= <25091358+oyale@users.noreply.github.com> Date: Wed, 2 Aug 2023 18:56:23 +0200 Subject: [PATCH 2/5] docs: update Odoo versions support list --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 22b9f30..c2fdc39 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,13 @@ An Odoo Ansible Provisioning Role ========================================= This an Ansible role for provisioning Odoo. It supports: +* Odoo 14 +* Odoo 13 * Odoo 12 * Odoo 11 * Odoo 10 -I has not been tested yet with Odoo 13. +It has not been production-tested yet with Odoo 15. Requirements ------------ From a215cf2f922d3948854f5e79f63cec639a3cd505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pelayo=20Garc=C3=ADa?= <25091358+oyale@users.noreply.github.com> Date: Wed, 2 Aug 2023 19:05:49 +0200 Subject: [PATCH 3/5] docs: add VirtualEnv vars to README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index c2fdc39..d5c6496 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,14 @@ Role Variables -------------- Available variables are listed below, along with default values: +* Python VirtualEnv + +```yaml +odoo_role_python_version: "3.8.17" +odoo_role_venv_name: "odoo" +odoo_role_odoo_venv_path: "/home/{{ odoo_role_odoo_user }}/pyenv/versions/{{ odoo_role_venv_name }}/" +``` + * Edition This role supports installing Odoo following two different strategies: `git` (from a git repository) and `tar` (a package or compressed release file). From a0361ebff50680a9ebdfa3271d2c3ac6db367e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pelayo=20Garc=C3=ADa?= <25091358+oyale@users.noreply.github.com> Date: Wed, 2 Aug 2023 19:07:23 +0200 Subject: [PATCH 4/5] fixup! docs: add VirtualEnv vars to README --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index d5c6496..c10e65f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,6 @@ Available variables are listed below, along with default values: ```yaml odoo_role_python_version: "3.8.17" odoo_role_venv_name: "odoo" -odoo_role_odoo_venv_path: "/home/{{ odoo_role_odoo_user }}/pyenv/versions/{{ odoo_role_venv_name }}/" ``` * Edition From f978d04b78ef7bd8fe97679d27d5d25b560d0f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pelayo=20Garc=C3=ADa?= <25091358+oyale@users.noreply.github.com> Date: Wed, 2 Aug 2023 19:09:26 +0200 Subject: [PATCH 5/5] docs: add requirements path var info --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c10e65f..df3cb28 100644 --- a/README.md +++ b/README.md @@ -244,7 +244,7 @@ Community Roles #### Deploy To use community roles, you need to deploy this modules in the server. This role manage the modules deployment with `pip`. -You can define a `requirements.txt` file to manage the modules and ensure the version installed: +You can define a `requirements.txt` file to manage the modules and ensure the version installed with: ``` # requirements.txt @@ -255,6 +255,7 @@ odoo11-addon-contract-variable-quantity==11.0.1.2.1 ``` > The default the `requirements.txt` file path is `"{{ inventory_dir }}/../files/requirements.txt"`. +> You can choose a different one by setting `odoo_role_community_modules_requirements_path` variable. # Install Once the modules are in the server, you need to install them in the database.