Intégration Odoo

Comment togrant.com communique avec Odoo.

100 % API Odoo standard. La même interface XML-RPC livrée avec chaque installation Odoo depuis la version 8, utilisée exactement comme la documentation Odoo le préconise. Votre Odoo reste tel qu'Odoo Inc. l'a conçu ; togrant.com est simplement un client API bien comporté installé à côté.

▶ Voir la synchronisation complète en action — the 3-minute walkthrough shows every read and write between togrant.com and Odoo.

Ce qui se synchronise dans Odoo

togrant.com writes into three standard Odoo models — the ones already designed for project work and analytic accounting. Everything else in your Odoo keeps doing what it was doing.

We never write to res.partner, account.move, account.move.line, or anything in the chart of accounts. That's finance's territory.

Les trois plans analytiques

Odoo 17 introduced multi-plan analytic accounting, and that's the mechanism togrant.com leans on. Each plan slices analytic lines by a different axis; combined, they give you per-project + per-donor + per-line-item drill-down.

PlanAxisExample accounts
Plan 1 — Project Which togrant.com project PRJ-001 Civic Voices Uganda
PRJ-002 Civic Voices Burundi
Plan 2 — Donor budget line Which donor category HR
TRV
EQP
IND
Plan 3 — Donor budget detail Which specific budget line 1.1.1.a Project Director
2.1 International flights

A single bill in Odoo can be tagged with one analytic account from each plan. Sum across one axis to get per-project actuals; sum across another to get per-donor-line actuals. Same data, different views.

Comment nous écrivons

Every write goes through an idempotency key shaped like tenant_id:entity_type:entity_id:operation. Before any mutation, we check whether the operation has already succeeded. If it has, we skip and reuse the existing Odoo ID. This means:

my.togrant.com/admin/tenants/acme/odoo
Sync log with idempotency keys, timestamps and per-call response status

Le journal de synchronisation

Every call writes a sync_log row: timestamp, tenant, entity, operation, idempotency key, HTTP status, response size, latency, error message (if any). Read the sync log chapter in the manual for a tour of the columns + how to read a failed sync. The log is:

Santé de la connexion

A 5-minute cron pings each tenant's Odoo with a no-op call and records the result. The admin dashboard shows a green / amber / red pill per tenant. Integration health is its own manual chapter with what each state means and the steps to recover. Red for more than 15 minutes triggers an alert to the support team — usually before the customer notices.

Laptop screen showing financial analytics and time-series graphs

Compatibilité

Odoo plus ancien ? La structure analytique à trois plans est arrivée dans Odoo 17. Les versions antérieures utilisaient un seul axe analytique, ce qui fonctionne pour certains rapports bailleurs mais pas pour l'analyse croisée par projet + par bailleur. Si vous êtes sur Odoo 16 ou antérieur, nous recommandons de planifier une mise à niveau avant de déployer togrant.com — parlons du calendrier.

Ce qui reste sous la responsabilité d'Odoo

Some parts of your Odoo are the parts your finance team built their workflow around. togrant.com respects those boundaries so the people doing the books keep doing what they were doing:

Clean boundaries mean an Odoo upgrade rarely needs anything from us, and a togrant.com release rarely needs anything from your finance team.


Démarrer l'essai gratuit 30 jours Parcourir votre configuration Odoo avec nous