Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuret committed Feb 19, 2021
1 parent 19acf90 commit e9a6cf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9a6cf6

Please sign in to comment.