From e9a6cf65db32e8bf1f61b3a08fcf5782ed348aee Mon Sep 17 00:00:00 2001 From: Antoine Huret Date: Fri, 19 Feb 2021 10:30:47 +0100 Subject: [PATCH] update README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8934d01a..e3e8c993 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,14 @@ An Odoo API client enabling Go programs to interact with Odoo in a simple and un ### Generate your models +**Note: Generating models require to follow instructions in GOPATH mode. Refactoring for go modules will come soon.** Define the environment variables to be able to connect to your odoo instance : (Don't set `ODOO_MODELS` if you want all your models to be generated) ``` -export ODOO_ADMIN=admin +export ODOO_ADMIN=admin // ensure the user has sufficient permissions to generate models export ODOO_PASSWORD=password export ODOO_DATABASE=odoo export ODOO_URL=http://localhost:8069