Integração com Odoo

Como o togrant.com comunica com o Odoo.

100% API padrão do Odoo. A mesma interface XML-RPC que vem com cada instalação Odoo desde a versão 8, usada exatamente como os documentos Odoo indicam. O seu Odoo permanece como a Odoo Inc. o concebeu; togrant.com é simplesmente um cliente API bem-comportado sentado ao seu lado.

▶ Ver a sincronização completa em ação — the 3-minute walkthrough shows every read and write between togrant.com and Odoo.

O que sincroniza para o 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.

Os três planos analíticos

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.

Como escrevemos

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

O registo de sincronização

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:

Saúde da ligação

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

Compatibilidade

Odoo mais antigo? A estrutura de três planos analíticos chegou no Odoo 17. As versões anteriores usavam um único eixo analítico, o que funciona para alguns relatórios de doadores, mas não para a análise combinada por projeto + por doador. Se estiver no Odoo 16 ou anterior, recomendamos planear uma atualização antes de implementar o togrant.com — vamos falar sobre o timing.

Onde o Odoo permanece responsável

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.


Iniciar teste gratuito de 30 dias Percorra a sua configuração Odoo connosco