Skip to content

Commit 6dad0eb

Browse files
committed
update README
1 parent 97323ac commit 6dad0eb

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ Guide
1313

1414
First install the library: ::
1515

16-
pip install odoo-client-lib
16+
pip install mccann_hub-odoo_client_lib
1717

1818
Now copy-paste the following script describing a simple interaction with an Odoo server: ::
1919

20-
import odoolib
20+
import mccann_hub.odoolib as odoolib
2121

2222
connection = odoolib.get_connection(hostname="localhost", database="my_db", \
2323
login="my_user", password="xxx")
@@ -62,6 +62,13 @@ Here are also some considerations about coding using the Odoo Client Library:
6262
- The browse() method can not be used. That method returns a dynamic proxy that lazy loads the rows' data from
6363
the database. That behavior is not implemented in the Odoo Client Library.
6464

65+
Testing
66+
-------
67+
68+
There is a Docker compose file in the `test_containers` directory that will stand up a local instance of Odoo: ::
69+
70+
docker compose -f ./test_containers/compose.yaml up
71+
6572
Compatibility
6673
-------------
6774

0 commit comments

Comments
 (0)