Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Odoo Show
byHello,
Wow such a nice tool !
Installation and firsts tests works fine !
I just have unexepected "object has no attribute 'get_base_url'"
but i'm gonna dig a bit to really understand how to use it right
(or maybe open a issue) !
Nice one! Thanks
On Wed, Oct 5, 2022 at 3:32 AM David Vidal <notifications@odoo-community.org> wrote:
I have been working for fun on this little tool (https://github.com/chienandalu/odooshow) to facilitate the inspection of the data of a recordset. Any time you're into the Odoo shell either debugging any process or entering the console in a production instance we can import the show method of the library and we will see a table with the default tree fields for that record. Something like this:
Even more, you'll get links to the records urls so you can inspect them directly in the browser! (only in consoles that support console links).
By adding more attributes we can create more complex views by deciding which fields to show, grouping the records, etc. I'm working on documentation, for the moment you can see the code itself ;)
You can see a demo here -> https://asciinema.org/a/525597
There's also limited support for OdooRPC, but some special cases need to be covered.
To render the tables, I'm using the fantastic rich (https://github.com/Textualize/rich) which I can't stop recommending to everyone :)
I hope you enjoy it! (PRs and issues are welcome :))
David
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Technology Services @ www.serpentcs.comBusiness Solutions @ www.serpentcs.inEnterprise Mobile Apps @ www.odooonline.comQuality Assurance @ www.odooqa.comSAP Hana @ www.prozone-tech.com
Portal & DMS @ www.alfray.in
Regards,----------------------------------------------------------------------------------------------------------------------------
Jay Vora
Managing Director
Direct: +91-9879354457 Office: +91-9033472982 Skype: jaynvora
Twitter : jaynvora
-------------------------------------------------------------------------------------------------
Visit our website : http://www.serpentcs.com
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Pôle informatique 09 73 79 64 40 - Bureau 09 72 32 33 17
GRAP - Groupement Régional Alimentaire de Proximité
Reference
-
Odoo Show
byTecnativa. S. L., David Vidal-
Re: Odoo Show
byGroupement Régional Alimentaire de Proximité, Quentin DUPONT