File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ Guide
1313
1414First install the library: ::
1515
16- pip install odoo-client-lib
16+ pip install mccann_hub-odoo_client_lib
1717
1818Now 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+
6572Compatibility
6673-------------
6774
You can’t perform that action at this time.
0 commit comments