Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update README.md #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ search_read(
3. Clone this repository and open it in VS Code
5. Compile and install (*Terminal > Run Task > Build and copy to Customs Connectors folder / Ctrl+Shift+B*)

Alternativelly, you can just compress the repository to a `.zip` file and then change the extension to `.mez`.
Alternatively, you can just compress the repository to a `.zip` file and then change the extension to `.mez`.

### Test
By default the unit tests assume there's a non-empty Odoo instance running at http://localhost:8069 with a database named `db`. A `docker-compose.yml` file is provided to easily set up such an instance. Just execute `docker-compose up`, wait a bit, go to http://localhost:8069 and set up the database with sample data. If you want to use some other server for the tests, edit `test-server.json`.

Once that server is reachable, press `Set credential` in the Power Query SDK sidebar and enter your Odoo test db username and password. Then open `Odoo.query.pq` and press `Evaluate current file` (also in the PQ SDK sidebar).
Once that server is reachable, press `Set credential` in the Power Query SDK sidebar and enter your Odoo test db username and password. Then open `Odoo.query.pq` and press `Evaluate current file` (also in the PQ SDK sidebar).