Skip to content

odoo-lux-dev/odoo-toolbox

Repository files navigation

This extension aims to enhance the experience of Odoo developers and Odoo.SH users by adding a variety of tools and features.

Installation

Non exhaustive functionnalities

  • Advanced DevTools panel for Odoo RPC testing and data exploration
  • Technical sidebar with field inspection and database context information
  • Star project on odoo SH, order the favorites list and ability to rename them
  • Enable (or not) debug mode by default on Odoo websites
  • Toggle debug mode from the extension's popup
  • Show technical printing options (PDF/HTML)
  • Show technical model name on record from Odoo v17.2 and above
  • Rename tab's title of Odoo.sh project to includes current project's name
  • Add task links to branch names with custom URL patterns and regex support
  • Copy branch name with a single click on Odoo.sh
  • Enable colorblind mode for better accessibility on Odoo.sh build statuses
  • Toggle between light and dark themes for the extension interface
  • Nostalgia mode with retro monkey icons for debug toggles
  • Default dark mode setting for Odoo interfaces
  • Export and import extension configuration for easy sharing or backup
  • Quick access to GitHub repositories from branch pages



Local development

Installation

This requires Bun Installation guide

Once Bun is installed, you can install the extension by running the following command in your terminal:

bun install

Development

To start developing the extension, you can run the following command in your terminal:

bun dev

This will start a development server that will watch for changes in the source code and automatically reload the extension in your browser.

Build

To build the extension, you can run the following commands in your terminal:

bun build
bun build:firefox

This will create a dist folder containing the built production-ready extension that you can then load into your browser.

Zip

To create a zip file containing the built extension, you can run the following commands in your terminal:

bun zip
bun zip:firefox

This will create a zip file in the dist folder.




Use of Odoo Code in this project

This project includes code sourced from the Odoo open source project, specifically from the src/utils/odoo-py_js directory.

By including this code, this project complies with LGPLv3 license requirements concerning attribution and usage.




Extension Permissions

This extension requests the following permissions to provide its functionality:

Required Permissions

Permission Purpose Justification
storage Store user preferences and configuration Save extension settings, Odoo.SH favorites, debug mode preferences, and DevTools history across browser sessions
tabs Access tab information Read current tab URL to detect Odoo websites and apply extension features only on relevant pages
alarms Schedule background tasks Manage data persistence and cleanup operations for stored favorites and history
scripting Execute scripts on web pages Inject content scripts into Odoo pages to enable DevTools RPC communication, debug mode toggle, and technical features
clipboardWrite Copy data to clipboard Allow users to copy technical information (field values, branch names, etc.) with one-click actions

Host Permissions

Permission Purpose Justification
*://*/* (All websites) Access all websites Automatically detect Odoo installations across any domain (including custom domains, localhost, Odoo.SH subdomains) and apply relevant features

Web Accessible Resources

Resource Purpose
odoo-websites.js Shared utilities for Odoo page detection and interaction

Privacy & Security

  • No data collection: The extension does not collect, transmit, or store any personal data externally
  • Local storage only: All settings and favorites are stored locally in your browser
  • Odoo-specific: Features are only activated on detected Odoo websites
  • No external requests: The extension only communicates with the current Odoo instance you're viewing
  • Open source: All code is publicly available for review on GitHub



Testimonials

"The best chrome extension you'll ever see..."
— SAJU - Odoo Client Solution Developer

"Dinguerie quand même cette extension, tu veux pas la partager au PS-Tech en Belgique?"
— MAVI - Lux PS tech coach, author of the famous "Saaaaaaalut"

"I think I am in love"
— PAL - Lux PS tech leader, 2023 Karting champion, author of the famous "Euuuuh, l'ambiance"

About

Enhances the experience of Odoo developers and Odoo.SH users by adding a variety of tools and features

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published