Developer ToolsFree templatePDF, Excel, Word exportOdoo

Self-Hosted Odoo Private AI Layer Blueprint Generator

This free generator drafts a private AI architecture plan for self-hosted Odoo. It builds on the external API and record rules, adds attachment retrieval and a local model, and exports a shareable PDF or Word document.

Fill in

Live preview
Download:

Self-Hosted Odoo Private AI Layer Blueprint Generator

Private AI Layer Architecture Plan: Self-Hosted Odoo

Company: Northfield Machining Ltd System and version: Self-Hosted Odoo, Odoo 17 Database: PostgreSQL 15 Hosting: On-prem server Named users: 80 Sites or plants: 2 GPU: 1-2 x 48 GB class GPUs Target go-live: 2027-04-30

Context and objectives

Northfield Machining Ltd wants an AI assistant over its Self-Hosted Odoo data and documents that runs inside its own environment (On-prem server). The assistant must answer questions in natural language, show the data behind each answer, respect existing user permissions and remain read-only until approvals are in place.

Main use cases: Manufacturing order status and component shortages. Sales order and delivery questions. Search of vendor documents attached to purchase orders.

Data boundaries

The following data must never leave the site and must stay out of any external service: Customer pricelists. Employee and payroll data. Controlled drawings.

All processing, indexing and model inference run on infrastructure controlled by Northfield Machining Ltd.

Components

LayerDesignNotes for Northfield Machining Ltd
Data access pathExternal API (XML-RPC, JSON-RPC or the newer JSON API in recent versions) called as the signed-in user so access rights and record rules apply; optional PostgreSQL replica for aggregates onlyCheck which endpoints Odoo 17 supports
Retrieval indexVector index of ir.attachment files and knowledge articles tagged with res_model and res_id; read access to the parent record checked before useFilestore location needed from IT
Model servingOpen-weight model on vLLM or Ollama sized to 1-2 x 48 GB class GPUsIsolated host when hosting is On-prem server
Tool serverTyped read tools wrapping search_read calls with fixed fields and limitsTools respect pagination on large tables
Identity and permissionsPer-user API keys; multi-company context passed on every call; no shared admin keyDirect SQL never used for per-user answers
AuditAppend-only log of question, user, model, domain filter and result countReviewed in the pilot

Security controls

ControlImplementationDriven by
Network isolationModel, index and tool server in a dedicated zone with no outbound internet routeHosting: On-prem server
Data minimisationOnly approved views and document sets are exposed; excluded data is never indexedData that must never leave the site
Least privilegeRead-only service identity; per-user filtering of tool calls80 named users
Model governanceOpen-weight model pinned by version, weights checksummed, updates via change controlGPU: 1-2 x 48 GB class GPUs
Audit and retentionAppend-only log of questions, tools, sources and users with an agreed retention periodInternal audit and compliance
Write-back controlNo writes in phases 1 and 2; later writes only through supported APIs with named approversRisk appetite of Northfield Machining Ltd

Rollout plan

PhaseScopeExit criteria
1. Read-only questionsApproved views and documents for a pilot group; answers show their sourcesAccuracy sampled by owners; no permission leaks in review; log reviewed weekly
2. DraftsAssistant drafts emails, summaries and suggested changes for a person to copyUsers edit less over time; no unreviewed output leaves the system
3. Approved actionsSelected actions executed through supported APIs after human approvalApprover named per action; rollback tested; go-live target 2027-04-30

Open questions for IT

1. How fresh must answers be: real time, minutes or daily? 2. Which companies, databases or libraries are in scope across 2 site(s)? 3. Who owns document permissions and how are they mapped to Self-Hosted Odoo roles? 4. Which customisations or custom tables must be exposed? 5. What is the backup, monitoring and patching plan for the GPU host? 6. Who approves any write-back and through which supported interface? 7. Is a pilot group of 10 to 20 users available for phase 1?

Approvals

Prepared by / Date
IT lead / Date
Security / compliance / Date
Business sponsor / Date

Starting-point document, not a final design. Confirm table names, interfaces and security behaviour for your exact release with your vendor or implementation partner. Nothing you enter leaves your browser.

Optional Odoo architecture review

We can review the plan against your Odoo version, modules and security rules.

Optional. The tool and every export work without this. No spam.

How to use the blueprint

Choose your Odoo version, PostgreSQL version and hosting, then list the questions people ask about manufacturing, sales, stock and purchasing. Note any custom modules and the data that must not leave your servers. The plan describes how an assistant authenticates as each user, reads through the ORM, retrieves attachments and calls a local model, with a three-phase rollout.

What Odoo specifics it assumes

The plan assumes a self-hosted Odoo, because Odoo Online and Odoo.sh are cloud hosted. It relies on the ORM to enforce ir.model.access groups and ir.rule record rules, and on per-user API keys. A PostgreSQL replica is optional and limited to aggregates, because direct SQL bypasses record rules. API endpoints differ by version, so the plan asks IT to confirm which ones apply.

Reading the output and common mistakes

Use the open questions to confirm multi-company behaviour, custom models and filestore access. Typical mistakes are sharing one administrator key, using SQL for per-user answers, unbounded search_read calls and indexing attachments without checking parent access. Tailor the tool list to the apps you actually run.

Frequently Asked Questions

Does this work with Odoo Community?

Yes. The external API exists in Community and Enterprise when self-hosted. The plan lists tools by app, so include only the modules you run.

Why per-user API keys?

Calls made with a person's key run through Odoo's ORM as that person, so access rights and record rules apply automatically. A shared admin key would let the assistant show data users cannot normally see.

Does it work on Odoo.sh?

The plan targets self-hosted installs. Odoo.sh and Odoo Online are hosted by the vendor or a cloud provider, so a fully on-prem model and index are not the same pattern.

Is Odoo's own AI enough?

It might be, depending on version and data policy. This plan is for teams that need data to stay on their servers or want one assistant across Odoo and other sources.

If you want help adapting this plan to your Odoo modules and customisations, Netray can review it with you. The tool works without us.

Keep exploring

Free tools

ERP fixes and how-tos

AI on your ERP

Integrations

Software