IAP Services for Odoo Online
by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.roIAP Services for Odoo Online
Terrabit services for data-only modules, importable as a zip
The base of the Terrabit services for Odoo Online: data-only modules (no Python, imported as a zip) send their requests to a Terrabit server, which does the heavy work and writes the answer back in your database. This module holds what all those services share; each service module adds only its own fields, buttons and the way it writes the answer.
- One account per serviceSettings > Terrabit Credits > Services and Credits lists the services installed, with their credits left (also in developer mode, under Settings > Technical > Terrabit Services).
- Activation in one clickthe Activate button registers the database at the Terrabit server; the account token comes back by itself, with the trial credits of the service. Nothing to copy or paste.
- Buy and check creditsBuy Credits opens the credit page of your account on the Terrabit server; Refresh Credits asks the credits left, which are also updated with every answer.
- Credit usageSettings > Terrabit Credits > Credit Usage lists each charged answer with the credits used and the credits left after it, with a total, a graph and a pivot by service and month; the Credit Usage button of a service opens its own. The Terrabit server sends the cost with each answer; requests answered before this version have no cost.
- Requests you can followTerrabit Services > Requests shows each request, its status and the error, if any. A request without answer after 10 minutes is sent once more.
- Safe answersthe answer comes on an On webhook automation whose secret URL accepts only a request still waiting, identified by its token.
- Secrets kept for administratorsthe account token and the callback URL are read by administrators only; other users can create requests of the services, not read them, and only administrators can activate a service. A service module gives its users read access to the service when its buttons need the token.
- What leaves your databasethe input of the request, its token, the address and the UUID of your database (for the answer) and, at activation, the name and the Tax ID of the company.
For developers: a service module creates an x_iap_online_service record (x_code, x_server) and,
optionally, an apply server action (x_apply_action_id) that receives the answer in the context
key iap_answer; its documents create x_iap_online_request records with x_kind = 'request'.
A record created with x_state = 'done' is not sent: it records a charge the server reported
otherwise (x_cost, x_balance_after), shown in Credit Usage.
The screens of this module are for administrators, in Settings > Terrabit Credits, without the
developer mode. Install it together with a Terrabit service module (e.g.
l10n_ro_anaf_partner_online), which creates the service record.
- Open the menu: in Settings, the Terrabit Credits menu (1) has two entries (2): Services and Credits and Credit Usage. In developer mode, the same services and the full list of requests are also under Settings > Technical > Terrabit Services.
- Check the service: Terrabit Credits > Services and Credits lists one line per installed service, with its Service Code and Credits Left.
- Activate the service: open it and click Activate, the only button of a service not yet
active. The database is registered at the Terrabit server and an activation request (
register) appears in Requests; a few seconds later the account token comes back by itself, with the trial credits. Nothing to copy or paste.
- Use the active service: right after the click, the header shows Activate Again, Refresh Credits and Buy Credits. Check in Requests that the activation is Done before using them; if it is in error, click Activate Again. The Credit Usage button, at the top, opens the credit usage of the service (step 11).
- Refresh the credits: Refresh Credits asks the server for the credits left; a notification confirms the request and Credits Left is updated in a few seconds. The credits are also updated with every answer of the service.
- Buy credits: Buy Credits opens, in a new browser tab, the credit page of your account on the Terrabit server. After the purchase, click Refresh Credits.
- Follow the requests: in developer mode, Settings > Technical > Terrabit Services > Requests lists all the requests, newest first, with their Request Type, Status, Error and Credits Used. Requests in error are red, requests still waiting are blue; the Errors and Waiting filters narrow the list. A request without answer 10 minutes after its creation is sent once more, automatically.
- Read a request in error: open it to see the service, the input, the document it was sent from (Document Model, Document ID), the Status, the Error, Credits Used and Credits Left After. A request refused by the server uses no credits. Fix the data on that document and send the request again from the service module.
- Check the credit usage: Settings > Terrabit Credits > Credit Usage lists, with the Charged filter set by default (1), each answer the server charged, with its Credits Used and the total at the bottom of the column (2); 1 credit = 1 EUR. Activations, credit refreshes and refused requests cost nothing and are not listed. Filter by Date or Service, or group by Service or Month; the optional Credits Left After column shows the credits left after each answer. The server sends the cost with each answer: requests answered before version 19.0.1.1.0 have no cost.
-
See the usage by month: switch to the Graph or Pivot view (top right). The graph shows the credits used per month, one color per service; the pivot has the months in rows, the services in columns and the totals.
10 Credit Usage graph with the Charged filter: bars for September, October and November 2026 for the TEST ANAF Partner Data service, with 0.08, 0.14 and 0.12 credits
11 Credit Usage pivot with the Charged filter: September, October and November 2026 in rows, the TEST ANAF Partner Data service in column, with Credits Used 0.08, 0.14, 0.12 and the total 0.34 -
Credit usage of one service: on the service form, the Credit Usage button opens the same list with the Service and Charged filters, with the total, the graph and the pivot.
12 Form of the TEST ANAF Partner Data service with the Credit Usage button at the top highlighted
Only administrators see the Terrabit Credits menu and read the services (account token) and the requests (callback URL); other users create requests from the buttons of the service modules, without reading them.
19.0.1.2.1 (2026-11-16)
- Empty
__init__.pyrestored: the OCA tools (manifestoo, oca-checks-odoo-module) do not recognize a module without it, so the CI of the suites that depend on this module failed. The module still has no Python code and still imports on Odoo Online. - Explicit Odoo Online marker:
"online": trueinstatic/description/banner.json(the banner no longer infers it from the missing.pyfiles).
19.0.1.2.0
- A request created with a status (Done) is not sent to the server: a service module records with it
a charge the server reported otherwise (e.g. the ANAF authorization of
l10n_ro_anaf_token_online), so it shows in Credit Usage.
19.0.1.1.0
- Credit Usage: each request keeps the credits it used and the credits left after it, as the Terrabit server answers them; a list, a graph and a pivot by service and month, with a total.
- Settings > Terrabit Credits: the services with their credits left and the credit usage, for the administrator, without the developer mode.
- Credit Usage button on the service form.
19.0.1.0.2
- Apps Store banner: the "IAP" label shows that the module works with IAP credits.
19.0.1.0.1
- Credits Left shows 3 decimals: 1 credit = 1 EUR and an answer may cost 0.001 credits (one AWB), which showed as 0.00.
19.0.1.0.0
- First version: services and requests, activation by callback, credits (refresh, buy), retry of a request without answer.
- Consultant sheet (
readme/FISA_CONSULTANT.md),readme/USAGE.mdand screenshots (RO, EN).
Need help getting started?
Our 800+ apps on the Odoo Apps Store are used in Odoo implementations across Europe, the Americas, Asia and Africa — by companies we have never even met. That is the advantage of building modules that simply work.
Questions about this module? Write to us — the developers who build it will answer.
More apps by Terrabit
Other modules from the same publisher, built to work together. All apps →
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 111 |
| Technical Name |
deltatech_iap_online |
| License | LGPL-3 |
| Website | https://www.terrabit.ro |
Please log in to comment on this module