Skip to main content

odoo-pulse

CI PyPI License: MIT

An AI business analyst for your Odoo ERP. Ask one question, get one answer — numbers, highlights, risks, and a verdict (on-track / at-risk / off-track) — over the Model Context Protocol. CRUD bridges to Odoo already exist; this is the analytics layer that sits on top.

business_pulse — a one-call company briefing

The analyst tools

Each tool answers a whole management question in a single call, returning a structured report with a verdict — not a raw dump you have to interpret.

Tool Answers
business_pulse The morning briefing: yesterday's sales, new leads, overdue invoices, late tasks, who's off — with a company-wide verdict
pipeline_review CRM funnel by stage, stalled deals, weighted revenue, recent win rate
sales_snapshot Revenue this period vs last (Δ%), top customers/products, stale quotations
receivables_health AR/AP aging buckets, % overdue, top debtors
inventory_risk Shortages (negative forecast) and dead stock
absence_overview Who's off this week, pending approvals, thin-coverage departments
procurement_watch Purchasing: late receipts, stale RFQs, open spend per vendor
production_health Manufacturing: orders behind their planned start, stuck WIP
sprint_health · team_workload · project_status_report · standup_digest Project delivery: sprint completion, overloaded members, at-risk projects, and a daily stand-up digest

Every money-reporting tool (except inventory_risk) takes an optional company= filter and flags mixed-currency totals instead of silently summing them; verdict cut-offs (stalled %, overdue %, growth %) are parameters, so you can calibrate them to your business.

Timezone semantics

All report tools take timezone_offset (default 7). Odoo stores datetime fields in UTC; the tools shift them by timezone_offset hours before bucketing by calendar day, and day windows in domains are expressed as UTC datetime boundaries. Date-only fields (e.g. project.milestone.deadline, invoice_date_due, project.task.date_deadline) are compared as-is.

Custom sprint_id field

sprint_health, and the sprint_id filter on team_workload / standup_digest, require a custom sprint_id many2one on project.task (not standard Odoo) and return a clear error when it is absent. list_tasks includes the column only when the instance has it. Version-dependent fields degrade the same way: find_partner searches mobile only on instances that still have it (removed in Odoo 19), and list_timesheets reports an actionable error when hr_timesheet is not installed.

Under the hood it's the standard Odoo XML-RPC external API — nothing to install inside Odoo, works on Odoo Online, Odoo.sh, and on-premise. Requires Odoo 18+: the generic tools (search_read, read_records, …) still run on older versions, but the report tools are not guaranteed there.

Try it in 5 minutes

No Odoo account? Boot a demo Odoo pre-seeded with a story to tell (a stalled deal, a 90-day-overdue invoice, a stock shortage, someone off today):

docker compose -f docker-compose.playground.yml up -d

Then point Claude at it and ask it to run business_pulse. Full walkthrough: docs/playground.md.

Install & connect

Add it to Claude Code (no install step — uvx fetches it):

claude mcp add odoo-pulse \
  --env ODOO_URL=https://acme.odoo.com \
  --env ODOO_DB=acme \
  --env ODOO_USERNAME=you@example.com \
  --env ODOO_API_KEY=your-api-key \
  --env ODOO_READ_ONLY=true \
  -- uvx odoo-pulse

Generate the API key in Odoo under Settings → Users → (your user) → Account Security → New API Key. Config for Claude Desktop and Cursor, plus pip and Docker alternatives: docs/install.md.

Or one-click:

Install in Cursor Install in VS Code

Read-only by default, safe writes when you want them

The server is read-only out of the box. Writes require four independent controls to line up (ODOO_READ_ONLY=false, a model allow-list, a delete flag, and a per-call confirm=true after a dry-run preview); system models are never writable. Details: docs/tools.md#write-operations.

More tools

Beyond the analyst reports, there are ~60 model-aware query tools spanning CRM, Sales, Inventory, Accounting, HR, Project, Manufacturing, PoS, and Enterprise apps — opt in via ODOO_TOOL_GROUPS. Full catalogue and configuration: docs/tools.md.

Testing

The suite mocks the XML-RPC layer, so no real Odoo or network is needed:

pip install -e ".[dev]"
pytest

For a live check against a real Odoo (read-only), see docs/tools.md#live-smoke-test-against-a-real-odoo.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoo_pulse-1.2.1.tar.gz (215.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odoo_pulse-1.2.1-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

Details for the file odoo_pulse-1.2.1.tar.gz.

File metadata

  • Download URL: odoo_pulse-1.2.1.tar.gz
  • Upload date:
  • Size: 215.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for odoo_pulse-1.2.1.tar.gz
Algorithm Hash digest
SHA256 4f114abbc6a6c23747f56d267af4a5a51c40c74b3c906ddb48e2a1b7a834510e
MD5 9228e96cd719d877b6281c300be61231
BLAKE2b-256 899719e82e256292a2e9b55d1b4e015d95100d78f7ffd3ed50e327c57645c573

See more details on using hashes here.

Provenance

The following attestation bundles were made for odoo_pulse-1.2.1.tar.gz:

Publisher: release.yml on minhhq-a1/odoo-pulse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file odoo_pulse-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: odoo_pulse-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 54.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for odoo_pulse-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17c54382b6e6c705e78266a75875899f435fc2e43aa2c4a652d86439471c626a
MD5 627035a8d7c587f9da8d09129a824808
BLAKE2b-256 9f5f33471752ecd61319f1919e10b028e6523ba1c9a11193475aab94169a8831

See more details on using hashes here.

Provenance

The following attestation bundles were made for odoo_pulse-1.2.1-py3-none-any.whl:

Publisher: release.yml on minhhq-a1/odoo-pulse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page