Odoo Alfresco integration

Alfresco Connector

The files of your Odoo records, kept in Alfresco folders with their version history

What it does

Alfresco REST API v1 - Folder per record - Attachments to Alfresco - New versions - Browse, link, download

When Alfresco is your company repository, files attached in Odoo end up in two places or, worse, only in Odoo. This connector gives every Odoo record its own Alfresco folder, built from a pattern you choose, for example Invoices/2026/INV-2026-00010 or Customers/Maple Street Bakery. Attachments go there by button, from the Action menu or on a schedule. When an attachment changes in Odoo, Alfresco gets a new version of the same file instead of a copy. From the record you can open its folder, look at the version history, download an older version, or link a file that already lives elsewhere in Alfresco.

Who it is for

  • Organisations that already keep records in Alfresco Content Services. Policy says signed contracts, invoices and order papers live in Alfresco, not in the Odoo filestore. Folder rules send a record's attachments to a path such as Invoices/{year}/{name}, and missing folders are created one level at a time.
  • Finance and purchasing teams that revise documents. When an attachment changes in Odoo, the next upload adds it as a new Alfresco version, minor or major, with a comment. The old versions stay in Alfresco's version history and can be downloaded back as attachments.
  • Staff who need a file from the repository while working in Odoo. Browse Alfresco opens the record's folder with its sub folders, files, versions and sizes. A file can be linked to the record or downloaded into Odoo, and the browser never goes above the connection's start folder.
  • IT admins wiring several Odoo models to the archive. Invoices, sales orders, purchase orders and contacts get Alfresco buttons on the form. For any other model, a folder rule with Add to Action menu creates Upload to Alfresco and Browse Alfresco entries.

Features

Sign-inAlfresco ticket (one sign-in, then the ticket) or HTTP Basic, with one service user you create in Alfresco
Start folderCompany Home (-root-), Shared, the user home or any node id, with an Odoo folder under it
Folder rulesper Odoo model, with a domain and a path pattern using {model}, {name}, {id} and {year}
Folders made for youmissing folders are created one level at a time; names are cleaned of characters Alfresco refuses
Upload attachmentsby button, Action menu entry or every 15 minutes; filter by file type
Versionsa changed attachment becomes a new minor or major Alfresco version with a comment; unchanged files are skipped
Browse from the recordits folder with name, version, type, size and date; move up and into folders
Version historylist the versions of a file and download any of them as an attachment
Linkattach a reference to an Alfresco file without copying it into Odoo
Kept inside the start folderOdoo users can browse, link and download only below the start folder of the connection
Logevery upload, new version, link and download with who did it

Setting it up

  1. In Alfresco, create a service user with write rights on the folder Odoo should use.
  2. In Odoo go to Alfresco > Configuration > Connections, enter the https Alfresco address without /alfresco/api, the user and password, and pick Ticket or HTTP Basic sign-in.
  3. Set the Start folder (-root-, -shared-, -my- or a node id) and the Odoo folder name under it, then press Test connection.
  4. Under Alfresco > Configuration > Folder rules, add a rule per Odoo model with a domain, the Folder per record pattern using {model}, {name}, {id} and {year}, and the attachment MIME types to send.
  5. Tick Upload new attachments on schedule and choose the Scheduled run as user if files should go up every 15 minutes, and decide whether changed attachments become new versions.
  6. Press Add to Action menu, then use Upload to Alfresco on a record. Linked files show under Alfresco > Files and each action under Alfresco > Log.

Alfresco Connector: questions

Which Alfresco editions are supported?

Alfresco Content Services and Community editions that offer the public REST API v1, self-hosted or hosted, reachable over https. Plain http addresses are refused.

Does Odoo delete files or folders in Alfresco?

No. It creates folders, uploads files and adds versions. Removing anything stays a job for Alfresco users.

Can Odoo users roam the whole repository through the service account?

No. Browsing, linking and downloading are kept below the start folder set on the connection, even if the service user can see more.

Do I need another document management module?

No. It talks to Alfresco directly and only depends on Discuss mail, Invoicing, Sales and Purchase from Odoo 19 Community.

Can I test before pointing it at our production repository?

Yes. Demo mode on the connection uses an offline repository built into the module, so nothing is sent anywhere.

Does it work with several companies?

Yes. Each connection belongs to a company, and its folder rules and linked files stay with that company.