| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 221 |
| Technical Name |
os_code_aggregator |
| License | LGPL-3 |
| Versions | 18.0 |
OS Code Aggregator (Developer Utility)
Odoo 18 • Developer Tool • Python • ChatGPT support
Scan server-side project folders and export clean, structured code output for AI-assisted workflows (ChatGPT support).
“ChatGPT support” means the output is formatted to be easy to paste into ChatGPT/LLM tools (structured file blocks, chunking). No external API keys are required.
Key Features
- Scan a server directory and collect Python files (optional XML/QWeb)
- Remove docstrings, comments, extra whitespace
- Minify XML/QWeb by removing comments and collapsing tag whitespace
- Chunk large outputs to fit AI input limits
- Save result as an attachment for easy download
How It Works
- Open: OS Dev Tools → Code Aggregator
- Set the Root Path (server path)
- Select options (minify, remove docstrings, chunking)
- Click Generate → download the attachment
This module reads files from the Odoo server filesystem. Admin-only usage is recommended.
Screenshots
Progress window during scanning.
Execution summary after completion.
Security Notes
- Limit scanning to known safe directories (e.g., your custom_addons path).
- Avoid scanning folders that may contain secrets (.env, keys, credentials).
- Recommended access group: Settings / System Administrator.
Support
Author: Tarek Elkasaby
Please log in to comment on this module