Overview
Terminal UI for Odoo
The kodoo
tool is a Terminal UI for Odoo that allow to show and query the data, it's destined for Odoo developers and for end users.
Installation :
Visit the last release page
The release page contains all compiled binaries of this tool
Via script for macOS and Linux
curl -sSL https://raw.githubusercontent.com/chermed/kodoo/main/install.sh | sh
Via Homebrew for macOS or LinuxBrew for Linux
brew tap chermed/kodoo
brew install chermed/kodoo/kodoo
Upgrade :
brew upgrade chermed/kodoo/kodoo
Via a GO install
go get -u github.com/chermed/kodoo
Using snap
snap install kodoo --channel=beta
For Windows
Get the executable from the [release page](htt
Using docker
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
Get started
- Install the command following the instructions
- Initialize the configuration using the command
kodoo init-config
- Edit the configuration (only the list of servers is mandatory)
- Run the command
kodoo
- Type
?
to see the help page, and ESC
to go back to the main page
- Start to query the data from a database
Features
- Switch between many Odoo servers
- Manage and run macros
- Query objects and automatic refresh
- Pagination support
- Quick access to related records
- Auto detection of fields to show as columns in the table
- Run remote function on a selected records
- Sort and filter records
- Show metadata and details of a record
- Change dynamically the database or the user to use
Use cases
- For developers :
- Provide a fast way to see technical data (IDs and metadata) of records.
- Query and show invisible objects and invisible fields
- For Odoo customers :
- Use the Zen mode to display data on a hanging screen (Kitchen for a restaurant, Work orders for the manufacturing, etc)
- Use macros to access easily to custom views and data
Limitations :
- Filtering data is basic:
- The values in the domain are sent to odoo as strings or list of strings
- If many filters are specified the logical operator is
AND
- Binary fields value will not be shown or downloaded
Thanks
Thanks to derailed for his awesome k9s tool, it gave me the idea to build this tool.