Terminal UI for Odoo
The kodoo tool is a Terminal UI for Odoo that allows to navigate data, it's destined to developers and end users, it supports the odoo versions from 8.0 to 15.0.
The release page contains all compiled binaries of this tool
curl -sSL https://raw.githubusercontent.com/chermed/kodoo/main/install.sh | sh
brew tap chermed/kodoo
brew install chermed/kodoo/kodoo
brew upgrade chermed/kodoo/kodoo
go get -u github.com/chermed/kodoo
Get the executable from the release page
The image is docker.io/chermed/kodoo
docker run -it --rm -v $(pwd):/.kodoo --net host chermed/kodoo:latest init-config
Edit the generated file, then run:
docker run -it --rm -v $(pwd):/.kodoo --net host chermed/kodoo:latest
kodoo init-config kodoo? to see the help page, and ESC to go back to the main pageLet's assume the following query:
sale.order +id -name partner_id state state=sent,sale partner_id.name~gem %10
It will be parsed to :
sale.orderid, name, partner_id and state[["state", "in", ["sent","sale"]], ["partner_id.name", "ilike", "gem"]]id asc, name desc10Only the model is required for the query, the other parameters could be given during the filter, example :
/state=sale +id %3 state name date_order
The transformation of operators is done in that way :
| Kodoo operator | Odoo operator |
|---|---|
= |
in |
~ |
ilike |
>= |
>= |
<= |
<= |
> |
> |
< |
< |
!= |
!= |
ANDThanks to derailed for his awesome k9s tool, it gave me the idea to build this tool.
$ claude mcp add kodoo \
-- python -m otcore.mcp_server <graph>