OdooTerminal

作者 Tardo已验证

Webextension tool for Odoo

149
Stars
36
Forks
JavaScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Tardo/OdooTerminal

快速入门

使用 OdooTerminal 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Mozilla Add-on Mozilla Add-on    Chrome Add-on Chrome Add-on    Edge Add-on

OdooTerminal - WebExtension

Tests

The BFG10k for Odoo developers

All the power of Odoo json-rpc in a really easy way!

This web extension adds a terminal-like to control Odoo (11 to 19). All implemented commands use the tools provided by the Odoo framework. An unwavering policy when developing this extension is to not modify or alter in any way the Odoo classes. This sometimes results in certain commands having reduced/increased capabilities depending on the Odoo version.

The terminal is fully initialized when it is first opened after loading the page. The time overhead for using this extension is ~24ms.

Downloads


Usage

When you visit an Odoo website, the browser action icon of the extension switches to the enabled state, indicating that the extension is ready to use on the current page.

Some commands are not available on the frontend. Use the help command to see what is available in the current context.

The terminal also includes an AI mode (autonomous agent) accessible via the AI button in the terminal toolbar.

You can toggle terminal using one of these options:

  • Press CTRL + , (by default)
  • Use extension browser action icon

Example Commands

DescriptionTerminal Command
Create 'res.partner' recordcreate -m res.partner -v {name: 'Hipcut', street: 'Mystery street'}
Search 'res.partner' recordssearch -m res.partner -f name,email -d [['id', '>', 5]]
Search all fields of selected 'res.partner' recordssearch -m res.partner -f * -d [['id', '>', 5]]
Read all fields of selected 'res.partner' recordread -m res.partner -i 5 -f *
Read all fields of various 'res.partner' recordsread -m res.partner -i 5,15,8 -f *
View 'res.partner' records (only backend)view -m res.partner
View selected 'res.partner' record (only backend)view -m res.partner -i 4
Install moduleinstall -m mymodule
Create aliasalias -n myalias -c "print 'My name is: $1'"

A list is a string of values separated by commas, e.g. "5, 15, 8" (quotes included), or the array notation [5, 15, 8].

Commands can be called without named arguments, e.g.: create res.partner {name: 'Hipcut', street: 'Mystery street'}. Positional arguments fill values in the order they are defined. Mixing positional and named arguments is supported as long as the declaration order is respected.

Notes

  • The extension includes a Preferences page where you can add commands to run on every session. This is useful for loading remote scripts or declaring custom aliases.
  • The extension uses an internal terminal context that extends the user context. By default it sets active_test = false (see issue #14 for details). This context only affects terminal operations.
  • The screen buffer is capped at 750 lines. Queries returning more than 749 records will be truncated. This limit exists to prevent excessive DOM node accumulation when rendering output as HTML.
  • Keyboard shortcuts can be remapped at chrome://extensions/shortcuts.

Advance Usage

+ HELPERS

The following are available:

NameDescription
$$RMODReturns the active model name
$$RIDReturns the active record id
$$UIDReturns the active user id
$$UNAMEReturns the active user login

Examples:

  • search $$RMOD
  • write $$RMOD $$RID {name: 'The new name'}

+ Recordsets

search, read and create commands returns recordsets. Can use them to write values with commit command.

Example:

$rs = (search res.partner)
$rs[4]['name'] = 'The Name'
$rs[2]['name'] = 'Other Name'
commit $rs

$record = (read res.partner 8)
$record['name'] = 'Willy Wonka'
$record['city'] = 'O Courel'
commit $record

$new_rec = (create res.partner {name: 'The test'})
print $new_rec

+ Nested Calls

You can execute "commands" to use the result in a new command call. The syntax of 'nested calls' looks like (command).

For example: read -m res.users -i (search -m res.users -f id)[0]['id'] or read -m res.users -i (search -m res.users -f id)['ids']

+ Loops

Massive operations are possible using for loops. Print to screen is a expensive task, consider use the keyword silent to increase the performance.

Examples:

  • Create 5000 res.partner:{ for ($i = 0; $i < 5000; $i += 1) { silent create -m res.partner -v {name: (gen str 12 8) + ' (Test)'} }
  • Cancel all sale.order: $orders = (search sale.order); for ($i = 0; $i < $orders['length']; $i += 1) { silent call sale.order action_cancel [$orders[$i]['id']] }

+ Send files

Can use the command 'genfile' to create a file object that can be sent via post.

Example:

  • post '/web/binary/upload_attachment' -d {callback: '', model: 'res.partner', id: 1, ufile: (genfile)}

+ Websockets

Can open websocket connections (Odoo 16.0+).

Example:

  • $webs = (ws -o open -e /websocket)
    ws -o send -wo $webs -d "hello"
    

+ Math operations

Examples:

  • Print 3*2 result: print 3 * 2
  • Modify the lst_price of the 3,product.product: $prod = (read product.product 3 -f lst_price); $prod['lst_price'] = 5 * $prod['lst_price']; commit $prod;

+ If, Elif, Else

Example:

  • if ((gen int 0 8) > 2) { print 'Yussef Dayes & Alfa Mist - Blacked Out' } else { print 'Vincenzo Salvia & PJ D\'Atri - The Elemental Dive' }
  • $num = (gen int 0 8); if ($num > 2) { print 'Yes! ' + $num + ' > 2' } else { print 'No... ' + $num + ' <= 2' }
  • $num = (gen int 0 8); if ($num > 4) { print 'Yes! ' + $num + ' > 4' } elif ($num > 2) { print 'Yes! ' + $num + ' > 2' } else { print 'No... ' + $num + ' <= 2' }

+ Functions

Example:

  • function myfun(user_name) { print "Hello, " + $user_name }; myfun 'world!'
  • $myfun = function (user_name) { print "Hello, " + $user_name }; $$myfun 'world!'

Extension Permissions

PermissionDescriptionReason
activeTabEnables support to get information about browser tabsUsed to detect Odoo pages
storageEnables support to manage stored data in the browserUsed for preferences

More Resources


License

Copyright Alexandre Díaz & contributors

AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

This project is not affiliated with, endorsed by, or sponsored by Odoo S.A. Odoo is a trademark of Odoo S.A.

常见问题

What is OdooTerminal?

OdooTerminal is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Tardo. Webextension tool for Odoo. It has 149 GitHub stars.

Is OdooTerminal safe to use?

Yes. OdooTerminal passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install OdooTerminal?

Clone the repository with "git clone https://github.com/Tardo/OdooTerminal" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is OdooTerminal written in?

OdooTerminal is primarily written in JavaScript. It is open-source under Tardo on GitHub, so you can review or fork the full source.

Are there alternatives to OdooTerminal?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh OdooTerminal against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情