chienandalu / odooshow

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 100.0%