Skip to content

Make use of rich power tools to have nice formatted data in Odoo shells

Notifications You must be signed in to change notification settings

chienandalu/odooshow

Repository files navigation

Odoo Show 🔎️

Odoo Show is a python library that uses rich to give you goggles when you're diving into the Odoo Shell.

Basic usage:

from odooshow import show

partners = env["res.partner"].search([])  # Any recordset will do
show(partners)

This would be the output:

Resulting table

A small demo with the common usage of its features:

asciicast

Installation

You'll need rich and odoo.

To install with pip, simply:

pip install odooshow

Known issues

  • Better support for OdooRPC.

Roadmap

  • Make an Odoo module so we can plug the funcionality directly into the model abstract.
  • Configurable column totals. Now we're getting them from the field info.

About

Make use of rich power tools to have nice formatted data in Odoo shells

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages