😎 Tadeusz Jan Karpiński

View on GitHub

Effortlessly select and switch between Odoo databases, modules and more

⚠️ Important: Macros in Run Configurations are required to use all plugin features.

Amazing Features

Database Selector

Updates db_name in odoo.conf to the database you picked. Alternatively, use macros $BTSDatabase$ and $BTSDatabaseWithD$ directly in your Run Configuration.

Or just use two handy macros — $BTSDatabase$ and $BTSDatabaseWithD$ — right in your Run Configuration.

⚠️ Note on Refresh Behavior: After picking a database, `odoo.conf` might not visually refresh in the editor immediately. However, when you run Odoo, it will correctly use the selected database.
💡 Pro Tip:
  • Ctrl + Alt + \ - to activate.
  • Alt + Click or Alt + Enter – Copy name to clipboard.
  • Middle-Click to fold.

Module Selector

Scans your repositories and lets you pick modules to install, update, or test. Selected modules are injected into Run Configurations via macros $BTSModules$ and $BTSModulesWithU$. Simply create a new Run Configuration (e.g., Update) and use the macro to target your selection.

You can also use the $BTSAddonsPaths$ macro to define a custom addons path by adding --addons-path=$BTSAddonsPaths$ to your Run Configuration.

Navigation: Use Ctrl + Click or Ctrl + Enter within the Module Selector to jump directly to the module’s source in the File Viewer.

Filtering: For long lists, simply start typing to filter. Use the _ (underscore) prefix to search across all available modules.

Layout: If you only need the Database Selector, you can hide the Module Selector with a Middle-Click.

💡 Pro Tip:
  • Ctrl + Enter or Ctrl + Click - jump to source.
  • Ctrl + Enter or Ctrl + Click - jump to source.
  • Alt + Click or Alt + Enter – Copy name to clipboard.
  • Middle-Click to fold.
  • Right-Click Show context action.
  • Ctrl + Alt + Shift + \ - to activate.
  • _ - to search in all modules.

Test Selection

A streamlined way to target specific tests. You can select either a unit test or an entire test class, then inject it into your Run Configuration using the $BTSSelectedTest$ macro.


Context Menu

Braintec Exclusive. Right-click any module to access a suite of specialized actions. Some operations may automatically trigger the installation of required bt plugins.

Core Actions

Quality & Compliance

Odoo Testing

Translation Management

Scaffolding

Quickly generate Odoo components using bt utility scaffold:


Run Configuration Examples

Keep in mind you don’t always have to use every macro. For example, whether you need --addons-path depends on your project setup.

Install Modules

-i $BTSModules$ -d $BTSDatabase$

With addons paths:

-i $BTSModules$ -d $BTSDatabase$ --addons-path=$BTSAddonsPaths$

Update Modules

-u $BTSModules$ -d $BTSDatabase$ --i18n-overwrite

With addons paths:

-u $BTSModules$ -d $BTSDatabase$ --addons-path=$BTSAddonsPaths$ --i18n-overwrite

Test

$BTSSelectedTest$ -d $BTSDatabase$ --workers=0 --stop-after-init

With addons paths:

$BTSSelectedTest$ -d $BTSDatabase$ --addons-path=$BTSAddonsPaths$ --workers=0 --stop-after-init

Test Modules

--test-tags /$BTSModules$ -d $BTSDatabase$ --workers=0 --stop-after-init

With addons paths:

--test-tags /$BTSModules$ -d $BTSDatabase$ --addons-path=$BTSAddonsPaths$ --workers=0 --stop-after-init


Custom Integration

EXPLORE TOGETHER

"Wanna see your workflow crack a smile?"

Need this plugin to work for your team or want custom actions built for your workflow? Let’s chat.

Tadeusz Jan Karpiński 🤙😎🤙

📧 [email protected] | 🌐 odoo.fail