Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Technical
  3. Terrabit Connect - Base v 19.0
  4. Sales Conditions FAQ

Terrabit Connect - Base

by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.ro
Odoo
v 19.0 Third Party 1
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 466
Technical Name deltatech_tc
LicenseOPL-1
Websitehttps://www.terrabit.ro
  • Description
  • Manifest
  • License

Terrabit Connect - Base

Beta dhongu/deltatech

Base module for Terrabit Connect — the lightweight native agent that runs on a workstation and bridges Odoo with local hardware and services it cannot reach directly from the cloud: the ANAF token (PKCS#11 / mTLS to SPV), fiscal printers (Datecs), label printers (Zebra ZPL) and declaration validation (DUKIntegrator).

This module is the generic foundation every Terrabit Connect feature builds on. It does not, by itself, talk to any device — it provides the connection layer and the job protocol.

What it gives you

  • Station registry (deltatech.tc.station) — one record per workstation running Terrabit Connect, each with a unique API key, a last-seen timestamp and reported metadata (TC version, operating system, enabled features).
  • Outbound job queue (deltatech.tc.job) — Odoo enqueues pending jobs; the station claims them, executes them locally, and reports back the result (done / error).
  • REST endpoints authenticated with the X-Station-Key header: /tc/heartbeat, /tc/poll, /tc/result, /tc/config/<id>.

Cloud model — no inbound ports. The station always initiates the connection to Odoo; Odoo never connects back to the workstation. The same agent works with on-premise and cloud deployments without opening any port on the client side.

Extensible. Feature modules add their own job types (selection_add on job_type) and turn the station's result into business records by overriding the _process_result hook — keeping the registry, queue and transport in one place.

Table of contents

  • Configuration
    • Security groups
    • Station registration
    • Station configuration file (station.conf)
    • Tuning poll and heartbeat cadence
  • Usage
    • Registering a station
    • Verifying connectivity
    • Monitoring jobs
    • Rotating the API key
    • Adding feature modules
  • Bug Tracker
  • Credits
    • Authors
    • Maintainers

Configuration

Security groups

Assign users to the appropriate group under Settings → Users & Companies → Users (field Terrabit Connect):

Group Access
User Can view stations and jobs (read-only)
Manager Full access: create/edit stations, download config, regenerate keys, view job details

The administrator (base.user_admin) is a Manager by default.

Only Managers can access the Settings → Terrabit Connect menus and download station.conf files (the endpoint /tc/config/<id> checks the Manager group).

Station registration

Each physical workstation that runs Terrabit Connect needs one station record in Odoo:

  1. Go to Settings → Terrabit Connect → Stations → New.
  2. Set Name (identifies the workstation in job logs and notifications).
  3. Set Company (defaults to the user's company; used for multi-company job routing).
  4. Save to generate the API Key automatically.

The API key is the credential the agent uses in the X-Station-Key HTTP header. It is displayed masked in the form and visible only to system administrators.

Station configuration file (station.conf)

After registering a station, click Download config on the station form. The downloaded file contains two environment variables consumed by Terrabit Connect:

Variable Description
TERRABIT_ODOO_BASE Base URL of the Odoo instance (e.g. https://yourcompany.odoo.com)
TERRABIT_STATION_KEY The station's API key — treat it as a secret

Place station.conf on the workstation and restart Terrabit Connect. No other network configuration is required: the agent initiates all connections outbound to Odoo (no inbound port needs to be opened on the client side).

Tuning poll and heartbeat cadence

The following environment variables can be set on the workstation side to tune timing (Terrabit Connect reads them at startup):

Variable Default Effect
TERRABIT_POLL_SEC 30 Seconds between /tc/poll calls
TERRABIT_HEARTBEAT_SEC 300 Seconds between automatic heartbeats

The server applies a 60-second throttle on last_seen writes to reduce database load when many stations are polling frequently; online detection remains accurate within the throttle window.

Usage

Registering a station

  1. Go to Settings → Terrabit Connect → Stations.

  2. Click New and give the station a descriptive name (e.g. Accounting PC).

  3. Select the company the station belongs to (multi-company installations).

  4. Save. An API Key is generated automatically and is visible to administrators only (shown masked in the form).

  5. Click Download config (download icon in the header) — Odoo serves a pre-filled station.conf file containing:

    TERRABIT_ODOO_BASE=<your Odoo URL>
    TERRABIT_STATION_KEY=<the generated key>
    
  6. Copy station.conf to the workstation running Terrabit Connect and (re)start the agent. It will authenticate with the X-Station-Key header on every call.

Verifying connectivity

Once Terrabit Connect is running with the downloaded config:

  1. Open the station form (Settings → Terrabit Connect → Stations, click the station).
  2. The Last seen field updates within the next poll cycle (≤ 30 s by default).
  3. Click Ping in the header to enqueue a round-trip test job. The job appears in the Jobs smart button and should reach state Done within seconds.
  4. Terrabit Connect managers also receive a browser notification when the agent sends a manual heartbeat.

Monitoring jobs

Navigate to Settings → Terrabit Connect → Jobs to see all jobs across all stations. You can filter by state (Pending, Done, Error) or group by station or job type.

The job list uses colour coding:

  • Green row — Done
  • Red row — Error (open the form to read the error detail)
  • Muted row — Claimed (the station picked it up; result not yet reported)

Rotating the API key

If a station key is compromised:

  1. Open the station form.
  2. Click Regenerate key and confirm the prompt.
  3. Download the updated station.conf and deploy it to the workstation. Terrabit Connect will fail to authenticate until it is reconfigured with the new key.

Adding feature modules

This base module does not talk to any device by itself. Install the relevant Terrabit Connect feature module (e.g. ANAF messages, fiscal printer, Zebra labels, DUKIntegrator) to activate additional job types. They appear automatically in the Type column of the job list once the feature module is installed.

Bug Tracker

Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Terrabit
  • Dorin Hongu

Maintainers

Current maintainer:

dhongu

This module is part of the dhongu/deltatech project on GitHub.

You are welcome to contribute.

Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 466
Technical Name deltatech_tc
LicenseOPL-1
Websitehttps://www.terrabit.ro
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with