This module extends the Odoo 14 Ace code editor widget (FieldCode) by adding a “Fetch from GitHub” button directly below the editor area.
Clicking the button opens a dialog where the user can enter:
A GitHub file URL (web URL or raw URL)
An optional GitHub Personal Access Token (for private repositories)
The content is fetched via a backend Python proxy controller (to avoid CORS issues) and injected directly into the active Ace editor.
Features
Built with Odoo legacy JavaScript framework (no OWL)
Backend proxy controller to avoid browser CORS restrictions
Supports GitHub web URLs (/blob/) and raw URLs (raw.githubusercontent.com)
Token-based authentication for private repositories
Error/success notifications using native Odoo notification system
Usage
Open any form with an Ace code widget (e.g., Automated Actions, Server Actions)
Enter edit mode
Click “Fetch from GitHub” below the editor
Enter the GitHub file URL and optionally a Personal Access Token
Click “Fetch & Apply”
Security
The backend controller only allows requests to github.com, raw.githubusercontent.com, and api.github.com to prevent SSRF attacks. Authentication requires a logged-in Odoo user (auth="user").
Metadata
Release files for odoo14-addon-ssi-web-widget-ace-git 14.0.1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo14_addon_ssi_web_widget_ace_git-14.0.1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo14_addon_ssi_web_widget_ace_git-14.0.1.1.0-py3-none-any.whl
| Download URL | odoo14_addon_ssi_web_widget_ace_git-14.0.1.1.0-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
676e2a6b2f4833424568f8754c22ac4fb3c53ad3331906b530621c3833edd5fc
|
|
BLAKE2b-256 checksum How to use checksums |
a9024b143a9388541f0196b5e140d7d2c7ea591a00348492d00e0145f45cc6c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|