EDWH Odoo Plugin
An EDWH plugin for Odoo XMLRPC operations, providing advanced search functionality for projects, tasks, logs, and files.
Installation
This plugin is designed to work with the EDWH task runner system.
Install EDWH
First, install EDWH using pipx (recommended):
pipx install edwh
For more information about EDWH installation and usage, see the EDWH README.
Install this Plugin
# Install from PyPI (when published)
pipx inject edwh edwh-odoo-plugin
# Or install from source
pipx inject edwh .
# Or install with EDWH plugin manager
edwh plugin.add edwh-odoo-plugin
Verify Installation
edwh --help
# You should see 'odoo' in the available namespaces
edwh odoo --help
# Shows available odoo commands
Plugin Information
- pip name:
edwh-odoo-plugin - plugin name:
edwh[odoo](when available) - subcommand namespace:
odoo
Tools
text_search.py - Unified Search Tool
Geavanceerde zoekfunctionaliteit voor Odoo projecten, taken, logs EN bestanden.
Zoekt door:
- Project namen en beschrijvingen
- Taak namen en beschrijvingen
- Project en taak log berichten (mail.message)
- NIEUW: Bestandsnamen en metadata
- Met tijd-gebaseerde filtering om server overbelasting te voorkomen
Gebruik:
# Tekst zoeken (zoals voorheen)
python text_search.py "zoekterm" --since "1 week"
python text_search.py "bug fix" --since "2 dagen" --type tasks
# Bestanden zoeken (NIEUW!)
python text_search.py "report" --include-files --file-types pdf docx
python text_search.py "screenshot" --files-only --file-types png jpg
python text_search.py "document" --include-files --stats
# Bestanden downloaden (NIEUW!)
python text_search.py --download 12345 --download-path ./my_files/
# Gecombineerd zoeken
python text_search.py "client meeting" --include-files --since "1 maand"
Opties:
--since: Tijd referentie in Engels of Nederlands (bijv. "1 week", "3 days"/"3 dagen", "2 months"/"2 maanden")--type: Wat te doorzoeken (all, projects, tasks, logs, files)--include-files: NIEUW: Zoek ook in bestandsnamen--files-only: NIEUW: Zoek alleen in bestanden--file-types: NIEUW: Filter op bestandstypes (pdf, docx, png, etc.)--download: NIEUW: Download bestand op ID--download-path: NIEUW: Download directory--stats: NIEUW: Toon bestandsstatistieken--no-logs: Sluit log berichten uit--no-descriptions: Zoek alleen in namen, niet in beschrijvingen--limit: Beperk aantal resultaten--export: Exporteer naar CSV bestand--verbose: Toon gedetailleerde zoek informatie
search.py - File Search
Zoekt naar bestanden in projecten en onder taken, omdat die niet altijd gevonden kunnen worden via de standaard interface.
Functionaliteit:
- Zoek alle bestanden gekoppeld aan projecten en taken
- Filter op bestandstype (MIME type)
- Zoek in specifieke projecten
- Download bestanden
- Export naar CSV
- Uitgebreide statistieken
Gebruik:
from search import OdooProjectFileSearchFinal
zoeker = OdooProjectFileSearchFinal()
bestanden = zoeker.zoek_alle_project_bestanden()
zoeker.print_resultaten(bestanden)
Setup
- Installeer dependencies:
pip install openerp_proxy python-dotenv
- Maak
.envbestand aan:
ODOO_HOST=education-warehouse.odoo.com
ODOO_DATABASE=education-warehouse
ODOO_USER=username@domain.com
ODOO_PASSWORD=jouw_api_key
- Run de tools:
python text_search.py "zoekterm"
python search.py
Modules
odoo_base.py: Gedeelde functionaliteit voor Odoo connectiestext_search.py: Tekst zoeken in projecten, taken en logssearch.py: Bestand zoeken en download functionaliteit
Metadata
Release files for edwh-odoo-plugin 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| edwh_odoo_plugin-0.3.0.tar.gz | 99.0 kB | Without provenance | Details for edwh_odoo_plugin-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edwh_odoo_plugin-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for edwh_odoo_plugin-0.3.0-py3-none-any.whl |
Total release size: 190.6 kB
Release files / edwh_odoo_plugin-0.3.0.tar.gz
| Download URL | edwh_odoo_plugin-0.3.0.tar.gz |
|---|---|
| Size | 99.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90bfdf3274123376b601d25ad12cdc6b3debb5cf28ef19d717d7c7a358a14a13
|
|
BLAKE2b-256 checksum How to use checksums |
3416e28fe37ad3fa65563f1d6184e4073e0adfe1c98b00cb4ab461acf91f60b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / edwh_odoo_plugin-0.3.0-py3-none-any.whl
| Download URL | edwh_odoo_plugin-0.3.0-py3-none-any.whl |
|---|---|
| Size | 91.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e1bcee69f21dddaaf6093f322d45b3a0cc3afd7f45d86aaf274d59261eda751
|
|
BLAKE2b-256 checksum How to use checksums |
2ce5507ff2891b34b40bc0a0d4b3607443024a14f0e34cb09fb6285e0b8292e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Security for edwh-odoo-plugin 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.