Preskoči na vsebino
Cloud Storage Solutions

Cloud Storage Solutions

About Cloud Storage Solutions

Cloud Storage Solutions keeps the files of your Odoo records in folders and syncs these folders with your cloud storage. After the sync, the content of a file lives in the cloud. Odoo keeps the attachment with a link to it, so your users open, add, and share files in Odoo as before.

What the app does

  • Any Odoo model can get folders, custom models included, with a few exceptions. A folder rule makes one for each customer and, inside it, one for each order. The tree Customers > Acme Corporation > Quotations > S00005 is the same in Odoo and in the cloud.
  • The sync is two-way by default. Files you add in Odoo go to the cloud, and files added in a synced cloud folder come to Odoo. Sync is not instant: two scheduled actions run every 15 minutes. With Turn off the backward sync, Odoo no longer reads the cloud folders. With Turn off the reverse sync, the files stay in the cloud when a folder stops syncing, or when you reset the client. Cloud clients: confirm, pause, reset explains both switches.
  • A synced file leaves the Odoo file storage. Its content is marked for deletion, and the scheduled action Base: Auto-vacuum internal data removes it from the filestore. That action runs once a day by default. The Filestore block of the settings shows the size. Settings explains the block.
  • The files leave Odoo, but the sync logs stay in the database, so the database can still grow. Logs storage period (days) sets how long they are kept, and the period is at least 3 days. Sync logs and queue explains the logs.
  • A share opens the files to portal users or, with Access by Token, through a link. The recipient may download, and Allow Uploading, Allow adding folders, and Allow adding tags decide whether they also upload, add folders, or add tags. Sharing explains the form.
  • Every sync action is written in Sync Logs, and you can export the logs for support. Users who follow a cloud client get a message when it has a connection error.

You see every folder and file in Cloud Storage > File Manager, and in the attachment box of a record. File Manager and Attachment box explain each screen.

The File Manager with Acme Corporation open and the folder S00005, 465.75 USD selected. The cards are the files of that folder, synced to Google Drive.

The attachment box of the quotation S00005 with the folders Annexes and Drawings and its synced files

The same folder in the cloud storage is in Where a folder syncs.

Connectors

Without a connector, folders, the File Manager, the attachment box, and shares work in Odoo only. A rule with no Clouds Client keeps its folders in Odoo. Auto folder rules describes that case. Each storage has its own connector app, and each connector needs Cloud Storage Solutions. You can connect several storages and several accounts at once. Each rule or manual folder sends its folders to one client. Where a folder syncs explains which one.

Words used in these docs

  • Model: a type of Odoo document, for example Contact or Sales Order.
  • Record: one document of that model, for example the customer Acme Corporation or the quotation S00005.
  • Cloud client: one connected account of a cloud storage. The clients are in Configuration > Cloud Clients.
  • Root folder: the folder that Odoo creates in the cloud storage for one client. Every synced folder of that client is inside it.
  • Folder rule: a rule that creates folders for the records of one model. The rules are in Configuration > Auto Folders Rules.
  • Workspace-Related Rule: a rule for the folders of Enterprise Documents. Enterprise Documents sync describes it.
  • Automatic folder: a folder that a rule creates and updates. Folders explains them.
  • Manual folder: a folder that you create. See Automatic and manual folders.
  • Default folders: subfolders that a rule adds to each new record folder. See Default folders.
  • Tag: a label for files across folders.
  • Share: files, folders, and tags that you open to portal users or through a link.
  • Direct sync: Odoo sends its changes to the cloud storage.
  • Backward sync: Odoo reads the cloud folders and brings those changes into Odoo.
  • Reverse sync: Odoo downloads the files back and deletes them in the cloud when a folder stops syncing, or when you reset the client.
  • Reverse task and move task: sync tasks that bring a file back to Odoo, or move a synced file to another cloud folder or client. Until they are done, the other tasks wait.
  • Sync logs: the list of sync actions, in Configuration > Sync Logs.

Where to start

  1. Quick start takes you to the first synced folder.
  2. The setup article of your connector explains its connection fields. Connectors lists them.
  3. Auto folder rules decides which records get folders. Parent rules, Record folder names, and Default folders decide how the tree looks.
  4. Before you go live, read Server configuration and limits and Recommendations.
  5. When something goes wrong, start with Sync logs and queue.

Read more about the app

Quick start

Four steps take you from the install to the first synced folder: turn on a connector, confirm a cloud client, create a folder rule, and let the scheduled actions run. The terms are explained in Words used in these docs.

Before you start

You need Cloud Storage Solutions and the connector app of your cloud storage on your Odoo server. The connector apps are listed in Connectors.

Step 1 and the buttons of Step 4 need the Odoo role Administrator. Odoo refuses anyone else with the message "Only administrators can change the settings". Steps 2 to 4, and the Configuration menu itself, need the group Administration of Cloud Storage. The groups lists the groups.

Step 1. Turn on a connector

  1. Open Cloud Storage > Configuration > Configuration.
  2. In the Options block, turn on the setting of your cloud storage, for example Google Drive Sync.
  3. Press Save. Odoo installs the connector app.

The line under the setting says the connector app is required. That app must already be on the server, or the install stops.

The Options block of the Cloud Storage settings, with one setting for each connector

Step 2. Confirm a cloud client

  1. Open Cloud Storage > Configuration > Cloud Clients and press New.
  2. Enter a Name and choose your storage in Cloud client.
  3. Check Root folder name. The default is Odoo. The screenshots here use -Odoo Files-.
  4. Fill in the connection fields of your storage. The setup article of the connector explains them: Google Drive, OneDrive and SharePoint, ownCloud and Nextcloud, Dropbox, Amazon S3 and MinIO, Box, NAS.
  5. Press Confirm. Google Drive, OneDrive / SharePoint, Dropbox, and Box open the provider's login page. Log in there and allow access. ownCloud / Nextcloud, Amazon S3, and NAS confirm with the values you entered.

The client moves to Confirmed, with the message "The cloud client is confirmed and might be used for synchronization". On an error, the form shows the red Errors message.

Odoo creates the root folder at the top level of the account, with the name from Root folder name. On a NAS, it goes inside NAS base path. Choose a name that no folder there has yet. When such a folder exists, Box, NAS, and Amazon S3 use it, Google Drive and OneDrive / SharePoint create a second folder, and Dropbox and ownCloud / Nextcloud are not confirmed. Google Drive, OneDrive / SharePoint, Dropbox, and Box create the root folder when the login finishes. ownCloud / Nextcloud, Amazon S3, and NAS create it when you press Confirm. Every sync run checks the folder and creates it again when it is missing. After the confirmation, Cloud client and Root folder name cannot be changed.

The cloud client Google Drive in the state Confirmed, with the root folder name -Odoo Files-

Step 3. Create a folder rule

  1. Open Cloud Storage > Configuration > Auto Folders Rules and press New.
  2. In Model to sync, choose Contact. Folder name proposes the name of the model. For this first test, change it to Customers. Model to sync cannot be changed after the rule is saved.
  3. In Clouds Client, choose the client you confirmed. The list shows only confirmed clients.
  4. Start with a few records. Limit them on the Filters tab or on the Periods tab. Filters and Periods explain the conditions.

The rule Customers, on the model Contact, makes a folder Customers inside the root folder, and one folder for each contact that fits. The other options of a rule are in Auto folder rules.

The folder rule Customers on the model Contact, synced to the cloud client Google Drive

Step 4. Wait for the first sync

Two scheduled actions do the work. Each one runs every 15 minutes:

  • [Cloud Storage] Prepare Cloud Folders creates the folders of your rules in Odoo.
  • [Cloud Storage] Run/Prepare sync queue creates these folders in your cloud storage and sends the files attached to the records.

A large volume takes several runs. A run stops before the time limit, and the next run goes on. When changes apply describes that stop. How the sync works explains the queue.

Wait for the scheduled actions. In a test environment, you can launch them by hand with the Launch Folders' Update and Launch Sync buttons in the Testing / Development block of the settings. Do not press them while the scheduled actions are running. Each button runs its scheduled action while the page waits. A run takes about 10 seconds on a small volume and up to 15 minutes on a large one. Press the second button only after the first one has finished.

Where to see the result

In Cloud Storage > File Manager, the folder of the rule holds one folder for each record. File Manager explains that screen.

The File Manager with the folder Customers and one synced folder for each customer

To act on several files at once, first add actions in the Mass actions block of the settings. Selection and mass actions describes them.

In a record of the rule, its folder and files are in the attachment box.

In your cloud storage, you see the root folder, the folder of the rule inside it, and one folder for each record. Where a folder syncs says which client a folder uses.

The folder Customers in Google Drive with one folder for each customer

In Configuration > Sync Logs, each folder has a line "The folder ... was uploaded to clouds", and each file has a line "The attachment ... was uploaded to clouds".

Sync Logs of the client Google Drive with the folders and files uploaded to the cloud

If nothing happens

  • Open Configuration > Sync Logs first. Sync logs and queue explains the usual messages.
  • The client is Confirmed and the form has no red Errors message.
  • The rule has a Clouds Client. Without one, the folders stay in Odoo. What a rule does explains this.
  • The record fits the rule. Filters and Periods explain the conditions.
  • Both scheduled actions are active, in Settings > Technical > Automation > Scheduled Actions. This menu needs the developer mode. Odoo refuses an interval below 15 minutes for these two actions.
  • The three timeouts are at least 900 seconds. See Before you start.
  • On a copy of the database, a client with Restrict Database Sync syncs only the database named in Database to Sync. Cloud clients: confirm, pause, reset explains the option.
  • The file type syncs at all. How the sync works lists the types that never sync.

Folders

A folder holds files and other folders. You see the folder tree in Cloud Storage > File Manager and, for one record, in its attachment box.

The File Manager with the automatic folders Customers, Acme Corporation, Quotations, and S00005, and its manual subfolders, synced to Google Drive

Automatic and manual folders

  • Automatic folders come from a folder rule. Each rule makes one folder with its Folder name, and inside it one folder for each record that fits the rule. The files attached to a record are in that record's folder. The scheduled action [Cloud Storage] Prepare Cloud Folders creates and updates these folders every 15 minutes.
  • Manual folders are the folders you create, in the File Manager or in the attachment box of a record. Use them for files that belong to no record, or to sort the files of a record. A folder created inside a synced folder in your cloud storage also comes to Odoo as a manual folder.

A file put into a record's folder is attached to that record, and a file attached to the record in its chatter or attachment box shows in its folder. A file put into a manual folder belongs to that folder.

An automatic folder takes its name and its place from its rule. In the File Manager, you cannot rename, move, or archive it. If you archive it in another way, the next update brings it back while its record still fits the rule.

To remove a record folder, change the record or the rule's filters so that the record no longer fits. To remove all folders of a rule, archive the rule. Its child rules are archived with it. At the next update, these folders are archived. Their files come back to Odoo and their cloud folders are deleted, unless the reverse sync is off for the client.

A rule can add default folders to each new record folder. They are created only together with the record folder. After that, they are ordinary manual folders. See Default folders.

Which records get a folder

A rule gives a folder to each active record of its model that passes the rule's conditions. Archived records get none. You set the conditions on the rule, and Auto folder rules explains each one in detail.

  • Filters. Conditions on any field of the record, for example only companies, or only confirmed orders. A record that matches them gets a folder, and one that does not match gets none. Filters also split one model between several rules, such as quotations and confirmed orders. See Filters.
  • Periods. Conditions on a date of the record, counted from today, for example the orders of the last 2 months. The window moves with time, so new records enter the rule and old ones leave it. The rule form shows the exact dates for today. See Periods.
  • Only with attachments. A record gets a folder only when at least one file is attached to it. A record without files has no folder, so the folders of its child rules are not created either. See Only with attachments.

A record has only one automatic folder. When it fits two rules, the first rule in the list keeps it (Several rules for one model). A record that stops fitting loses its folder at the next update (Records that stop fitting). A rule creates at most 2000 record folders by default (Folder limit).

What you can do with a folder

Right-click a folder in the tree. A manual folder offers Rename, Edit Settings, and Archive. Archiving a folder also archives its subfolders. To move a manual folder, drag it into another folder you can change. An automatic folder offers Settings instead, to read which rule made it.

The right-click menu of the manual folder Annexes with Download as archive, Create subfolder, Open in clouds, Rename, Edit Settings, and Archive

The right-click menu of the automatic folder S00005 with Download as archive, Create subfolder, Open in clouds, Open linked object, and Settings

The other actions of the menu:

  • Create subfolder adds a manual folder inside any folder you can change, automatic folders included.
  • Download as archive downloads the files of the folder as one archive. The files of its subfolders are not included.
  • Open in clouds opens the folder in your cloud storage once it is synced.
  • Open linked object opens the record of a record folder.

Where a folder syncs

  • A folder inside a synced folder syncs to the same cloud client as its parent.
  • An automatic folder syncs to the cloud client of its rule. A child rule uses the client of its parent rule. When the rule has no client, its folders stay in Odoo only.
  • A manual folder at the top of the tree, or inside a folder that does not sync, gets its client in Clouds Client of its settings. So a manual folder can sync while its parent does not.

The settings of the manual folder Board meetings with the Clouds Client MinIO and the folder URL

The settings of the automatic folder S00005: generated by the rule Quotations, synced to Google Drive

The icon of a folder shows its cloud storage, with a separate icon for manual folders. A folder that does not sync has a plain folder icon, orange for a manual folder.

A rule for sales orders syncs to Google Drive. You create the manual folder Contracts at the top of the tree and choose a OneDrive client in its Clouds Client. Google Drive gets Odoo > Sales Order > S00003. OneDrive gets Odoo > Contracts.

Changes in Odoo and in the cloud explains what each change on either side leads to, including a folder deleted in the cloud.

The folder S00005, 465.75 USD in Google Drive with the subfolders Annexes, Drawings, and Signed copies and the quotation files

Folder names

  • A rule folder has the Folder name of its rule. A new rule proposes the name of its model.
  • A record folder has the record's display name, for example S00005 or Acme Corporation. The rule's Name Expression can build another name from the record's fields: {{ object.name }}, {{ object.amount_total }} {{ object.currency_id.name }} gives S00005, 465.75 USD. The syntax and more examples are in Record folder names of Auto folder rules.
  • A record folder is renamed in Odoo and in the cloud storage when the record's name changes, at the next folders' update.
  • A manual folder has the name you give it.

Two folders with the same name in one parent cannot exist. The app adds the folder id to the second name, for example Contracts (42).

Access to folders

The File Manager and the Cloud Storage menu need the group File manager access. Folder rules need the group Administration.

  • A record folder follows the record. Who can read the record sees its folder and files. Who can change the record can add and change its files.
  • A folder with no record of its own, a manual folder or a rule folder such as Quotations inside Acme Corporation, follows the nearest record folder above it. The top folder of a rule, such as Customers, has no record either. Only users who can read the rule's model, here Contact, see it and the manual folders inside it. Adding files there needs the right to change that model. A manual folder outside any rule, such as Board meetings, is open to all internal users. The record folders inside still follow their records.
  • Nobody can rename, move, or archive an automatic folder in the File Manager, administrators included.

The Extra security tab of a manual folder limits it to some users or groups. Such a user still needs the access above. The limit applies to seeing and to changing the folder alike, so it cannot make a folder read-only. The limits add up down the tree: a subfolder is open only to users allowed on every limited folder above it. A limit that leaves nobody is refused with an error. Include yourself, directly or through a group: otherwise you lose access to the folder once you save it, as an administrator too.

The Extra security tab of the manual folder Board meetings, limited to the users Mitchell Admin and Olivia Chen

The task Office design has a folder. Every user who can read the task sees it. You create the manual subfolder Commercial contracts and limit it to Marc in Extra security. Other users still see Office design, but not Commercial contracts.

If you then limit Commercial contracts > Scans to Ann only, nobody remains: Ann is not allowed on Commercial contracts. The app refuses this limit.

The groups and access in the cloud storage are in Access rights. Portal users get files through shares, described in Sharing.

Auto folder rules

A folder rule creates the automatic folders. It takes the records of one model, for example sales orders, and gives each record a folder that holds the files attached to it. The rules are in Cloud Storage > Configuration > Auto Folders Rules, for members of the group Administration.

Ready structures built from these rules are in Examples of folder structures.

What a rule does

A rule makes one folder with its Folder name, and inside it one folder for each record that fits the rule. The files attached to a record go into that record's folder. The folders reach the cloud storage when the rule has a Clouds Client. A child rule always uses the client of its parent rule. When no client is set, the folders exist in Odoo only.

A rule takes only active records: an archived record has no folder. The rule works as the superuser, so it ignores access rights and takes the records of all companies. To split records by company, filter on the company field.

Model to sync cannot be changed after the rule is saved. For another model, create a new rule. Some models cannot have a rule: modules, attachments, the activity and chatter mixins, wizards, the app's own rules and folders, and the documents and folders of the Enterprise Documents app. Documents have their own rule type, described in Enterprise Documents sync.

A rule can be the child of another rule, so that its folders sit inside the parent's record folders, for example the quotations inside their customer (Parent rules). A record folder is named after the record unless the rule sets a name expression, and it can get default folders.

Archiving a rule also archives its child rules. At the next update, all their folders are archived, as described under Records that stop fitting.

Filters

The Filtering conditions on the Filters tab decide which records get a folder. Any stored field of the model can be used, related fields included: the country of a contact, the status of an order, the tags of a project. Use filters to sync only the records that matter, and to split one model between several rules.

The rule Customers on the model Contact, synced to Nextcloud, with the filters Customer Rank greater than 0 and Is a Company set

Two rules on the model Sales Order. The rule Quotations filters on Status is in Quotation, Quotation Sent. The rule Confirmed Orders filters on Status is Sales Order. Cancelled orders fit neither rule and get no folder. When a quotation is confirmed, its folder moves from Quotations to Confirmed Orders at the next update, with its files.

A rule on the model Contact with the filter Is a Company is set. Each company gets a folder. Individual contacts get none, so their files stay in Odoo.

A rule on the model Project with the filter Tags contains Internal. Only the projects tagged Internal get a folder. When the tag is removed from a project, the project stops fitting the rule at the next update.

Only with attachments

With Only with attachments on the Filters tab, a record gets a folder only when at least one file is attached to it. Files kept in a field of the record do not count, except the invoice PDF. When the last file is removed, the record stops fitting the rule.

A record without files has no folder, so the folders of its child rules are not created either. For example, a customer with no files of its own gets no folder, even if its quotations have files.

Periods

Periods limit a rule to the records whose date falls in a moving window, for example the orders of the last 2 months. The window is computed again at each update, so records enter and leave the rule as time goes on.

Each line of the Periods tab takes a stored Date field of the model, the direction (the last or the next), and an Interval of days, weeks, months, or years. How the window is counted:

  • Weeks, months, and years are calendar units. A week starts on Monday. The last 2 months are two full months, not 60 days.
  • Without Including current, the current unit is not counted. On 27 November 2026, the last 2 months are September and October, and the next 5 days are 28 November to 2 December.
  • With Including current, the current unit is the first of the intervals. On the same day, the last 2 months are October and November, and the next 5 days are 27 November to 1 December.
  • Compared To past or future counts the window not from today but from a day moved back or forward by that amount. Example in the past: with 2 years in the past, the window is counted from 27 November 2024, so the last 5 years, including current, are 2020 to 2024. Example in the future: with 2 weeks in the future, the next 3 weeks, including current, are 7 to 27 December 2026.

Several lines combine this way:

  • Lines on different date fields must all match.
  • Lines on the same date field: one match is enough.
  • The periods add to the Filtering conditions. A record must match both.

The line If today, the periods will be shows the windows for today, date field by date field, for example Order Date: 2026-10-01 - 2026-11-30;. Both dates belong to the window. The windows of one date field are joined by "or". Check this line after each change: it shows a gap or an overlap at once.

The Periods tab with three lines on Created On and Deadline, and the line If today, the periods will be

A record that leaves the window loses its folder, as described under Records that stop fitting. A record that enters it gets its folder at the next update. A record that goes in and out often makes its files travel each time, so prefer windows that change rarely, such as months or years.

A rule on the model Sales Order with one line: Order Date, the last 2 months, Including current, compared to today.

On 27 November 2026, the line reads Order Date: 2026-10-01 - 2026-11-30;. The orders of October and November have folders, and a new order gets one at the next update.

On 1 December, the window becomes November and December. The October orders lose their folders, and their files come back to Odoo.

A rule on the model Journal Entry with the filter Type is Customer Invoice, and one line: Invoice/Bill Date, the last 5 years, Including current, compared to the past, 2 years.

On 27 November 2026, the line reads Invoice/Bill Date: 2020-01-01 - 2024-12-31;. The invoices of 2020 to 2024 go to the cloud storage. The invoices of 2025 and 2026 have no folder, and their files stay in Odoo.

On 1 January 2027, the window becomes 2021 to 2025. The 2025 invoices go to the cloud, and the 2020 invoices come back to Odoo. To keep all older invoices in the cloud, use a long interval, such as the last 50 years.

A rule on the model Task should take the tasks due this month or next month. It has two lines: Deadline, the last 1 month, and Deadline, the next 1 month. On 27 November 2026, the line reads Deadline: 2026-10-01 - 2026-10-31 or 2026-12-01 - 2026-12-31;. November is missing, because neither line includes the current month.

With Including current on the first line, it reads Deadline: 2026-11-01 - 2026-11-30 or 2026-12-01 - 2026-12-31;.

A third line, Created On, the last 1 year, Including current, adds a second condition: Created On: 2026-01-01 - 2026-12-31; Deadline: 2026-11-01 - 2026-11-30 or 2026-12-01 - 2026-12-31;. Now a task needs a deadline in November or December and a creation date in 2026.

Parent rules

A rule with a Parent rule puts its folders inside the record folders of that rule. Parent model field tells which record is the parent: a field of this rule's model that points to a record of the parent rule's model. For quotations under their customer, the field is Customer. Each customer folder then holds a Quotations folder with that customer's quotations: Customers > Acme Corporation > Quotations > S00005.

The rule Quotations on the model Sales Order, with the parent rule Customers, the parent model field Customer, and the Nextcloud client taken from the parent

  • The field can go through several links, as long as the last one points to the parent rule's model. For example, Project > Customer on a task puts the tasks right inside their customer's folder.
  • A record whose field is empty gets no folder from the child rule. Neither does a record whose parent has no folder, for example a parent left out by the parent rule's filters.
  • A child rule syncs to the client of its parent rule. Both rules must be of the same type, and rules cannot form a loop.

Three rules. Contacts on the model Contact, with the filter Is a Company is set. Projects on the model Project, with the parent rule Contacts and the parent model field Customer. Tasks on the model Task, with the parent rule Projects and the parent model field Project.

The tree becomes Contacts > Azure Interior > Projects > Office Design > Tasks > Install furniture. A project with no customer gets no folder, and neither do its tasks.

Record folder names

  • The rule folder takes the rule's Folder name. A new rule proposes the name of its model, and you can change it.
  • A record folder takes the record's display name, the name Odoo shows for the record in its breadcrumb: S00005 for a sales order, Acme Corporation for a contact.

The Name Expression tab builds another name from the fields of the record. It uses the placeholders of email templates, {{ object.field }}. Text outside the braces is kept as typed.

The Name Expression tab of the rule Quotations with the expression object.name, object.amount_total, and object.currency_id.name

  • {{ object.name }}, {{ object.amount_total }} {{ object.currency_id.name }} on sales orders gives S00005, 465.75 USD. Numbers print as stored: 3024.5, not 3,024.50.
  • {{ object.name }} ({{ object.city ||| no city }}) on contacts gives Acme Corporation (Pleasant Hill), or Acme Corporation (no city) when the city is empty. The text after ||| replaces an empty value.
  • For a field that links to another record, name the field to print, as .name above. Without it, the folder gets a technical value such as res.currency(1,).
  • An empty field prints nothing. When the whole result is empty, the folder takes the display name.

Names are computed again at each folders' update. When a record or the expression changes, its folder is renamed in Odoo and in the cloud storage. Avoid fields that change often, such as a stage: the folder would be renamed each time. Symbols that a cloud storage does not accept become -, as described in Folders.

Default folders

The Defaults tab holds subfolders and files that each new record folder of the rule receives, for example Scans, Questionnaires, and Equipment for each employee, with blank forms to fill in. Add them with Create root subfolder and Upload root file.

The Defaults tab of the rule Employees with the folders Scans, Questionnaires, and Equipment and three PDF forms

  • Each new record folder gets its own copy of each file.
  • They are created only together with a new record folder. Record folders that already exist do not get them when you change the tab.
  • After that, they are ordinary manual folders and files. Users can rename, move, or archive them, and the rule does not bring them back.

The rule Customers has the default folder Documents to sign with the file Terms of agreement.pdf. Each new customer folder gets Documents to sign and its own copy of the file, so the version signed by one customer does not touch the others. Customers that already had a folder get nothing.

Several rules for one model

One model can have several rules, for example one for quotations and one for confirmed orders. A record still has only one automatic folder. The folders' update goes through the rules in the order of the list and handles the child rules of each rule right after it. The first rule that takes a record keeps its folder. Drag the rules in the list to change the order. The same order sorts the rule folders in the File Manager.

The list of auto folder rules with their cloud client and parent rule, in the order the folders' update goes through them

Make the filters of such rules exclude each other, so that the order does not matter. When a record moves from one rule to another, for example a quotation is confirmed, its folder moves at the next update, with its files. If the two rules sync to different cloud clients, the files first come back to Odoo from the old client and then go to the new one.

When several rules claim one file, it goes to the folder of the rule higher in this list. A new rule is added at the end. If the order was never changed, the rule created earlier wins. Archiving or deleting a rule passes the file to the next rule. Records and Documents together describes when that file moves, and a record attachment that is also a Documents file.

Records that stop fitting

A record stops fitting when it no longer matches the filters, leaves its period, loses its last file under Only with attachments, is archived, or is deleted. Its folder is archived when the next full folders' update ends. Then the sync returns its files to Odoo and deletes the folder in the cloud storage.

When the client has Turn off the reverse sync, the files stay in the cloud storage and are not downloaded. The connection between Odoo and these cloud items is cut and cannot be restored. See Cloud clients: confirm, pause, reset.

When the record fits again, the same folder comes back and is set up in the cloud storage again: its files are uploaded again.

When changes apply

The scheduled action [Cloud Storage] Prepare Cloud Folders applies the rules every 15 minutes. A change to a rule or to a record shows in the folders after its next run. A large volume takes several runs: a run stops before the server time limit, writes "The folders' update was stopped because of the timeout. To be continued afterward" to Sync Logs, and the next run goes on.

The folders reach the cloud storage with the other scheduled action, [Cloud Storage] Run/Prepare sync queue. For a test, the button Launch Folders' Update in the settings runs the update at once. See How the sync works.

Folder limit

A rule creates at most Maximum Folders per Rule record folders, 2000 by default. For a child rule, the limit counts the records inside one parent folder. When more records fit, the rule stops updating: it keeps the folders it has and creates no new ones. Its form shows a red alert with the number of records found, and Sync Logs show "The folders maximum ... was exceeded".

The red alert on the rule Customers: the maximum folder count per rule was exceeded, here with the limit lowered to 5 for the example

While a rule with no parent rule is over the limit, the folders' update archives no folders at all, for any rule.

Prioritization

The sync checks every synced folder for changes in Odoo and in the cloud storage, starting with the folder checked longest ago. With many folders, one round takes many runs, and changes in active folders wait behind quiet ones. The Prioritization tab checks the folders of a rule less often.

Turn on Restrict Monitoring and set the hours in Do not check more frequently than once in. After each check, the folders of the rule are skipped for that time. This covers the rule folder, its record folders, and the manual folders inside them. A child rule is never checked more often than its parent: it takes the longer of the two times.

The Prioritization tab with Restrict Monitoring on and 24 hours between checks, and the button Clear next folders priority

While a folder is skipped, nothing in it syncs in either direction. A file added in Odoo or in the cloud waits for the next check. Use it for folders that rarely change, and keep it off for active work.

A new time applies to a folder only after its current wait ends. To apply it now, press Clear next folders priority. The folders of the rule and of its child rules lose their wait and are checked at the next sync run. The button works while the page waits. With many folders, it can stop on the server time limit. The folders already cleared stay cleared, so press it again to finish.

The rule Contacts has Restrict Monitoring with 24 hours. The rule Opportunities has none. Each contact folder is checked at most once a day, and the opportunity folders get the rest of each run.

Had the contacts been set to 240 hours by mistake, changing the value to 24 would apply only after the 240 hours have passed. Clear next folders priority applies it at the next sync run.

Examples of folder structures

These structures run on the demo database. Build the same rules in Cloud Storage > Configuration > Auto Folders Rules and adapt the filters. What a rule does, Parent rules, Filters, and Record folder names describe the fields.

Customers with their invoices and quotations

Keep each customer company's invoices and quotations in that company's folder, on Google Drive.

  1. Customers. Model to sync is Contact. The filter is Customer Rank greater than 0 and Is a Company is set. Clouds Client is Google Drive.
  2. Invoices. Model to sync is Journal Entry. Parent rule is Customers, and Parent model field is Partner. The filter is Type = Customer Invoice.
  3. Quotations. Model to sync is Sales Order. Parent rule is Customers, and Parent model field is Customer. The filter is Status in Quotation and Quotation Sent. The name expression is {{ object.name }}, {{ object.amount_total }} {{ object.currency_id.name }}.

The Quotations rule under the Customers rule

The path is Customers > Acme Corporation > Invoices > INV-2026-00002, and Customers > Acme Corporation > Quotations > S00005, 465.75 USD.

Customers with their Invoices and Quotations folders in the File Manager

A contact person is not a company, so that person's documents get no folder unless the company is the customer on them. Parent rules says a record whose parent has no folder gets no folder. A confirmed order leaves Quotations. Several rules for one model shows a second rule for confirmed orders.

Projects with their tasks

Keep each internal project's tasks under that project, on OneDrive.

  1. Internal Projects. Model to sync is Project. The filter is Tags contains Internal. Clouds Client is OneDrive.
  2. Tasks. Model to sync is Task. Parent rule is Internal Projects, and Parent model field is Project.

The path is Internal Projects > Renovations > Tasks > Bathroom. A task with no project gets no folder. For customer, then project, then task, put a Contacts rule on top and set Customer as the parent model field of the projects rule. Parent rules shows that example.

Internal projects with their task folders

Sales teams with their opportunities

Keep each sales team's opportunities under that team, on Dropbox.

  1. CRM. Model to sync is Sales Team. Clouds Client is Dropbox.
  2. Leads. Model to sync is Lead. Parent rule is CRM, and Parent model field is Sales Team. The filter is Type = Opportunity.

The path is CRM > Europe > Leads > Modern Open Space. Without the filter, plain leads get folders too. With Only with attachments, only the opportunities that have files do. Only with attachments describes that option.

Sales teams with their opportunity folders

One parent, two child rules: departments

Give each department both its job positions and its employees, on Box.

  1. Departments. Model to sync is Department. Clouds Client is Box.
  2. Job Position. Model to sync is Job Position. Parent rule is Departments, and Parent model field is Department.
  3. Employees. Model to sync is Employee. Parent rule is Departments, and Parent model field is Department.

The path is Departments > Management - Sales > Job Position > Marketing and Community Manager, and Departments > Management - Sales > Employees > Eli Lambert. One parent rule can have several child rules. Each child adds its own folder in every parent folder.

A department folder with job position and employee folders

Different storages for different areas

Each top rule has its own client. Customers is on Google Drive, Internal Projects on OneDrive, CRM on Dropbox, Departments on Box, Purchase Orders on Amazon S3, Meetings on MinIO, Applicants on Synology, and Vendors on Nextcloud. One rule has one client. A child rule always uses its parent's client. Where a folder syncs describes that.

Folder rules of the demo database, each top rule with its own cloud client

  • Customers and Vendors are both on Contact. Vendors uses the filter Supplier Rank greater than 0 and Is a Company is set. A company that is both a customer and a vendor gets one folder only, from the rule higher in the list. Several rules for one model describes that. A record cannot have both folders. Make the filters exclude each other, so that the order of the list does not decide.
  • To put purchase orders inside their vendor, make Purchase Orders a child of Vendors with the parent model field Vendor. Those orders then sync to the Vendors client.

One folder per vehicle

This structure needs the Fleet app. It takes three rules.

  1. Vehicles. Model to sync is Vehicle. The name expression is {{ object.license_plate }} {{ object.model_id.name }}.
  2. Services. Model to sync is Services for vehicles. Parent rule is Vehicles, and Parent model field is Vehicle.
  3. Contracts. Model to sync is Vehicle Contract. Parent rule is Vehicles, and Parent model field is Vehicle.

The path is Vehicles > the plate and the model > Services > the service, and the same for Contracts. An empty plate does not print the word False. An empty field prints nothing, and when the whole name is empty the folder takes the display name. Record folder names describes that.

Folders by year

Each level of a tree is a rule folder or a record folder. A rule cannot add a fixed folder between two levels, and it cannot group its records into year or month folders. Two settings give a tree by date instead.

  • One rule for each year. The rule Vendor bills 2026 on the model Journal Entry keeps the posted vendor bills with a bill date in 2026. The rule Vendor bills 2025 does the same for 2025. Each rule folder is a top folder in the cloud. Add the rule of the next year before its first bill.
  • The date in the folder name. The name expression {{ object.invoice_date }} {{ object.name }} names a bill folder 2026-11-19 BILL-2026-10-0003. The / of the bill number becomes -. In the cloud storage, sorted by name, the folders follow the dates. Record folder names describes expressions.

The rule Vendor bills 2026 on Journal Entry: posted vendor bills with a bill date in 2026, synced to Google Drive

The folders Vendor bills 2025 and Vendor bills 2026 in the File Manager, each bill folder named by its date and number

A rule with Periods, such as the bills of the last 12 months, also limits folders by date. A bill that leaves that window loses its folder, as Records that stop fitting describes. Use it for current work, not for an archive.

File Manager

Cloud Storage > File Manager shows the files of all folders, synced or not. It shows only files that sit in a folder. A file stored in a record field is left out, except the invoice PDF.

The terms used here are in Words used in these docs.

The screen

The left side is the folders, the tags, and the shares. The middle is the file cards. The right side is the selection.

The left and right panels can be resized and collapsed.

Check folders to see their files. Checking a folder also checks its subfolders. Clear a subfolder to leave its files out. A parent of a checked folder gets a dotted border, so the choice stays visible in a closed tree.

Each tree has its own search and a Clear this filter button. Clear search empties that search.

Several checked items of one tree show the files of any of them. Checked items of different trees show only the files that match all of them. Check the customers and the tag Legal, and the cards are only the Legal files of those customers.

The folder Customers and the tag Legal checked: only the Legal files of the customers are shown

Checking a share shows the files of that share, the files of its folders, and the files of its tags. The share menu is described in Sharing.

The menu of a folder is in What you can do with a folder. The two kinds of folder are in Automatic and manual folders. Who can see a file follows its folder, as Access to folders explains.

The File Manager with the folder Acme Corporation checked, three files selected, and the actions for the selection on the right

What a card shows

A card shows the name, the folder, the tags, the type icon or the thumbnail, the date, and the author. A URL is a link card. A synced file and a URL also show their link under the name. A synced file shows the icon of its type, never a thumbnail, because the list does not fetch the cloud content.

The icon at the bottom is a cloud for a synced file, a download arrow for a file that is still in Odoo, and Open (a link icon) for a URL.

Click the icon and the Odoo viewer opens. Click anywhere else on the card and the file is selected. The viewer and Download go through Odoo. For a synced file, Odoo reads the content from the cloud and sends it to the browser. You do not need an account in the cloud storage. The link under the name of a synced file opens the file in the cloud storage itself, so it needs access there. Open in clouds does the same for a folder, as What you can do with a folder describes.

What the viewer can show (images, PDF, text) is the standard Odoo viewer. Other types are only downloaded.

The card menu has Open, which opens the attachment form, and the color.

Three file cards: a file synced to the cloud, an image stored in Odoo, and a URL link

Adding files

The button Upload to shows the name of the current folder and uploads files into it. You can also drag files from your computer onto the cards.

The current folder is the checked folder you clicked last. If that folder is no longer checked, it is the first checked folder. With nothing checked, it is the first folder found by the tree search, or else the first folder of the tree.

Add URL saves a name and a link as a URL file in the current folder. A URL file with no cloud link is never synced. How the sync works describes that.

The app sets no file size limit. The file goes to the Odoo server first, and the next sync sends it to the cloud. The limits of the Odoo server and of the cloud service still apply. Server configuration and limits describes those limits.

When a rule creates or updates the folder of a record, the attachments that already belong to that record move into the folder. The next sync sends them to the cloud. The Odoo file store is then cleared, as What the app does describes. The existing files of the contact Acme Corporation moved into its folder when the rule Customers created that folder. How a rule builds folders is in Auto folder rules.

The button Upload to Renovations and the Add URL dialog

Finding files

The search bar searches the file name, the folder, the tags, and Created by. In developer mode it also searches Mime Type.

The filters are Synced, Not Synced, My Files, URL, and Binary.

The search works together with the checked folders, tags, and shares: the cards match both.

Moving, tagging, and sharing by drag

Drag a card onto a folder to move the file there. Drag it onto a tag to add that tag. Drag it onto a share to add the file to that share.

A file that is not selected is selected when the drag starts. Several selected files move together.

Moving a file into a record folder attaches the file to that record. Moving it into a folder that belongs to no record takes it off the record and links it to the folder. A folder of the Odoo Documents app (Enterprise) leaves the file attached to its record. Enterprise Documents sync describes those folders.

Two selected files dragged onto the tag Plans

Selection and mass actions

The selection stays when you check other folders, tags, or shares, or change the search. So you can collect files from several folders. Select all found adds every file of the current search to the selection, including files on the next pages.

The panel Selected attachments lists them. Click a name to drop that file from the selection. Clear selection drops them all.

The mass actions are under Apply to selection. They do not appear until you add them in the block Mass actions of Cloud Storage > Configuration > Configuration. The app brings six:

  • Download needs File manager access. One file is downloaded as it is. Several files are downloaded as a zip.
  • Update folder needs Administration.
  • Update tags needs Turn on attachment tags.
  • Share needs Allow sharing for Cloud Storage Solutions.
  • Slideshow needs File manager access.
  • Delete needs Administration.

An action is shown only to users of its group, and only when it is in that list. Your own server actions on Attachment are added in the same list.

The Mass actions block of the settings with the six actions of the app

Tags

The setting Tags turns the tag tree on. One file can have several tags, and tags can have parent tags.

The menu of a tag has Download as archive, Create, Rename, Edit, and Archive.

The full list is Configuration > Tags. Archived tags come back from that list.

Add a tag by dragging a file onto it, or with the mass action Update tags.

The tags tree with sub-tags and the menu of the tag Designs

Slideshow

The mass action Slideshow plays the selected images. Files that are not images are skipped. A URL with no cloud content is skipped. If no image remains, Odoo says "There are no images selected!".

The time between images is from 2 seconds to 5 minutes. The default is 5 seconds.

The arrows move between images. Space pauses. Escape or Q closes the slideshow. At the last image it starts again from the first.

The slideshow of three selected images with its controls and the time per image

Attachment box

The attachment box of a record shows the folder of that record and its subfolders above the files, so you work with the record's folders without leaving the record. It also adds Add URL, and the full message composer gets Existing Attachments. The rest is the standard Odoo attachment box.

The terms used here are in Words used in these docs.

Which records show folders

The box shows the folder tree when the record has its own folder and you can see that folder. That is a record of a rule's model that fits the rule, after the next folders' update. With Only with attachments, the folder is not there before the record's first file. Only with attachments describes that option.

A record with no folder, or whose folder you cannot see, keeps the standard box. Who can see a folder is in Access to folders.

The tree is only the record's folder and its subfolders. The rest of the folders are not shown.

A user without File manager access still sees the folders of the records they can open, as far as the folder access allows. That user does not get Open in File Manager and does not see the Cloud Storage menu.

Folders in the attachment box

Click a folder to see its files. The box shows the files of that folder only, not the files of its subfolders. In the File Manager, a checked folder includes the files of its subfolders.

When you open the record, its own folder is selected. The search above the tree finds a folder and selects the first match.

The menu of a folder is in What you can do with a folder. One item is only in this box: Open in File Manager opens the File Manager with that folder checked. It is there for users with File manager access.

The attachment box of the quotation S00005 with its folder, three subfolders, and the synced files

Adding files on a record

Attach files and dragging files onto the box add them to the selected folder. A file added to this folder in the File Manager shows here too.

Add URL is next to Attach files on every record, with or without a folder. It needs the right to change the record. The link is saved in the selected folder, or on the record when the record has no folder. A URL with no cloud link is never synced. How the sync works describes that.

A file attached to a message, or to an incoming email, is attached to the record. When that record has a folder that syncs, the file goes into the record's folder. The next sync sends it to the cloud. This does not cover an image pasted into the body of an email.

A file added in the cloud, in the folder of a record, comes to Odoo with the next sync, in the folder where it was added. A file of the record's own folder is attached to that record. For example, a file added to the Google Drive folder of the quotation S00005 shows in that quotation's box after the next sync, attached to the quotation. A file added in a manual subfolder belongs to that subfolder, not to the record. The two kinds of folder are in Automatic and manual folders.

The quotation S00005 has the subfolders Annexes, Drawings, and Signed copies. A file uploaded with Annexes selected is in Annexes and belongs to that folder.

Files stored in a record field are not synced, except the invoice PDF. The same is true of a URL with no cloud link and of system files. How the sync works lists them.

Synced files

A synced file shows as a card with the icon of its type, also when it is an image, unless real-time preview is on. A URL file shows a link icon and opens its address.

Click a synced file. A type the Odoo viewer can show (images, PDF, text) opens in the viewer. Odoo reads the content from the cloud and sends it to the browser. Another type opens in the cloud storage. Download also goes through Odoo, so you do not need an account in the cloud storage. Open in clouds opens the file in the cloud storage, which needs access there.

Deleting a synced file in the box removes it from Odoo at once. The file is deleted in the cloud with the next sync. Changes in Odoo and in the cloud describes that.

A synced file in the attachment box with the buttons Download and Open in clouds

Real-time preview

The setting Show synced images and GIFs preview in real time is in the Cloud Storage settings. Settings describes the page.

When it is on, the box and the messages load synced images, and the text of text files, from the cloud each time and show them. The help says this slows the attachment box and the loading of messages. When it is off, such a file shows its icon, and it opens when you click the card.

The setting applies to all internal users. It does not change the cards in the File Manager. What a card shows describes those cards.

To keep images in Odoo instead, list their types in Not synced mimetypes, for example image/png,image/jpeg.

The same attachment box with real-time preview on: the synced image shows its picture

Existing attachments in a message

You can add a file that is already in Odoo to a message, without downloading it first. In the full composer, Existing Attachments is under the attachments. Search more... opens Add Attachments.

These are the files of the Cloud Storage folders, not the files of the Enterprise Documents app. The dialog offers files stored in Odoo and synced files. A link that has no file in the cloud is not offered. You find only files you can read.

Folders is filled in with the folder of the record, and its subfolders are included. Tags is there when tags are turned on. Search in contents searches the name and the indexed content. Search in mimetype searches the type.

Add a file with its plus icon. It moves to Selected Attachments. Save adds the files to the message.

A synced file in an email is read from the cloud when the email is sent. When the cloud does not return the file, the email is not sent without it: it stays failed, and the reason names the file. The same warning is in Sync Logs. Retry on the failed email sends it again.

After the message is sent, those files show among the message's attachments. They stay attached to their own record and are not added to this record's box. Deleting one from the message deletes the file itself, also from its own record. A user who cannot read a file cannot add it.

From the contact Acme Corporation, a message can carry a file of the project Renovations, in the folder Internal Projects / Renovations. The file stays in Renovations.

The Add Attachments dialog with the folder of the quotation filled in and the files found

How the sync works

The sync is automatic. After a client and a rule are set up, scheduled actions keep Odoo and the cloud storage in step, in both directions. It is not instant: a change shows in the cloud after the next run, and a large volume takes many runs. What each action in Odoo or in the cloud does is in Changes in Odoo and in the cloud.

The terms used here are in Words used in these docs.

Two scheduled actions

[Cloud Storage] Prepare Cloud Folders creates and updates the folders in Odoo from the rules. When changes apply describes that update.

[Cloud Storage] Run/Prepare sync queue does the sync itself. It sends folders and files to the cloud and brings the cloud changes back.

Both run every 15 minutes. Odoo refuses a shorter interval for these two.

The buttons that launch these actions by hand are only for tests. The form says: "Avoid doing that in production environments." Step 4. Wait for the first sync explains them.

The four scheduled actions of Cloud Storage: three run every 15 minutes, Check Expired Shares once a day

One sync run

One run lasts up to 15 minutes. It stops a little earlier, as a safety margin, so that it can finish its last step in time. The next run goes on with the queue. A large first sync takes many runs, which is why files can still be in Odoo an hour after it starts.

Sync Logs show "Cloud sync was started. Locked till: ..." at the start and "Cloud sync was finished. Unlocked" at the end. A run that starts while the lock still holds does nothing and logs a warning: "Cloud sync was started but the previous process had not yet finished. Locked till: ..."

That is why every server time limit must be at least 900 seconds. Server configuration and limits describes those limits.

A run does three things, in this order. It runs the tasks already in the queue. It checks the synced folders for changes in Odoo and in the cloud and adds tasks. It runs the new tasks. Tasks run oldest first. Folders are checked starting with the one checked longest ago. A child folder waits for its parent, and a reverse or move task holds the others back. Prioritization explains checking some folders less often.

A failed task is retried. Sync logs and queue describes the retries.

Until a file is synced, it shows as a normal Odoo file.

Sync Logs with one sync run from start to finish

Three directions

Direct sync goes from Odoo to the cloud. It creates the folders in the root folder of the client, uploads the files of synced folders, and applies renames, moves, archives, and deletions made in Odoo.

Backward sync goes from the cloud to Odoo. A file added, renamed, moved, or deleted in a synced cloud folder changes in Odoo too. Adding files on a record explains where a file added in the cloud goes.

A file added in the attachment box of the quotation S00005 goes to its Google Drive folder at the next run. A file added in that Google Drive folder shows in the box after the next run.

Reverse sync brings the files of a folder that stops syncing back to Odoo and deletes the cloud folder. It runs when the record no longer fits its rule, or when the record or the folder is archived or deleted. Records that stop fitting describes those cases. A change of client also starts a reverse sync. Cloud clients: confirm, pause, reset describes that case.

The client can turn those directions off with Turn off the backward sync and Turn off the reverse sync. Cloud clients: confirm, pause, reset describes those settings.

Every action in Odoo and in the cloud storage, and what the sync does with it, with its limits, is in Changes in Odoo and in the cloud. Read it before you rename, move, or delete synced folders and files.

The whole sync works under the one account confirmed in the client. The app does not set rights on the cloud side: give them in the cloud storage. Access rights describes that.

Where the files are

A synced file is stored in the cloud. Odoo keeps the attachment with a link to it. After the upload, the file is marked for deletion. It leaves the Odoo file store at the next Base: Auto-vacuum internal data, which runs once a day by default.

Files outside a synced folder, files in record fields, and the types in What is not synced stay in the file store. The filter Not Synced in the File Manager shows them.

The Filestore block in the Cloud Storage settings shows the size after that job. Refresh runs the job now. Odoo.sh recounts its billed size on its own schedule. Odoo still shows the old file size of a synced file: the size stays in the database on purpose.

The Filestore block in the Cloud Storage settings with the filestore size and the Refresh button

Opening a synced file in the viewer and Download make Odoo read the file from the cloud with the client's account and send it to the browser. Odoo access rights apply, and you do not need a cloud account. The cloud must answer at that moment. Open in clouds is the one way that goes to the cloud storage and needs access there. Synced files describes the cards.

If the cloud does not answer, a synced file cannot be opened or downloaded, and an email with that file is not sent. Existing attachments in a message is where a synced file is added to an email.

Odoo and the cloud storage both need their own backups. Database backups describes the Odoo side.

What is not synced

These types are never synced: text/html, text/css, text/javascript, application/javascript, text/xml, and application/xml.

A file stored in a record field is not synced, except the invoice PDF. A URL with no cloud link is not synced. A system file, whose name or address starts with /, is not synced. An empty file, of size 0, is not uploaded.

Not synced mimetypes in the Cloud Storage settings adds types. Write them separated by commas, with no spaces, for example image/png,image/jpeg. The setting never removes the six types above. A file of one of these types is not uploaded from Odoo. A file of that type already stored in the cloud stays in the sync, so a deletion or a rename on either side still applies.

To find the type of a file, turn on developer mode, open Settings > Technical > Attachments, open the file, and read Mime Type.

The app sets no file size limit. The Odoo server and the cloud service do. Server configuration and limits describes those limits.

Large volumes

The first sync of many records takes many runs. Each run does what it can in its 15 minutes, and the next one goes on. Nothing is lost on the way. The oldest changes go first.

As an example, 10,000 sales orders to sync: one run sends the files of 3,000, so four runs, about an hour. The speed depends on the cloud service and the files. This is an illustration, not a promise.

To make the sync lighter, sync only the records you need. Filters and Periods explain how. Folder limit is the cap on how many folders one rule creates. After the first sync, a full check takes longer with more synced folders: each folder is one request to the cloud. Prioritization checks some folders less often, and Turn off the backward sync skips the cloud request.

Changes in Odoo and in the cloud

What happens to a synced folder or file depends on where you change it. Changes reach the other side at the next sync run. How the sync works describes the runs. Manage folders in Odoo. Files can be managed on both sides.

Who wins

Folders are managed in Odoo. A rename or a move made in the cloud is not brought back.

Files count on both sides. When the same file is renamed or moved on both sides before a run, Odoo wins.

Every change waits for the next run. While a client is paused or not connected, its ordinary sync tasks wait for it and do not use up their retries. Reverse and move tasks keep their own retries. Cloud clients: confirm, pause, reset describes a paused client.

Folders: changes in Odoo

Change folders in Odoo. The cloud folder follows at the next run.

  • A folder appears. A record that fits a rule, or a manual folder you create, is created in the cloud at the next run, inside the root folder of the client. Its files are uploaded.
  • Rename. Rename a manual folder with Rename. A record folder is renamed when the record's name or the rule's name expression changes. Folder names describes the expression. The cloud folder is renamed. The contact Acme Corporation renamed, and its cloud folder follows.
  • Move. Drag a manual folder into another folder. A record folder moves when its parent rule or its parent record changes. Parent rules describes that. The cloud folder moves with it.
  • Move to another client, or to a folder with no client. The folder's client changes. Its files come back to Odoo and, with a new client, go there. When files come back to Odoo describes that.
  • Archive. Archive a manual folder and its subfolders. What you can do with a folder describes the menu. The files come back to Odoo and the cloud folder is deleted, unless the reverse sync is off. A record folder archived by hand comes back at the next folders' update while the record still fits.
  • Restore. Unarchive brings the folder back, and the subfolders that were archived with it. The next run creates them in the cloud again and uploads their files.
  • Delete. Folders are archived, not deleted, in the File Manager.

Folders: changes in the cloud

Do not rename, move, or delete synced folders in the cloud. Do that in Odoo.

  • Create a folder inside a synced folder. It becomes a manual subfolder in Odoo at the next run, with its files. A folder added in the OneDrive folder of a project under Internal Projects becomes a manual subfolder of that project.
  • Rename. The new name is not brought to Odoo, and it is not reverted in the cloud. The names differ until you rename the folder in Odoo, which then renames it in the cloud too. The Odoo folder keeps its old cloud address. Open in clouds on that folder may open the old address. Rename in Odoo instead: a manual folder with Rename, a record folder by renaming the record.
  • Move. A move in the cloud is not brought to Odoo. The Odoo tree stays, and the sync goes on. When the folder shows up in another synced folder, Sync Logs show "The folder ... was not created in Odoo. Avoid moving folders in clouds!" A quotation folder moved out of Quotations in the cloud stays under Quotations in Odoo.
  • Delete. The folder is not found. After more than 3 checks in a row it loses its cloud link, its waiting tasks are deleted, and the next run creates it again with its subfolders. The files that were in it are not uploaded again: they were only in the cloud. In Odoo they stay as links that no longer open.
  • The root folder. Deleting it stops the sync of the client. Google Drive, OneDrive, Dropbox, and Box report "The root folder is not available", with no details. Amazon S3, NAS, ownCloud, and Nextcloud report "The client cannot be initiated. Reason: the root folder has been deleted. Try to reconnect". Cloud clients: confirm, pause, reset describes the reconnect. Do not rename or move the root folder in the cloud.

Sync Logs warning about a folder moved in the cloud

Files: changes in Odoo

  • Add. A file added in the attachment box, the File Manager, a message, or an incoming email is uploaded at the next run. Odoo keeps a link. Adding files on a record and Where the files are describe that.
  • Rename. Open the file with Open and rename it on its form. The cloud file is renamed.
  • Move. Use Update folder in the File Manager, or drag the file to a folder. The cloud file moves. A move to a folder of another client brings the file back to Odoo and uploads it there. A move to a folder with no client brings it back to Odoo, and it stays there.
  • Delete. The file is gone from Odoo at once and deleted in the cloud at the next run. Synced files describes the same step.
  • Change the content in Odoo. New content written to a synced file in Odoo is not kept. What you open afterwards is still the content in the cloud. Change the file in the cloud storage, or upload a new file.

There is no merge. In Odoo, move the files with Update folder. Selection and mass actions describes that action. Then archive the empty manual folder. Copying files between cloud folders creates new files in Odoo and leaves the old ones in place.

Sync Logs: a file and a folder updated in Google Drive after changes in Odoo

Files: changes in the cloud

  • Add a file to a synced folder. It comes to Odoo at the next run, in that folder. A file of a record folder is attached to the record. Adding files on a record describes that.
  • Rename. The Odoo file is renamed. A file renamed in the Google Drive folder of the quotation S00005 is renamed in Odoo.
  • Move between synced folders. Odoo deletes the old file and creates it again as a new attachment in the new folder, so its tags are lost, and so is its place in messages and shares. S00005 specification sheet.pdf, moved in Google Drive from the quotation folder into Annexes, came back in Annexes as a new attachment without its tag. A move out of the synced area deletes the file in Odoo.
  • Delete. The Odoo file is deleted at the next run.
  • Change the content. A new version saved in the cloud has nothing to sync. Odoo reads the file from the cloud each time it is opened or downloaded, so it shows the current version.
  • Download on either side works as usual. Where the files are describes the Odoo side.

Sync Logs with a file added, renamed, and deleted in Google Drive and the same changes in Odoo

Records and rules

  • A record is renamed. Its folder is renamed at the next folders' update, then in the cloud. Folder names describes the name.
  • A record stops fitting its rule. Filters, a period, archiving, deletion, or a change of the rule: its folder is archived at the next folders' update, and its files come back to Odoo. Records that stop fitting describes the cases. A record folder that you archive by hand comes back while the record still fits. Which records get a folder describes that.
  • A record fits again. Its folder is restored and synced again, as a restore above.
  • The rule's client changes, or a record moves to a rule with another client. The files come back to Odoo, then go to the new client. For a set of records, use a rule with its own client and filter, for example one rule on Google Drive and one on OneDrive. Several rules for one model describes that. It is two full transfers. Do not do it lightly on many records. Cloud clients: confirm, pause, reset describes a change of client.
  • The rule's parent changes. The folders move in the cloud. When the rule Tasks loses its parent rule Projects, the task folders move out of the project folders in the cloud.

A contacts rule gets the filter Is a Company. The folders of persons come back to Odoo. The folders of companies stay and keep syncing.

When files come back to Odoo

This is the reverse sync. Three directions names it. It runs when a folder stops syncing: it is archived, its record no longer fits, it is moved to a folder with no client or another client, or its client is removed, reset, or changed.

The files are downloaded back into Odoo. The cloud files and folders are deleted. With a new client, the files are uploaded there.

Reverse and move tasks hold the other tasks back until they are done. Maximum Retries (Reverse and Move tasks) limits their retries. Sync logs and queue describes that setting. When a reverse download has used up its retries, Sync Logs show an error. The file was not returned to Odoo and stays a link to the cloud. The cloud folder is kept.

Google Drive exports a Google Sheet, a Google Doc, a Google Slide, and a Google Drawing into a file Odoo can store: an OpenDocument spreadsheet, text, or presentation, or a PDF. A short outage or a rate limit is tried again. A Google file that cannot be exported is skipped at once. It stays a link to the cloud, Sync Logs show an error, and the cloud folder is kept.

Do not change these folders in Odoo or in the cloud until the reverse sync is done. It can take several runs.

Sync Logs: a file brought back to Odoo from OneDrive by the reverse sync

One-way sync and stopping without return

  • Turn off the backward sync. Odoo changes still reach the cloud. Files and folders created, renamed, or deleted in the cloud are not brought to Odoo, and folders deleted there are not recreated. When you clear this switch again, everything done in the cloud meanwhile is applied in Odoo, deletions included.
  • Turn off the reverse sync. When a folder stops syncing, its files are not downloaded back and nothing is deleted in the cloud. The link between Odoo and the cloud items is cut. Saved links still open the files in the cloud, but Odoo no longer downloads, previews, or opens them, and the link cannot be restored. Sync Logs show "The folder ... stopped the sync. The files are left in clouds and not returned to Odoo".

Deleting a synced file in Odoo always deletes it in the cloud. There is no setting that stops that for one file. For a whole folder, Turn off the reverse sync keeps the cloud copy when the folder stops syncing. Turn off the backward sync keeps cloud changes out of Odoo. It does not stop Odoo from deleting a file in the cloud.

Cloud clients: confirm, pause, reset describes where to set both options.

Files of types that are not synced

The types that never sync, and the extra types in Not synced mimetypes, are in What is not synced.

A file of one of those types is not uploaded from Odoo. A file of that type already stored in the cloud stays in the sync, so a deletion or a rename on either side still applies.

Cloud clients: confirm, pause, reset

A cloud client is the connection to one cloud storage account, in Cloud Storage > Configuration > Cloud Clients. Rules and folders choose a client. Where a folder syncs describes that choice. This article covers the life of the client after the setup. Step 2. Confirm a cloud client describes the first confirmation. Each connector's own setup article names its login fields.

Client states

A client has three states.

  • Not Confirmed. The client is new and not connected yet.
  • Confirmed. The client syncs.
  • Reconnected/Paused. The sync of this client is stopped until you press Confirm.

The buttons depend on the state. While a reset is in progress, the client has no buttons.

  • Confirm is shown in Not Confirmed and in Reconnected/Paused.
  • Reconnect/Pause is shown in Confirmed. Odoo asks "Are you sure that you would like to reconnect? It would stop the sync!"
  • Reset is shown in Not Confirmed and in Confirmed, not in Reconnected/Paused. Odoo asks "Are you sure you would like to reset? It would clear all links and then delete the connector!"

Only a confirmed client can be chosen in Clouds Client of a rule or a folder. After the first confirmation, Cloud client and Root folder name cannot change. Odoo creates the root folder itself, at the top of the account. Step 2. Confirm a cloud client describes what each connector does when a folder with that name exists. A NAS can place the root inside an existing directory with NAS base path. To bring existing cloud files in, copy them into the folders Odoo has created. Files: changes in the cloud describes how they reach Odoo. The buttons Rules and Logs open the rules of this client and Sync Logs.

Confirm, Reconnect/Pause, and Reset are refused while a sync run is going: "At the moment the sync is running. Please wait until it is finished".

Errors and notifications

A client that cannot connect shows the error in a red banner at the top of the form. The list shows a client that is not confirmed, or that has an error, in red. A working confirmed client shows the green banner "The cloud client is confirmed and might be used for synchronization".

While the client has an error, its folders are not checked. Its ordinary tasks wait. Reverse and move tasks keep running and can use up their retries. The other clients go on.

If the root folder is gone in the cloud, Google Drive, OneDrive, Dropbox, and Box report "The root folder is not available", with no details. Amazon S3, NAS, ownCloud, and Nextcloud report "The client cannot be initiated. Reason: the root folder has been deleted. Try to reconnect". Then reconnect.

"The root folder is not available. Details: ..." means the check of the root folder failed for a while, for example because the cloud storage could not be reached. It clears by itself at the next run whose check passes. No reconnect is needed.

The chatter of the client records each change of State and of the error. The followers of the client get a message when an error appears or its text changes, for example "The client cannot be initiated. Reason: .... Try to reconnect" or "The root folder is not available". It comes by email or in the Odoo inbox, as each user's notification setting says. The return to a working connection and the state changes are only logged in the chatter. The user who created the client follows it. Others press Follow on the client form.

With the reverse sync on, Reset is refused until the connection is fixed: "The operation is not possible until the connection is fixed". With Turn off the reverse sync on, reset works on a broken connection.

Pause and reconnect

Reconnect/Pause stops the sync of this client and opens the login fields again. Confirm logs in again and resumes the sync. Nothing already synced is removed. Ordinary tasks of a paused client wait for it and do not use up their retries. Reverse and move tasks keep their own retries.

Use it when the connection stopped or the token expired, when the cloud asks for new permissions, when the app secret changed, during a migration of Odoo, or to let another client sync faster for a while. A Google Drive client that asks for permissions again after a long break is paused, confirmed, and logged in again. The Google Drive connection can also stop about once a week, when the Google app is still in Testing. Publish the app explains how to stop that. Before an upgrade of Odoo, read Upgrading Odoo to a new version.

Press Reconnect/Pause, change what is needed, press Confirm, and follow the connector's login. In Reconnected/Paused the secret and the redirect URL can be edited. Paste a new secret there, then confirm. The redirect URL must be the same as the one in the cloud app. The connector's own setup article names the fields.

These cannot change in Reconnected/Paused: the storage type, the root folder name, the app client ID of Google Drive or OneDrive, the app key of Dropbox, and the team drive name. Another app or another storage means another client.

Sync directions

Turn off the backward sync and Turn off the reverse sync are on the tab Settings. Three directions names the directions. What each switch does in full is in Changes in Odoo and in the cloud, in One-way sync and stopping without return.

  • Turn off the backward sync. Odoo changes still go to the cloud. Files and folders created, renamed, or deleted in the cloud are not brought to Odoo, and folders deleted there are not recreated. When you clear this switch again, everything done in the cloud meanwhile is applied in Odoo, deletions included.
  • Turn off the reverse sync. When this client leaves folders, is reset, or is archived, the files are not downloaded back and nothing is deleted in the cloud. The link between Odoo and the cloud items is cut and cannot be restored. Saved links still open the files in the cloud, but Odoo no longer downloads, previews, or opens them. Attached again, the folders are set up from scratch. Use it for a broken connection, or when the cloud copy should stay the only copy.

A confirmed Google Drive client with the buttons Reconnect/Pause and Reset and the two sync switches

Change the cloud storage

To move folders to another account or another storage, create a new client. Do not edit the old one.

  1. Create a client for the new storage and confirm it. Step 2. Confirm a cloud client and the connector's own setup article describe that.
  2. On the rule, or on a top-level manual folder, choose the new client in Clouds Client. A child rule follows its parent. Parent rules describes that.
  3. Wait. At the next folders' update and sync runs, the folders come back to Odoo from the old storage, the old cloud folders are deleted, and then the folders and files are uploaded to the new client. How the sync works describes the runs. When files come back to Odoo, in Changes in Odoo and in the cloud, describes the reverse sync.

The rule Departments was switched from one client to another. Its child rule Employees followed. All 84 files came back to Odoo, Sync Logs showed each returned file, and they were on the new client after two sync runs.

This is two full transfers of every file of the rule. Plan it for a quiet time, and for one rule at a time.

With Turn off the reverse sync on the old client, the files are not brought back. The folders are detached and set up from scratch on the new client, and the old files stay only in the old storage.

Until the move is finished, the old client must stay confirmed and reachable. Do not reset or delete it before then. While it has an error, its folders are not checked.

A reverse task that fails is tried again, up to Maximum Retries (Reverse and Move tasks). Sync logs and queue describes that setting. When a reverse download has used up its retries, Sync Logs show an error. The file was not returned to Odoo and stays a link to the cloud. The cloud folder is kept.

Google Drive exports a Google Sheet, a Google Doc, a Google Slide, and a Google Drawing into a file Odoo can store. A short outage or a rate limit is tried again. A Google file that cannot be exported is skipped at once. It stays a link to the cloud, Sync Logs show an error, and the cloud folder is kept.

Reset a client

Reset removes this client from all its rules and folders, then removes the client. A Not Confirmed client is deleted at once. A confirmed one is archived and shows "The cloud client is finishing the reverse sync before deletion. Do not change or delete that. It will be removed automatically". It is removed when that reverse sync is done.

With the reverse sync on, the files come back to Odoo and the cloud folders are deleted first. With it off, nothing is downloaded or deleted, and the links are cut. The warning above applies to a reset that brings the files back. Check first that the Odoo server has room for the files.

Archived clients are under the filter Reversed (Archived).

Before you uninstall the app, reset every client and wait until each one is gone from the list. With the reverse sync on, the files come back to Odoo first. With it off, the files stay in the cloud and Odoo keeps no working link.

Reset is not possible while the client is paused: there is no Reset button in Reconnected/Paused. Press Confirm first.

The question Odoo asks before it resets a cloud client

Copies of the database

Restrict Database Sync and Database to Sync are on the tab Misc, in developer mode. Turn them on, on the production database, before you copy it to staging or a test. A copy with another database name syncs nothing and logs "The client sync is restricted by the database name". On Odoo.sh a staging build copies the database, so set this on production first.

Neutralizing the database turns off what contacts the cloud. The sync queue does not run. Launch Sync, Confirm, and the cloud login show "This database is neutralized: cloud synchronization is off." The reverse sync does not run. Database backups are skipped, with "Database backups are skipped because this database is neutralized." Odoo turns all scheduled actions off. The line "Cloud synchronization is skipped because this database is neutralized." appears in Sync Logs only if you turn the sync action back on.

Launch Folders' Update still runs, so you can check the rule structure on the copy. A synced file in the copy does not open or preview. Neutralizing archives every cloud client, deletes the sync queue, and clears the keys and secrets of every connector, so Odoo cannot read the cloud.

A copy under another name also skips automatic backups. Database backups describes it.

The Misc tab of a cloud client with Restrict Database Sync

Sync logs and queue

Sync Logs show what the sync did and what failed: which folders and files were created, changed, moved, or deleted, on which side, and when. Open them in Cloud Storage > Configuration > Sync Logs. They do not replace the Odoo server log. A warning here may still need the server log for its cause.

The Sync Logs screen

The left panel filters the lines. Under Cloud Clients, each client has a switch. With none on, you see every client. The client name opens that client, and its color follows the client state. The first switch, General sync, is not a client: it shows the lines that belong to no client, marked [SYNC#CORE]: the start and the end of each run, and the folders' update.

Log Levels lists CRITICAL, ERROR, WARNING, INFO, and DEBUG. With none on, you see every level. Period sets the time from and to.

Planned tasks opens the queue. Failed tasks appears when a task has failed at least once, and it opens only those tasks. Export logs is on this panel.

The search looks through the message, the client, the level, and the time. To see what happened to a file, search by its name. A date such as 2026-11-28 finds the lines of that day in UTC.

The screen refreshes itself every 6 seconds and, while you are at the bottom, scrolls to the newest line, so you see the logs in real time. It shows 500 lines at a time. ... load more loads older ones.

The log lines, with the client filters on the left

Reading a line

A line is the time, the level, the client in brackets, and the message. For example: 2026-11-28 13:47:31 INFO [Google Drive#...] The attachment S00005 site visit.txt,... was created in Odoo based on the cloud data.

The time is UTC. It is not your time zone.

INFO is green: done. WARNING is orange: something to look at. ERROR is red: failed. DEBUG is gray: a technical detail. A failed action is ERROR by default.

"based on the cloud data" came from the cloud into Odoo. "in clouds" was sent from Odoo to the cloud.

Sync Logs filtered on errors and warnings

Typical messages

"Cloud sync was started. Locked till: ..." and "Cloud sync was finished. Unlocked" mark one run. The folders' update starts with "The folders' update was started. Locked till: ...". One sync run in How the sync works describes the run.

WARNING: "Cloud sync was started but the previous process had not yet finished. Locked till: ..." means the earlier run is still working. There is nothing to do. The folders' update writes "Folders update was started but the previous process had not yet finished. Locked till: ...".

"Reverse sync operations found" means reverse or move tasks are waiting, and the run takes only them until they are done. When files come back to Odoo describes that work.

ERROR: "Reverse sync stopped trying to download the file '...' in the folder '...' after the last retry. The file was not returned to Odoo. The folder was left in the old cloud." The file stays a link to the old cloud storage, and the old folder is kept. Do not delete or reset the old client while you still need that file.

ERROR: "The file '...' ... cannot be exported to Odoo. ... Reason: ...". A Google Drive file of a type Google cannot export is skipped at once, is not retried, and stays a link. A short outage or a rate limit is tried again.

"The folders maximum ... was exceeded: ... The rule ...,... doesn't update folders any longer." The rule has stopped updating its folders. Folder limit describes what to do.

"The folder ... was not created in Odoo. Avoid moving folders in clouds!" Odoo did not create a folder that was moved in the cloud. Folders: changes in the cloud describes that case.

WARNING: "The attachment ...,... was not uploaded to clouds since it has an empty size". A file of 0 bytes is not uploaded and stays in Odoo. Its task is done and is not retried. There is nothing to do.

"The client could not get children for the folder ... due to the missing error. Trying later" means a run did not find a synced folder in the cloud storage. The next runs look for it again. After more than 3 misses in a row, the folder loses its cloud link and is created again with its subfolders. Files that were only in the deleted folder are not uploaded again. Folders: changes in the cloud describes that case.

"The folder ...,... was not uploaded to clouds due to the parent folder missing error" means a subfolder could not be created because its parent is missing in the cloud. Its task waits and is tried again until the parent exists in the cloud again.

"The attachment ... wasn't retrieved from clouds due to the missing error" is written when someone opens, previews, or downloads a synced file that is no longer at its address in the cloud storage, for example because it or its folder was deleted there. The file does not open. Files: changes in the cloud describes what the sync does with such changes.

"The root folder is not available. Details: ..." means the check of the root folder failed, for example because the cloud storage could not be reached. Every scheduled run checks the client again. When the check passes, the error clears by itself and the sync goes on. Until then, the tasks of the client wait and do not use up retries. A short outage needs no reconnect. If the error stays, read the details.

The same line without details means the root folder was not found in Google Drive, OneDrive, Dropbox, or Box. Amazon S3, NAS, ownCloud, and Nextcloud report a deleted root folder as "The client cannot be initiated. Reason: the root folder has been deleted. Try to reconnect". In both cases the tasks of the client wait until you reconnect it, which creates a new root folder. Pause and reconnect describes the reconnect.

A client error. "The client cannot be initiated. Reason: .... Try to reconnect". Errors and notifications describes it.

A copy of the database. "The client sync is restricted by the database name". Copies of the database describes that setting.

An email with a synced file. WARNING: "The email was not sent because the cloud file ... could not be read: ...". Existing attachments in a message describes that case.

The queue

Every change becomes a task. A run takes the tasks and does them. One sync run describes that.

Sync Queue is in Cloud Storage > Configuration > Sync Queue, in developer mode, for the Cloud Storage group Administration. The counters on Sync Logs open the same list.

The list shows Task, Clouds Client, and Folder. A task that has failed at least once is red. Group by Folder, Cloud client, or Task. The form shows the attachment, Failed attempts, and Not earlier than (the next try). Nothing on the form is editable.

Tasks run oldest first. While a reverse or move task is waiting, a run takes only those. A task also waits for its folder's parents and for the tasks it depends on, for example a folder before its files.

Tasks of a paused client, or of a client with an error, wait and do not use up retries. Reverse and move tasks keep their retries. Pause and reconnect describes the client. A large queue takes many runs. Large volumes gives the example.

The Sync Queue with tasks of several types for Dropbox, OneDrive, and Amazon S3, and the Requeue action

Retries

A failed task is tried again up to Maximum Retries times, 7 by default, after 30 minutes, 1 hour, 2 hours, 4 hours, and so on, never more than 24 hours apart.

Reverse and move tasks use Maximum Retries (Reverse and Move tasks), 4 by default. They hold the other tasks back, so they get fewer tries.

After the last retry, any task other than that reverse download is dropped with a DEBUG line: "... was fully canceled due to the exceeding maximum re-tries number". The reverse download writes the ERROR line above.

Select the tasks in Sync Queue and choose Actions > Requeue. They are tried at the next run, without waiting for Not earlier than. Use it after you have fixed the cause.

The log and retry settings of Cloud Storage

A failing task

When Failed tasks is not 0, or the sync seems stuck:

  1. Filter on ERROR and WARNING, the client, and the period, and read the message.
  2. Check the client for a red banner or a pause. Errors and notifications describes both.
  3. Open the failed tasks from the counter. The task, its folder, and its attachment tell what it was trying. Failed attempts and Not earlier than tell when it tries next.
  4. A reverse or move task in red holds the others back. Fix that cause first. When files come back to Odoo describes those tasks.
  5. Fix the cause, then Requeue. If it still fails, Export logs and send the file to support with the time of the problem.

The Odoo server log may hold the cause of a WARNING or an ERROR. For one named error, search this page for the text of the message.

Log size and export

Logs storage period (days), in Configuration, deletes older logs once a day. The period is at least 3 days. A smaller value is set back to 3.

Delete all logs, under Logs to Export, deletes every sync log after the question "Are you sure? This will permanently delete all cloud sync logs." Only the Cloud Storage group Administration and the group Access Rights can use it. If the log table has grown large, lower the period, then delete all once.

Export logs downloads the lines that match the current clients, levels, period, and search, as text. Logs to Export caps the file at 50,000 lines by default. Earlier lines are left out.

Email notices for a client are in Errors and notifications.

Access rights

The app adds two groups for its own menus. Who sees a folder or a file follows the Odoo record it belongs to, and the rights in the cloud storage stay outside Odoo.

The groups

On the user form, under Productivity, Cloud Storage is File manager access or Administration. The admin user and OdooBot get Administration when the app is installed.

  • File manager access opens the Cloud Storage menu and File Manager. You can create and change tags. You can use the mass actions, the shares, and their wizards.
  • Administration includes File manager access. It adds Cloud Storage > Configuration: Cloud Clients, Auto Folders Rules, Sync Logs, and the settings. You can delete tags. Backup Strategies on a client need this group and developer mode. Sync Queue and Folders, in the same menu, also need developer mode.

The Cloud Storage access of a user: File manager access or Administration

Sharing, Tags, and Show synced images and GIFs preview in real time are switches in the settings, not a choice for one user. Turning one on gives it to every internal, portal, and public user. Settings describes the page.

Shares appears in the Cloud Storage menu when Sharing is on. Since it sits in that menu, it also needs File manager access. Tags under Configuration needs Administration and Tags on.

What each user sees

  • No Cloud Storage group: there is no Cloud Storage menu. The attachment box of a record you can open still shows its folders and files, as far as the folder access allows. Folders in the attachment box describes that box. Download and preview follow Access in the cloud storage, below.
  • File manager access: you also get File Manager, with the same folders and files as in the attachment boxes. Tags, mass actions, and shares follow their switches. Selection and mass actions describes the actions.
  • Administration: you also get the clients, the rules, Sync Logs, and the settings. Sync logs and queue describes the logs. Sync Queue is there in developer mode.

Folders and files follow records

Access to folders sets who sees a folder: a record folder follows its record, a folder with no record follows the nearest record folder above it, the top folder of a rule follows the rule's model, a manual folder outside any rule is open to all internal users, and Extra security applies to manual folders.

A folder is also hidden when you cannot read the record of the folder directly above it. A rule folder with no record, such as Quotations, does not count as that parent.

The folders above stay as long as you can read their records. A salesperson who sees only own quotations, but can read the customers, keeps the whole tree and finds only own quotation folders in it.

An administrator sees the full tree: Customers, then Acme Corporation, then Quotations, with every quotation folder of that customer.

The folder tree of an administrator

A salesperson with Sales set to User: Own Documents Only, and with File manager access, can still read the customers, so Customers, Acme Corporation, and Quotations stay. Inside Quotations, only the folders of own quotations S01196 and S01182 are left. S00005 and S00001 of other salespeople are hidden.

The same tree for a salesperson who sees only own quotations

A file follows its folder. A file you put into a folder that has no record of its own, a manual folder or a rule folder such as Quotations, is no longer attached to the record: its access is that folder's access, Extra security included.

Who can change folders and files

Who can change a record can add files to its folder and change them. Who can only read the record sees the files and cannot change them. In the top folder of a rule and in its manual subfolders, the same goes for the rule's model.

Nobody can rename, move, or archive an automatic folder in Odoo, administrators included. On a manual folder, Extra security limits who sees and changes it, but it cannot make the folder read-only. A limit that leaves the folder open to nobody is refused. Access to folders describes both.

The error when a limit leaves a folder open to nobody

A change made directly in the cloud storage comes to Odoo with the sync. Changes in Odoo and in the cloud describes that. The app cannot stop it.

Access in the cloud storage

The app does not manage rights in the cloud storage. Every operation uses the one account of the cloud client. Your own login there is not used.

Download and preview in Odoo go through Odoo. Odoo fetches the file with the client's account and sends it to the browser. You need the Odoo access above. You do not need an account in the cloud storage.

Open in clouds, in the attachment box, and the link under a file name in File Manager, open the cloud storage itself, so they need access there.

Whoever can open the cloud folders sees every file in them, whatever Odoo allows that person. Set those rights in the cloud storage.

Three connectors can make that link open without a cloud account:

  • ownCloud / Nextcloud: Use public URLs makes the links shared, so everyone with the link can open the file. See ownCloud and Nextcloud setup.
  • Amazon S3: Use Public URLs gives public links, for a public bucket or a CDN only. See Amazon S3 and MinIO setup.
  • Box: No shared links to Box from Odoo is on by default. Turn it off, and Odoo tries to create shared links. See Box setup.

Portal users get files only through shares. See Sharing.

Sharing

A share opens chosen files, folders, and tags to contacts through the Odoo portal, or to anyone through a link. The recipient works on a portal page. The files stay where they are in Odoo and in the cloud.

What a share is

A share holds files, folders, and tags, and the contacts in Portal Access.

A shared folder brings its subfolders and all their files. A shared tag brings its child tags and their files. That set is built every time the page opens, so a file added to a shared folder later is in the share at once.

A file can sit in several shares. Moving, tagging, and sharing by drag describes adding a file to a share from the File Manager.

The recipient gets the files of the share whatever their own Odoo rights. Share only what that contact may see.

A synced file downloads the same way: Odoo fetches it from the cloud storage and sends it to the browser. Access in the cloud storage describes that path. The recipient needs no cloud account.

Create a share

Sharing must be on in Cloud Storage > Configuration > Configuration. It turns sharing on for every internal, portal, and public user at once. The groups describes that switch. Without it, the share pages answer 404.

Users with File manager access create shares, in three places:

  • Cloud Storage > Shares > New.
  • In the File Manager, select files and choose Share under Apply to selection. Add that action in the settings first. Selection and mass actions describes the list. The wizard offers Create a new share or Add to an existing share, plus Extra Shared Folders and Extra Shared Tags. Send Invitation is there only for a new share that already has contacts.
  • Drag files onto a share in the Shares tree. Moving, tagging, and sharing by drag describes that.

The Share wizard on Add to an existing share

The share form groups its fields like this:

  • Portal Access holds the contacts. Access by Token shows Access Url, which you copy. Active Till sets when the share ends.
  • The Attachments tab holds Shared Folders, Shared Tags, and Shared Attachments.
  • The View and permissions tab holds the switches of the next section. Show tags and its two options are there only when Tags is on in the settings.
  • Parent Share, on the View and permissions tab, puts the share under another share in the Shares tree of the File Manager. Dragging a share in that tree changes the same field. Archiving a share archives the shares under it.
  • The Notes tab holds a description. The form also has the chatter.
  • The buttons are Regenerate Token (only with Access by Token), Preview Portal, and Send Invitation.

A share form on the Attachments tab, with Portal Access, Access by Token, Active Till, one shared folder, and one tag

Send Invitation, the form button or the same item in the File Manager menu, adds the chosen contacts to Portal Access and posts the message to them, by email and in the chatter of the share. The default message holds the link to the share page. The contact needs a portal user to open it. Granting that access is the standard Odoo portal access.

Right-click a share in the File Manager tree for Download as archive, Send Invitation, Copy access url (only when the share has a token), Preview portal, Create, Rename, Edit, and Archive. The tree itself is in The screen.

The menu of a share in the File Manager Shares tree

What the recipient may do

On every share, the recipient can:

  • see the files, and sort them by Name or Folder;
  • search by Name or Search by folder. Search by tags needs Tags on;
  • download one file, or the whole share with Download share as archive.

The rest depends on the switches:

  • Allow Uploading requires Uploading Folder. The page shows Upload, and drag and drop works too. With Show folders, the button reads Upload to and the name of the folder picked in the tree, and the files go there. Without Show folders, files always go to Uploading Folder. An uploaded file becomes an attachment of that folder's record, as a file added in Odoo does, and it is synced with the folder. In a folder with no record of its own, such as Quotations, the file belongs to the folder only. The example below shows both.
  • Show folders puts a folder tree on the left. The tree holds the shared folders with their subfolders, and the folders of the shared files. A folder that is there only because one file in it is shared shows just the shared files.
    • Allow adding folders: Create on a folder in the tree adds a manual subfolder in Odoo, inside the share.
    • Allow searching folders: a search box above the tree.
    • Right-click a folder and choose Download as archive. The archive holds the files of that folder only, not those of its subfolders.
  • Show tags needs Tags on. It adds a tag tree with the shared tags, their child tags, and the tags of the shared files. Allow adding tags and Allow searching tags work as for folders. A tag added in the portal is a child of a shared tag.
  • Allow slideshow adds Slideshow. It plays the images of the current list. Slideshow describes the player.
  • Show Chat puts Communication History under the list. A message posted there is posted on the share in Odoo, and the followers of the share receive it.

The View and permissions tab with Allow Uploading, Show folders, Show tags, slideshow, and chat

The share page with the folder tree, the file list, Upload, Download share as archive, and Slideshow

A message under the file list on the share page, and the same message in the chatter of the share

The share Acme quotations holds the folder Quotations of the customer Acme Corporation, with Addison Olson of Acme in Portal Access. Allow Uploading and Show folders are on, and Uploading Folder is Quotations.

Addison opens Shares in the portal, picks S00005 in the folder tree, and uploads two files with Upload to S00005, 465.75 USD. In Odoo the files appear in that folder as attachments of the quotation S00005, and go to the cloud with the next sync. A file uploaded to Quotations itself stays in that folder and is attached to no quotation.

The standard portal page of a task does not get an upload button. A share is its own portal page.

Shares in the portal

The portal home has a card Shares, "Check and download shared attachments". It appears once the user has an active share.

The Shares card on the portal home

The card opens My Shares. You search the list by name. Opening the list requires a login.

The My Shares list

A user sees a share when their contact, or their company, is in Portal Access. A share given to a company reaches every contact of that company who has a portal user.

An internal user listed in Portal Access gets the same portal page, even without File manager access.

The portal page of a sales order does not show a link to the cloud folder. A share is its own portal page.

Access by Token shows Access Url. Anyone with the link opens the share without a login and can do what the switches allow, upload included.

Regenerate Token makes the old link stop working. Odoo asks first: "Are you sure? This action will make the previous access URL invalid".

Turning Access by Token off stops the link at once.

Expiry and archive

Active Till: from that moment the share no longer opens, by login or by link. The daily job [Cloud Storage] Check Expired Shares then archives it. To bring it back, clear Active Till or move it forward, then unarchive the share. Unarchiving alone is not enough: the share stays closed, and the job archives it again.

Archive hides the share from the portal and from the File Manager tree.

Who sees shares

Every user with File manager access sees and edits every share. Preview Portal shows every file of a share. A file shared by one colleague is visible to every File Manager user.

The files and folders you can pick for a share are the ones you see in the File Manager. Folders and files follow records describes that.

Who sees folders and files in Odoo itself is Access rights.

Google Drive setup

You create a small OAuth app in your Google Cloud project, then connect it on a cloud client in Odoo. At Confirm, you log in to Google, and Odoo works in Google Drive under that account.

Before you start

You need the Google Drive connector. It works together with Cloud Storage Solutions.

Turn on Google Drive Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

You need a Google account with Drive, and a Google Cloud project you may change. A personal Google account is enough. A Google Workspace account is needed only for a shared drive.

On the client, Redirect URL is filled from the address of this Odoo, plus /google_drive_token. An example is https://your-odoo.example.com/google_drive_token. It must be the HTTPS address your users open. If Odoo shows an http:// address, or an internal one, correct Redirect URL before you copy it.

Create the client first. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Google Drive. Copy Redirect URL. Then go to Google Cloud.

Create the app in Google Cloud

  1. Open the Google Cloud console and create a project, or pick one.
  2. Google Auth Platform > Get started. The wizard is one page with four steps, and it shows only on a project that has no Auth Platform yet. Set App name (any name, for example Odoo Drive Sync) and User support email. On Audience, choose External: a personal Google account can use the app. Internal is only for the users of one Google Workspace organization. Add Contact information as a chip, agree to the Google API Services User Data Policy, and press Create.
  3. APIs & Services > Library. Search Google Drive API and press Enable. After that, Enable is gone.

The Google Drive API page with the Enable button

Create the OAuth client

  1. Clients > Create client. Application type is Web application. The name can be anything.
  2. Under Authorized redirect URIs, paste Redirect URL from Odoo, exactly. A different scheme, host, or a trailing / stops the login.
  3. Press Create. Copy Client ID and Client secret. Google shows the secret in full only in this dialog. Keep it safe.

A web application OAuth client with the Odoo redirect URL

The client ID and secret to copy into Odoo

Do not add scopes under Data Access. Odoo asks for them at the login: full access to Drive.

Publish the app

  1. On Branding, set Application home page and Application privacy policy link, for example pages of your Odoo website, and press Save. Google fills Authorized domains from the redirect URL. You do not type the domain in.
  2. Audience > Publish app. Confirm Push to production?. Publishing status becomes In production.

Publishing status In production on the Audience page

Do not upload an App logo. Once the app is not in Testing, a logo makes Google ask for a verification.

The consent page can say that Google has not verified this app. It is your own app. Publishing does not by itself make Google verify it.

Connect Odoo

A Google Drive cloud client in Odoo before Confirm

  1. On the client you created: paste App client ID and App client secret. Redirect URL stays the one you put in Google. Root folder name is Odoo unless you change it. Step 2. Confirm a cloud client describes the rules for that folder. If a folder with that name already exists, Google Drive creates a second one with the same name. Choose a new name. Finish the login of one client before you press Confirm on another.
  2. Press Confirm. Google opens in a new tab. Pick the account whose Drive Odoo should use. The consent page names the app by its domain. Leave both Drive permissions checked, scroll down, and press Continue.
  3. Google sends you back to the client form. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The folder Odoo is in My Drive.

The Google consent page with both Drive permissions checked

The new Odoo folder in My Drive

Stay logged in to Odoo in the same browser. The tab Google returns to asks for an Odoo login.

If a permission was not granted, the red banner says "Could not authenticate: make sure you have granted all permissions". A wrong client secret says "Could not authenticate: check credentials". A redirect URL that is not in the Google client stops on a Google page with the error redirect_uri_mismatch. If Drive is unchecked on the consent page, the banner says "It is not possible to authenticate: a root folder cannot be created. Check logs". Errors and notifications describes that banner.

Google shows the consent page at every Confirm. That is expected.

After Confirm, App client ID, Root folder name, and Team drive name cannot change. App client secret and Redirect URL can, while the client is in Reconnected/Paused.

Google Drive calls them shared drives. The Odoo fields say team drive. Before Confirm, turn on Google team drive in use and type Team drive name exactly as it is in Google Drive. The root folder is then created in that shared drive, not in My Drive.

The Google account must be a Workspace administrator who can list the shared drives. If the name does not match, or the account cannot list them, Odoo does not confirm the client and says the shared drive was not found. Check the name, including spaces, and the account.

Reconnect and other cases

Google can end the login: the app was revoked, the password changed, the app is still in Testing, or the login was not used for six months, for example on a client paused that long. The log says "The token has expired or revoked". Press Reconnect/Pause, then Confirm, and log in again. Pause and reconnect describes the buttons.

For a new client secret, press Reconnect/Pause, paste it into App client secret, and press Confirm. A new Google Cloud app has a new client ID, so it needs a new Odoo client. Change the cloud storage describes that.

A file or folder deleted in Google Drive stays in its bin, and Odoo still sees it there until the bin is emptied. Changes in Odoo and in the cloud describes a deletion in the cloud.

OneDrive and SharePoint setup

You register an app in Microsoft Entra, then connect it on a cloud client in Odoo. At Confirm, you log in to Microsoft, and Odoo works in OneDrive, or in a SharePoint document library, under that account.

Before you start

You need the OneDrive and SharePoint connector. It works together with Cloud Storage Solutions.

Turn on OneDrive / SharePoint Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The server needs the Python packages microsoftgraph-python and requests. Without them, Odoo cannot install the connector.

The app is registered in a directory, also called a tenant. Microsoft no longer lets you register an app outside one. Use your company Microsoft 365 or Azure directory. With only a personal account, such as outlook.com, hotmail.com, or live.com, create a free directory first: the free Azure sign-up with that same account creates one. The sign-up asks for a bank card to check your identity. The directory and the app registration are free and do not depend on the Azure trial credit. An unused directory can be retired by Microsoft. A working sync keeps it in use.

The account that logs in at Confirm must be able to grant the permissions and see the drive. For SharePoint, that is an admin who can list the site's libraries.

Create the client first. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose OneDrive or SharePoint. Redirect URL is filled from the address of this Odoo, plus /one_drive_token. An example is https://your-odoo.example.com/one_drive_token. It must be the HTTPS address your users open. If Odoo shows an http:// address, or an internal one, correct Redirect URL before you copy it. Then go to Microsoft Entra.

Register the app in Microsoft Entra

  1. Microsoft Entra admin center > App registrations > New registration. Register the app in your directory, not under Microsoft Services.
  2. Name: any.
  3. Supported account types: Any Entra ID Tenant + Personal Microsoft accounts. After you register, Overview shows this as All Microsoft account users. The Odoo login is not tied to one directory, so an app limited to one directory fails at the login.
  4. Redirect URI: platform Web, paste Redirect URL from Odoo, exactly. The form marks this field optional. A missing URI, or a different scheme or host, stops the login.
  5. Press Register. On Overview, copy Application (client) ID into App client ID in Odoo.

Register the app with personal and work accounts and the Odoo redirect URL

The application (client) ID to copy into Odoo

Do not add API permissions. Odoo asks for them at the login: openid, Files.ReadWrite.All, and offline_access. The consent page names your app, marks it unverified, and lists the permissions. Press Accept. Overview shows the warning "End users cannot grant consent to newly registered multitenant apps without verified publishers." If the page still offers Accept, press it. If Microsoft asks for an administrator's approval instead, log in as an administrator of that directory.

Add a client secret

  1. Certificates & secrets > New client secret. Enter a description and an expiry.
  2. Copy the Value, not the Secret ID, into App client secret in Odoo. Entra shows the value only right after you add it.

Copy the secret value, not the secret ID, and note its end date

The Expires column is the end date. Note it. When it expires, the login stops. Add a new secret, press Reconnect/Pause, paste it into App client secret, and press Confirm. Pause and reconnect describes the buttons. In Reconnected/Paused, App client secret and Redirect URL can change. App client ID cannot.

A wrong secret, often the Secret ID pasted instead of the Value, shows "It is not possible to authenticate: check credentials!".

Connect Odoo

A OneDrive cloud client in Odoo before Confirm

  1. On the client: App client ID, App client secret, and Redirect URL are the values from Entra. Root folder name is Odoo unless you change it. Step 2. Confirm a cloud client describes the rules for that folder. If a folder with that name already exists, OneDrive creates a second one with the same name. Choose a new name. Finish the login of one client before you press Confirm on another.
  2. Press Confirm. Microsoft opens its login in a new tab. Pick the account whose OneDrive Odoo should use, and press Accept.
  3. Microsoft sends you back to the client form in that tab. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The root folder is in My files of OneDrive.

Microsoft asks to let the app access your files

The new root folder in My files

Stay logged in to Odoo in the same browser. The page Microsoft returns to asks for an Odoo login.

If Microsoft offers an account that does not exist in the tenant Microsoft Services, or in another directory, do not pick that row. Choose Use another account and sign in with the account of the app's directory.

If a permission was not granted, or the app is limited to one directory, the red banner says "It is not possible to authenticate: make sure you have granted all permissions". Check Supported account types first, then that the redirect URI has the platform Web. If OneDrive cannot be read, it says "The personal drive wasn't found. Check that your user is a full-rights admin." If the root folder cannot be created, it says "Could not authenticate: root folder cannot be created. Check logs". Errors and notifications describes that banner.

After Confirm, App client ID and Root folder name cannot change.

SharePoint

SharePoint needs a work or school account. A personal Microsoft account works only with the client type OneDrive.

Cloud client SharePoint adds SharePoint URL, SharePoint site, and Documents Library. The Entra steps are the same.

SharePoint URL has the form https://company.sharepoint.com/, with the last /, and without the site name.

SharePoint site is a name such as finance, which Odoo reads as sites/finance, or the path sites/finance, or teams/finance. Do not put a / at the start or the end. Use root for the root site.

Documents Library is the library name exactly as on the site. The default is Documents. The root folder is created inside that library.

SharePoint URL, site, and document library on a SharePoint client

Choose the site and the library before the first Confirm. Odoo does not move the root folder or the synced folders to another library. After the first Confirm, the three fields cannot be changed. Another site or library needs a new Odoo client.

If the library is not found, Odoo does not confirm the client. Check that the library exists on that site, that the name has no extra symbols or spaces, and that the account is an admin who can list the libraries.

Reconnect and other cases

Microsoft can end the login: the secret expired, the password changed, the consent was revoked, or the login was left unused. Press Reconnect/Pause, then Confirm, and log in again. Pause and reconnect describes the buttons.

A new app, with a new client ID, a different Microsoft account, or another library needs a new Odoo client. Change the cloud storage describes that.

ownCloud and Nextcloud setup

Odoo connects to your ownCloud or Nextcloud server over WebDAV with a user and a password. There is no app to register and no login page: Confirm checks the connection and creates the root folder.

Before you start

You need the ownCloud and Nextcloud connector. It works together with Cloud Storage Solutions.

Turn on ownCloud / Nextcloud Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The Odoo server must reach the server address. Use HTTPS. Odoo checks the certificate.

Prepare the user

Create a user for Odoo that can read, create, change, and delete files in its own files. Odoo works in that user's files. The root folder is created in All files. An email address works as the login.

Use an app password for that user. In Nextcloud, open Personal settings > Security. At the bottom of the page, under the list of devices and sessions, enter an App name and press Create new app password. The dialog New app password shows Login and Password once. Copy Password. With two-factor login on, the normal password does not work over WebDAV. An app password can be revoked without changing the user's password.

An app password for Odoo in Nextcloud

Connect Odoo

A Nextcloud cloud client in Odoo before Confirm

  1. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Nextcloud or ownCloud. The fields are the same.
  2. URL is the address as in the browser, including a sub-path when the server runs under one. Examples are https://cloud.example.com/ and https://cloud.example.com/nextcloud/. Odoo adds a missing /, then remote.php/webdav. Do not paste the WebDAV address.
  3. Login and Password. Password is the app password.
  4. Use public URLs: leave it off unless you need the links in the next section.
  5. Root folder name: no folder with that name may already exist in the user's files. If it does, the client is not confirmed, and the red banner says "Client was not confirmed since root folder could not be created". The root is created in All files, beside the user's other folders. It cannot sit inside an existing directory. Only NAS setup has a base path. Step 2. Confirm a cloud client describes the name.
  6. Press Confirm. Odoo logs in with a WebDAV request, creates the root folder, and the client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". No login page opens.

The Odoo root folder in Nextcloud

A wrong URL, login, or password shows "Could not finish authentication since client could not be initiated". Sync Logs hold the reason, "The client cannot be initiated. Reason: …". Errors and notifications describes that banner.

By default the link is the server address plus index.php/f/ and the file id. It opens the file in ownCloud or Nextcloud for a user who is logged in there and can see the file.

The internal link opens the file in its Nextcloud folder

Share the root folder, or the folders those colleagues need, with them in Nextcloud. A download or a preview in Odoo does not need that share: Odoo reads the file with the client's user. Where the files are describes that.

Use public URLs makes Odoo create a public share link for every synced item. Anyone with the link opens the file. Creating the links slows the sync.

If the server refuses a share link, Odoo keeps the internal link and logs "Could not generate a public share URL … The internal link is used instead". Run the sync again once the sharing quota resets. Sync logs and queue describes the logs.

Reconnect and other cases

For a changed password or a revoked app password, press Reconnect/Pause, paste the new password, and press Confirm. Pause and reconnect describes the buttons.

A root folder deleted in the cloud is described in Errors and notifications. Another server or another user needs a new Odoo client. Change the cloud storage describes that.

Dropbox setup

You create an app in the Dropbox Developer Console, then connect it on a cloud client in Odoo. Odoo then works in Dropbox under the account you log in with at Confirm, or, for a team, under the team member you name.

Before you start

You need the Dropbox connector. It works together with Cloud Storage Solutions.

Turn on Dropbox Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The Odoo server needs the Python package dropbox.

Create the client first. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Dropbox. Redirect URL is filled from the address of this Odoo, plus /dropbox_token. An example is https://your-odoo.example.com/dropbox_token. It must be the HTTPS address your users open. Dropbox accepts an http:// address only for localhost. If Odoo shows an http:// address, or an internal one, correct Redirect URL before you copy it. Then go to the Dropbox Developer Console.

Create the app in Dropbox

  1. Open Create app. Choose Scoped access. For the type of access, choose Full Dropbox. Type a name that is not already taken, and press Create app. Full Dropbox lets Odoo create the root folder at the top of the Dropbox when you confirm the client.

    Create a scoped Dropbox app with full Dropbox access

  2. Open Settings. Under Redirect URIs, paste Redirect URL from Odoo, exactly, and press Add.
  3. Open Permissions. Tick files.metadata.write, files.content.read, files.content.write, and sharing.write. Dropbox also turns on files.metadata.read. Leave it. For a team, also tick team_data.member and members.read. Press Save changes. Odoo asks for exactly these permissions at the login. Tick and save all of them before Confirm.

    The four permissions Odoo needs

  4. On Settings, copy App key. Press Reveal app secret and copy App secret. Both go into the Odoo client.

    The Odoo redirect URL, the app key, and the app secret in the Dropbox app settings

After a change on Permissions, press Reconnect/Pause and Confirm, so the new login carries them.

Connect Odoo

A Dropbox cloud client in Odoo before Confirm

  1. On the client, paste App key and App secret. Redirect URL stays the one you added in Dropbox. Root folder name must be a name that no folder at the top of the Dropbox already has. If a folder with that name exists, the client is not confirmed, and the red banner says "The app confirmation was not finished. The root folder could not be created. Check the logs!". Step 2. Confirm a cloud client describes the name. Finish the login of one client before you press Confirm on another.
  2. Press Confirm. Dropbox opens its login. On Before you connect this app, press Continue, then press Allow.
  3. Dropbox sends you back to the client form. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The root folder is at the top of the Dropbox.

The Odoo root folder in Dropbox

Stay logged in to Odoo in the same browser. The page Dropbox returns to asks for an Odoo login.

If the login cannot finish, the red banner says "Could not finish authentication. Reason: ...". Errors and notifications describes that banner.

After Confirm, App key, Dropbox teams, Admin email, and Root folder name cannot change. App secret and Redirect URL can, while the client is in Reconnected/Paused.

Dropbox teams

Turn on Dropbox teams and fill Admin email before the first Confirm. The app also needs team_data.member and members.read, from Permissions above.

Dropbox teams and the admin email on a Dropbox client

Odoo creates, changes, moves, and deletes every item as that team member. The address must be the member's email exactly as it is in Dropbox. If it does not match, the client cannot start. Sync Logs say that no user was found for that admin user. Sync logs and queue describes the logs.

The items live in that member's Dropbox. Share the root folder with the team in Dropbox.

Odoo stores a Dropbox shared link for every synced item. A personal Dropbox makes a public link: anyone with the link opens the item. A team Dropbox makes a team-only link.

No links to Dropbox from Odoo keeps an address of the form https://www.dropbox.com/home/ plus the path, instead of a shared link. That address opens only for a Dropbox user who already has the item. Open in clouds in the attachment box does not work for anyone else. The sync is faster, because Odoo no longer asks Dropbox for a link on every item.

A preview or a download in Odoo does not use these links. Odoo reads the file through the Dropbox API with the client's account. Where the files are describes that.

Reconnect and other cases

The login stops when Dropbox ends it: the token was revoked or the app was deleted. Press Reconnect/Pause, then Confirm, and allow the app again. Pause and reconnect describes the buttons.

For a new App secret, press Reconnect/Pause, paste it, and press Confirm. A new Dropbox app has a new App key, so it needs a new Odoo client. Change the cloud storage describes that.

Amazon S3 and MinIO setup

You create a bucket and an IAM user with an access key in AWS, then enter them on a cloud client in Odoo. There is no login page: Odoo works in the bucket with that key.

Before you start

You need the Amazon S3 and MinIO connector. It works together with Cloud Storage Solutions.

Turn on Amazon S3 Sync in the Options block of Cloud Storage > Configuration > Configuration. That one switch turns on Amazon S3 and MinIO. Step 1. Turn on a connector describes the switch.

The Odoo server needs the Python package boto3.

You need an AWS account that can create S3 buckets and IAM users.

For MinIO, the Odoo server must reach the S3 API address, not the console address. On HTTPS, the certificate must be one the Odoo server trusts. There is no switch that skips that check. A plain http:// address also works.

Confirm checks the bucket with the key and creates the root folder.

Odoo does not create the bucket. The bucket must exist before you press Confirm.

Create the bucket

  1. In the Amazon S3 console, open Buckets and press Create bucket. Read the code under AWS Region, for example eu-north-1. Odoo needs that code.
  2. Bucket name is lowercase. The console checks the name rules. Set Bucket type to General purpose. Leave Bucket namespace on Global namespace.

Create a general purpose bucket and note its region

  1. Keep Block all public access on. Odoo does not need a public bucket.
  2. Press Create bucket.

An existing bucket works too. Odoo reads and writes only inside its root folder.

Create the user and its access key

  1. In IAM, open Users and press Create user. Any name works. Leave console access off, and add no permissions in the wizard.
  2. On the user, open Permissions, press Add permissions, then Create inline policy. Choose the service S3. Allow ListBucket, GetObject, PutObject, DeleteObject, and AbortMultipartUpload. Under Resources, choose Specific. Add the bucket ARN of your bucket, and the object ARN of that bucket with any object name.

An inline policy that lets Odoo list, read, write, and delete objects in one bucket

The editor also lists accesspoint and accesspointobject, and it warns that they are empty. Leave them empty. Name the policy and press Create policy.

Instead of the visual editor, press JSON in the policy editor and paste this text. Replace your-bucket with the name of your bucket in both places.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["s3:ListBucket"],
      "Resource": "arn:aws:s3:::your-bucket"
    },
    {
      "Effect": "Allow",
      "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:AbortMultipartUpload"],
      "Resource": "arn:aws:s3:::your-bucket/*"
    }
  ]
}
  1. Open Security credentials, press Create access key, choose Application running outside AWS, and press Create access key. Copy Access key and Secret access key. AWS shows the secret only on this page.

The access key and secret access key to copy into Odoo

These five actions are what Odoo calls, and only on this bucket.

Connect Odoo

  1. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and set Cloud client to Amazon S3. Check Root folder name. The default is Odoo. Step 2. Confirm a cloud client describes the name. If a folder with that name exists in the bucket, Odoo uses it. Give each database its own name.
  2. Enter Bucket, Region, Access Key, and Secret Key. Region is the bucket's region code. The field offers eu-west-1 or us-east-1 as examples. Secret Key is masked.
  3. Leave Amazon S3 endpoint URL empty and Amazon S3 addressing style on Automatic. The grey text in the endpoint field is only an example.
  4. Virtual-hosted and Path-style are only for an endpoint that needs one of them.
  5. Leave Use Public URLs off for a private bucket.

An Amazon S3 cloud client in Odoo before Confirm

  1. Press Confirm. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The bucket then holds the folder from Root folder name, with a slash at the end.

The Odoo root folder in the S3 bucket

A wrong key, secret, bucket, or region shows the red banner "Could not finish authentication since client could not be initiated". Sync Logs hold the reason. A key that cannot write, for example a policy without PutObject, shows "Client was not confirmed since root folder could not be created". Errors and notifications describes that banner.

After the first Confirm, Cloud client and Root folder name cannot change. Region, the keys, and the endpoint can be changed in Reconnected/Paused. The form also lets you edit Bucket, but the synced files stay in the old bucket.

Prepare MinIO

MinIO uses the same form, with Cloud client set to MinIO. Odoo talks to MinIO through its S3 API with an access key.

  1. In the MinIO Console, open Buckets and press Create Bucket. Enter Bucket Name. Leave Versioning, Object Locking, and Quota off.

A bucket for Odoo in the MinIO Console

Press Create Bucket. The name uses lowercase letters, digits, and hyphens. Confirm checks that this bucket exists.

  1. Open Access Keys and press Create access key, then Create. You can give Access Key a readable name on that form. Copy Secret Key. MinIO shows the secret only once.

Copy the secret key of the new access key

A key of an admin user already has the rights Odoo needs: list, read, write, and delete objects in the bucket.

Allow the same five actions as in Create the user and its access key, on the MinIO bucket and its objects.

Newer MinIO community releases have no access-key pages in the console. Create the key there with the MinIO client mc.

Connect Odoo to MinIO

  1. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and set Cloud client to MinIO. Odoo then fills Region with us-east-1 and MinIO addressing style with Path-style.
  2. Set Root folder name. Odoo creates that folder inside the bucket. If a folder with that name is already in the bucket, Odoo uses it. Step 2. Confirm a cloud client describes the name.
  3. Enter Bucket, Access Key, and Secret Key. Secret Key is masked.
  4. MinIO endpoint URL is required. It is the S3 API address as the Odoo server reaches it, with https:// or http://, and the port when it is not the default. localhost is the Odoo server itself. An example is https://s3.example.com.
  5. Keep Region at us-east-1 unless the MinIO administrator set another region. If the field is empty, Odoo uses us-east-1 anyway.
  6. Keep MinIO addressing style on Path-style. Automatic also means path-style for MinIO. Virtual-hosted is only for a MinIO set up with bucket subdomains.

A MinIO cloud client in Odoo before Confirm

  1. Press Confirm. Odoo checks the bucket, creates the root folder, and the client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization".

The Odoo root folder in the MinIO bucket

A wrong address, a wrong key, or a missing bucket shows the red banner "Could not finish authentication since client could not be initiated". Sync Logs hold the reason.

For another S3-compatible service, use the MinIO type with its endpoint.

Odoo keeps a link for every synced folder and file.

With Use Public URLs on, an Amazon S3 client keeps a direct address, https://<bucket>.s3.<region>.amazonaws.com/<key>. Off, Odoo keeps a link to the object in the AWS console. That link opens for people who can sign in to AWS with access to the bucket.

MinIO always has an endpoint, so every link is the direct object address <endpoint>/<bucket>/<key>, whether Use Public URLs is on or off. It opens only when the bucket allows anonymous read.

A download or a preview in Odoo does not use that link. Odoo reads the file with the client's key. Where the files are describes that.

For a new access key, press Reconnect/Pause, paste Access Key and Secret Key, and press Confirm. Pause and reconnect describes the buttons.

Another bucket means a new client. Do not change Bucket on a confirmed client. Change the cloud storage describes that.

Renaming or moving a folder copies each of its files to the new path and deletes the old ones. On a large folder this takes time, and on AWS each request is billed.

Do not delete the root folder in the bucket.

Box setup

You create a small OAuth app in the Box Developer Console, then connect it on a cloud client in Odoo. At Confirm, you log in to Box, and Odoo works in Box under that account.

Before you start

You need the Box connector. It works together with Cloud Storage Solutions.

Turn on Box Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The server needs the Python package box_sdk_gen.

You need a Box account that can open the Box Developer Console. A personal Box account is enough.

Create the client first. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Box. Copy Redirect URL. It is filled from the address of this Odoo, plus /box_token. An example is https://your-odoo.example.com/box_token. It must be the HTTPS address your users open.

Create the app in the Box Developer Console

  1. Box Developer Console > New App.
  2. In Create a New App, set App Name (any, for example Odoo Cloud Storage). Under App Type, choose User, not Server. User is the app where people log in with their own Box account. Press Create.

A new Box app with the User type

  1. On Configuration, under OAuth 2.0 Redirect URIs, remove the chip https://app.box.com. Paste Redirect URL from Odoo and press Enter. A different scheme, host, or a trailing / breaks the login.

The Odoo redirect URL and the client ID in the Box app

  1. Under Application Scopes, open Content Actions. Read all files and folders stored in Box and Write all files and folders stored in Box are already on, and Box does not let you turn them off. Turn off Manage signature requests and Manage AI. Leave the other groups off.

Read and write access to files and folders

  1. Press Save.
  2. Open App Details. Under Credentials, press Copy on Client ID and paste it into Client ID in Odoo. Press Copy on Client Secret and paste it into Client Secret. The secret stays masked.

Connect Odoo

A Box cloud client in Odoo before Confirm

  1. On the client: Client ID, Client Secret, and Redirect URL match Box. Root folder name is Odoo unless you change it. Step 2. Confirm a cloud client describes that folder.
  2. Press Confirm. Box opens its page. Log in if asked, then press Grant Access to Box.
  3. Box sends you back to the client form. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The root folder is in Files.

The Odoo root folder in Box

Stay logged in to Odoo in the same browser. The page Box returns to asks for an Odoo login.

If the login cannot start, the red banner says "It is not possible to start the app confirmation. Reason: …". A wrong secret or a redirect that does not match shows "Could not finish authentication. Reason: …". If the root folder cannot be made, it says "The app confirmation was not finished. The root folder could not be created. Check the logs!". Errors and notifications describes that banner.

Finish the login of one Box client before you press Confirm on another.

After Confirm, Client ID and Root folder name cannot change. Client Secret and Redirect URL can, while the client is in Reconnected/Paused.

No shared links to Box from Odoo is on by default. Odoo keeps the Box address of each item, https://app.box.com/file/… or https://app.box.com/folder/…. A user opens it only with access to that item in Box.

Turn the option off, and Odoo also asks Box for a shared link of every item it syncs. If Box refuses, the sync goes on, that item keeps its Box address, and the log warns "The shared URL for '…' was not received". Keep the option on. The checkbox can be changed at any time, and it applies to items synced after the change.

Reconnect and other cases

Box can end the login: the app was deleted, its secret was reset, access was removed in Box, or the login was not used for 60 days, for example on a client paused that long. The log says "The client cannot be initiated. Reason: …. Try to reconnect". Press Reconnect/Pause, then Confirm, and log in again. Pause and reconnect describes the buttons.

For a new client secret, press Reconnect/Pause, paste it into Client Secret, and press Confirm. Another Box app, with a new client ID, or another Box account, needs a new Odoo client. Change the cloud storage describes that.

NAS setup

Odoo connects to your NAS over WebDAV with a NAS user and its password. There is no app to register and no login page: Confirm checks the connection and creates the root folder.

Before you start

You need the NAS connector. It works together with Cloud Storage Solutions.

Turn on NAS Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The NAS serves WebDAV over HTTPS. Odoo uses the NAS login and password. If a proxy or a firewall stands before the NAS, it must let these WebDAV methods through: PROPFIND, MKCOL, PUT, GET, MOVE, and DELETE.

The Odoo server must reach that address. When Odoo is hosted outside your network, expose the WebDAV endpoint through a secure reverse proxy, a VPN or tunnel, or the vendor relay.

The client types are Synology NAS, QNAP NAS, TrueNAS, and WebDAV NAS. The fields are the same for all four. This article shows Synology. For QNAP or TrueNAS, turn on WebDAV over HTTPS on the NAS as its manual says, then fill the same fields.

Prepare the NAS

On a Synology NAS with DSM 7:

  1. In Package Center, install WebDAV Server. Open it, turn on Enable HTTPS, leave HTTPS port at 5006, turn off Enable HTTP, and press Apply.

    WebDAV Server on a Synology NAS with HTTPS on port 5006

  2. Open Control Panel > Shared Folder > Create, and create a shared folder for Odoo, for example odoo-cloud-storage.
  3. Open Control Panel > User & Group > Create, and create a user for Odoo, for example odoo. On Assign shared folders permissions, tick Read/Write for that shared folder. Leave the other shares at No Access.

    A Synology user for Odoo with read and write access to one shared folder

Odoo creates, renames, moves, and deletes items in what it syncs, so this user needs write access, and nothing beyond the Odoo folder.

On Synology, enter that shared folder in NAS base path. A new folder cannot be created at the top of WebDAV.

Connect Odoo

  1. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Synology NAS. QNAP NAS, TrueNAS, and WebDAV NAS use the same fields.
  2. WebDAV URL is the WebDAV address with its port, for example https://nas.example.com:5006/.
  3. Login and Password are the NAS user from the previous section.
  4. NAS base path is that existing folder or share, for example odoo-cloud-storage. Odoo creates its root folder inside it. Leave the field empty only when the server allows a new folder at the top of the WebDAV address.
  5. Root folder name. Step 2. Confirm a cloud client describes the name. Unlike ownCloud and Nextcloud, an existing folder with that name in the base path is not an error: Odoo uses it. Pick a name no other client or database uses there, for example Odoo Cloud Storage.
  6. Verify SSL is on by default. Turn it off only for a trusted NAS with a self-signed certificate. A NAS reached from the internet needs a valid certificate.
  7. NAS request timeout is how many seconds Odoo waits for each NAS answer. The default is 30. Raise it for a slow NAS.

    A Synology NAS cloud client in Odoo before Confirm

  8. Press Confirm. Odoo checks the WebDAV connection and the base path, creates or finds the root folder, and the client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". No login page opens.

The Odoo root folder in a Synology shared folder

The share may also show #recycle. That is Synology's recycle bin, not an Odoo folder.

A wrong address, login, or password, or a certificate Odoo does not trust while Verify SSL is on, shows "Could not finish authentication since client could not be initiated". Sync Logs hold the reason. Errors and notifications describes that banner.

A NAS base path that does not exist, or a user who cannot write there, shows "Client was not confirmed since root folder could not be created".

After Confirm, Cloud client and Root folder name cannot change.

Each synced folder and file gets a link in Odoo.

With NAS browser URL empty, the link is the WebDAV address of the item. The browser asks for a NAS login before it opens the file, so colleagues who open the links need their own NAS account with access to those folders. A download or a preview in Odoo does not need that account: Odoo reads the file with the client's user. Where the files are describes that.

With NAS browser URL set, the link is that address plus the item path below WebDAV URL, base path included. Use it only when a web address serves the same paths, for example a reverse proxy in front of the WebDAV share for browsers. The browser URL https://files.example.com/nas gives https://files.example.com/nas/odoo-cloud-storage/Odoo%20Cloud%20Storage/Sales/….

Reconnect and other cases

For a changed NAS password, press Reconnect/Pause, enter the new Password, and press Confirm. Pause and reconnect describes the buttons.

A root folder deleted on the NAS is described in Errors and notifications.

Choose the final WebDAV URL before the first Confirm. Odoo remembers each synced item by its WebDAV address. The form lets you edit WebDAV URL in Reconnected/Paused, but with another host or path Odoo no longer finds the root folder and does not confirm. Another NAS address, another NAS, or another user needs a new client. Change the cloud storage describes that.

Enterprise Documents sync

You need the add-on Cloud Sync for Enterprise Documents and the Enterprise app Documents.

The add-on syncs the folders of the Odoo Enterprise app Documents with your cloud storage, with their files. You choose the Documents folders with a rule of its own type, the Workspace-Related Rule.

Before you start

Turn on Sync Enterprise Documents in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes how an option installs an app.

Documents and its folders cannot have a model rule. Auto folder rules describes that limit. They use the rule type of this add-on.

In the labels of the add-on, workspace means a Documents folder.

A workspace rule

  1. Open Cloud Storage > Configuration > Auto Folders Rules and press New.
  2. Set Rule type to Workspace-Related Rule. The type is on the form only when this add-on is installed.
  3. The filter under Rule type chooses which Documents folders the rule takes. The filter is built like any Odoo filter on documents. Only folders count. Files are not matched.

    A workspace rule with its filter

  4. Folder name becomes the rule's top folder. Clouds Client is where those folders sync. Leave it empty to keep them in Odoo only. What a rule does describes the client.

What the rule takes into account:

  • A matched folder brings all of its subfolders, whatever the filter says about them.
  • A Documents folder belongs to one workspace rule: the first in the rules list whose filter matches that folder or a folder above it.
  • Maximum Folders per Rule applies to a workspace rule too (Folder limit). Over the limit, the rule creates no new folders and archives none. Within the limit, a Documents folder that fits no workspace rule is archived at the next folders' update, and its files come back to Odoo.
  • Workspace rules are highlighted in the rules list. The characters a folder name may contain are in Record folder names.
  • The same scheduled action prepares workspace rules and model rules, one type and then the other. Two scheduled actions describes the runs.

Name the rule Documents and choose your Google Drive client. In the filter, set Name equal to Finance. The folder Finance and all its subfolders sync.

What is synced

Each matched Documents folder gets a cloud folder under the rule's top folder, with the same tree.

The Documents folders in Google Drive

  • The files of a synced Documents folder go to its cloud folder. Moving a document to another synced folder moves the file in the cloud. Renaming the document changes the cloud name.
  • A folder created in the cloud, or in the File Manager, inside a synced Documents folder becomes a new Documents folder. A file added in the cloud there becomes a document.
  • Replacing a file keeps the previous attachment in History. That copy has no cloud folder. Only the current file syncs.
  • Rename, move, and delete on either side follow the general rules. Changes in Odoo and in the cloud describes them.
  • Who sees the folders in the File Manager follows Documents access, because the cloud folder points at the Documents folder. Folders and files follow records describes that.

Files in the File Manager, each with its folder path

In the Documents app

A synced file shows a cloud icon, with the hint Synced to clouds.

Synced files in the Documents app with the cloud icon

Synced files have no stored thumbnail. Show synced Documents image preview in real time fetches image previews from the cloud on every load. Nothing is stored in Odoo. Documents folder views get slower.

Opening, previewing, and downloading a synced document read it from the cloud through Odoo. Where the files are describes that. The link icon opens the file in the cloud.

The size of a synced file that Odoo does not know shows Unknown.

Records and Documents together

A record attachment and a document can be the same file. That file has one cloud folder. When several rules claim that file, it goes to the folder of the rule higher in Auto Folders Rules. Drag the rules to change the order. The next run of [Cloud Storage] Prepare Cloud Folders reassigns those files, at most 15 minutes later. The sync queue then moves them in the cloud.

Signing and other limits

A synced document can be shared, downloaded, and sent for signature. Sign copies the PDF from the cloud into Odoo at that moment, so the cloud must answer then. After that, the signature does not depend on the cloud.

Sending a synced PDF for signature

The app sets no file size limit. The Odoo server and the cloud service do. Server configuration and limits describes those limits.

A Documents URL item with no cloud file is not synced, and Odoo spreadsheets stay in Odoo. What is not synced describes the types that stay in Odoo.

Settings

All the app-wide settings of Cloud Storage are on one page, Cloud Storage > Configuration > Configuration. The same page is Settings > Cloud Storage.

The menu is shown to Cloud Storage Administration. Opening the page needs the Odoo role Administrator. Without it, Odoo refuses access. Settings of one rule, one folder, or one cloud client are on those records.

Options

Each switch installs one connector app. Save installs the app named in the line under the switch. Step 1. Turn on a connector describes the install.

The Options block that turns connectors on

General settings

  • Sharing turns on shares in the portal and by link for all users. Sharing describes them.
  • Tags turns on attachment tags and navigation by tags. Tags describes them.
  • Logs storage period (days) is 3 by default and cannot be less than 3. Log size and export describes the logs.
  • Show synced images and GIFs preview in real time fetches previews of synced images in the attachment box on each load. The box gets slower. Real-time preview describes it.
  • Not synced mimetypes lists types that are never uploaded. What is not synced describes the types that stay in Odoo.
  • Maximum Folders per Rule is 2000 by default. Zero or less counts as 2000. Above the limit, the rule stops updating its folders. Folder limit describes the cap.
  • Maximum Retries is 7 by default. Zero or less counts as 7. Database backups use the same number. Retries describes the waits.
  • Maximum Retries (Reverse and Move tasks) is 4 by default. Zero or less counts as 4. Retries describes those tasks.
  • Logs to Export is 50000 by default. Zero or less counts as 50000. Delete all logs under it deletes every sync log at once, after a confirmation. Only an Access Rights administrator or a Cloud Storage administrator can run it. Log size and export describes the export.
  • Show synced Documents image preview in real time appears with the Enterprise Documents add-on. In the Documents app describes the previews.

The Settings block with the default limits

Mass actions

The File Manager offers only the server actions you list here, and none until you add them. Only server actions of the model Attachment can be added, and one created here gets that model. Selection and mass actions describes the six actions of the app.

Filestore

The block shows the size of the Odoo file store after the daily cleanup, and Refresh runs that cleanup now. Where the files are describes the rest.

Testing / Development

Launch Folders' Update and Launch Sync run the two scheduled actions now. Odoo asks first. Use them for tests only. Step 4. Wait for the first sync describes the runs.

Prepare database backups runs the backup action now, and only in developer mode. Database backups describes the strategies.

Settings on other records

Database backups

Keep your main backup of Odoo. Use these backups as an extra copy. Each cloud client can save a backup of this database to a cloud folder on a schedule and keep the last few. Set this in developer mode.

Turn on backups

Open Cloud Storage > Configuration > Cloud Clients. On Misc, turn on Auto database backups. Database to Back Up takes this database's name, and the tab Backups appears. The switch, the tab, and the schedule work only for a Confirmed client that is not archived. A client in Reconnected/Paused is not backed up. Strategies need Administration.

Backup strategies

Reference names the strategy and is part of the file name. Backup Folder is a folder of this client that is already synced. A folder that is not in the cloud yet fails this backup and is retried; the other backups keep running.

The archive is a file of that folder, so whoever can see the folder can download the whole database. Put the backups in a manual folder and limit it to administrators on Extra security. Access to folders describes that tab.

Frequency (days) is 1 for every day, 0.25 for every 6 hours, and 7 for every week. The default is 1. A shorter gap is refused with "Frequency could not be less than 30 minutes!" Backups count is how many archives of this database to keep. After a success, the next sync deletes the oldest above that count in the cloud. Archives of another database stay. 0, or a negative count, keeps every archive.

Include filestore is on by default. Include manifest is off. Prepare Backup runs that strategy now, as the schedule does, and the page waits. It counts toward Backups count. If the backup is skipped or fails, or another backup is running, Odoo shows an error.

The Backups tab of a cloud client with a daily and a weekly strategy

When a backup runs

The scheduled action [Cloud Storage] Create Database Automatic Backups runs every 15 minutes and starts a strategy whose next time has passed or is empty. Next backup time (approx.) is the earliest moment, not an exact minute. An empty time runs on the next pass, then every Frequency (days). A set time keeps that grid: the frequency is added to the planned time, not to when the run finished.

In developer mode, Prepare database backups under Testing / Development in Settings runs that action now. Each run backs up a client once. When two strategies of one client are due together, the one with the longer Frequency (days) runs, and the other moves to its own next time. Backups of different clients do not run at the same time, so give them different times.

Daily has a frequency of 1 day, the next time 2026-12-01 04:00 UTC, and keeps 7 archives. Weekly has 7 days, the next time 2026-12-06 04:00 UTC, and keeps 4. A backup arrives each day between 04:00 and about 04:15 UTC. On 2026-12-06 both are due. Weekly runs, because its interval is longer, and Daily moves to 2026-12-07 04:00 UTC. The folder then holds the last 7 daily archives and the last 4 weekly ones.

What the archive holds

The zip is named with the database, the UTC date and time, and the Reference. Characters such as : become -, so a daily file can be cloud20_demo 2026-11-30 19-43-55 Daily.zip. Next backup time (approx.) shows your time zone. The file name uses UTC.

The backup folder with three archives named by database, UTC time, and strategy

It always holds dump.sql. Include filestore adds the folder filestore. Include manifest adds manifest.json, with the Odoo version, the PostgreSQL version, and the installed modules. The database manager can restore this zip. A restored copy under another name does not make these backups; its sync is in Copies of the database.

Where the files are describes synced files: they are not in that filestore folder.

Odoo keeps the link, not the zip. Reset brings those synced files back, the archives included, unless Turn off the reverse sync is on. Delete the old archives first, or turn that switch on. Reset a client describes the reset.

Copies and renamed databases

Backups follow Database to Back Up. A copy under another name does not run them. At the top of the client form, also without developer mode, a warning names that database and says the backups are skipped here. Back up this database, shown to Administration, binds them to this database. After you rename the database, press Back up this database.

A neutralized database is skipped, and Prepare Backup reports "Database backups are skipped because this database is neutralized." Restrict Database Sync set to another database leaves the client out of the schedule, and the button reports "The client sync is restricted by the database name." These skips do not turn the line red and do not move the next time. For a different name and for a neutralized database, Sync Logs get the same line on every run. A copy restored under the same name, and not neutralized, still backs up into the same folder: turn off Auto database backups there.

Large databases and failures

The server builds the archive on its own disk. With Include filestore it keeps a copy of the filestore, the SQL dump, and the zip at the same time, so the disk needs room for all three.

Before the dump, the app checks that the client is connected. If it is not, or the dump or upload fails, the line turns red and the attempt is retried every 15 minutes, up to Maximum Retries attempts for each planned time (the default is 7). Retries describes that setting. The line stays red until a backup of that strategy succeeds. After the last attempt it waits for its next planned time. While that longest strategy is still failing, the shorter ones of the same client wait with it.

A run that the server stops for a time limit is not retried. The next time was already moved, before the dump, and the line does not turn red for that stop. Sync Logs show "Start executing dump_db" with no "Finish executing dump_db" after it. Sync logs and queue describes the log.

Server configuration and limits

The Odoo server needs time limits of 900 seconds or more, so a sync run can finish instead of being cut off. This article collects those limits and the limits the app sets.

Server time limits

Set limit_time_cpu, limit_time_real, and limit_time_real_cron to 900 seconds or more. One sync run is planned for 899 seconds and stops itself about 100 seconds earlier. Until that time passes, the next run does not start. The folders' update works the same way, with its own 899 seconds. A server limit below that cuts the run halfway. One sync run describes the run.

Odoo's own defaults are lower: limit_time_cpu is 60 seconds, limit_time_real is 120 seconds, and limit_time_real_cron is -1. With -1, scheduled actions get limit_time_real. A value of 0 means no limit.

The scheduled actions run under limit_time_real_cron. The buttons Launch Folders' Update and Launch Sync run the same job inside the web request, so limit_time_real and limit_time_cpu apply to them. In multi-worker mode, limit_time_cpu also applies to the scheduled-action workers.

When a limit cuts a run, Sync Logs show "Cloud sync was started. Locked till: ..." and no "Cloud sync was finished. Unlocked" after it. The Odoo server log shows "virtual real time limit ... reached". The next run then waits until the 899 seconds pass, and the sync gets much slower.

Odoo counts three cut runs in a row as one failure. After 5 failures over 7 days it turns the scheduled action off and notifies the administrators. If the sync stopped, check that both actions are still active.

limit_time_cpu = 900
limit_time_real = 900
limit_time_real_cron = 900

Odoo.sh

On Odoo.sh the time limits are set by the platform and cannot be changed. On an Odoo.sh dedicated server they can. The app's 15-minute run is built on the Odoo.sh limit, so on Odoo.sh there is nothing to configure for the timeouts. A staging database is a copy: Before copying the database covers it.

Scheduled actions

The app adds four scheduled actions. [Cloud Storage] Prepare Cloud Folders and [Cloud Storage] Run/Prepare sync queue run every 15 minutes. Two scheduled actions describes those two. [Cloud Storage] Create Database Automatic Backups runs every 15 minutes. [Cloud Storage] Check Expired Shares runs once a day.

Odoo refuses an interval below 15 minutes for the first two, with the message "It is forbidden to make sync cron jobs take less than 15 minutes or repeat missed sync jobs. Make also sure your Odoo server timeouts are configured for 900 seconds at least."

Odoo refuses an interval below 15 minutes for the sync scheduled action

To stop the sync for a while, pause the client. Do not turn the scheduled actions off. Pause and reconnect describes the pause.

Launch Folders' Update and Launch Sync are for tests. Step 4. Wait for the first sync describes them.

Python packages

Without its package, Odoo does not install the app. Install the package into the Python that runs Odoo. On Odoo.sh, list the packages in the file requirements.txt of your repository. Before you start lists the same packages. This table is the reference.

App Python package
Cloud Storage Solutions sortedcontainers
OneDrive and SharePoint microsoftgraph-python, requests
Dropbox dropbox
Amazon S3 and MinIO boto3
Box box_sdk_gen
NAS requests
Google Drive, ownCloud and Nextcloud, Enterprise Documents none

Before copying the database

Before you copy production to staging or a test, turn on Restrict Database Sync on each client on production (tab Misc, in developer mode). A copy under another name then syncs nothing and logs "The client sync is restricted by the database name". Copies of the database explains the option.

Neutralizing that copy turns off what contacts the cloud. Preparing folders still runs. Copies of the database describes the error, the log line, and the files that no longer open.

A copy has the same clients and the same cloud folders as production, so without the restriction both databases write to the same cloud storage.

Backups on a copy are in Copies and renamed databases.

File size

The app sets no file size limit. A file reaches the Odoo server first, and the next sync sends it to the cloud. The Odoo server and the cloud service set the limits.

Odoo accepts uploads up to 128 MB by default. The system parameter web.max_file_upload_size changes it. A web server or a hosting in front of Odoo can set its own limit.

Large volumes: what to plan

The sync works through the cloud service's API, one request per change. The more records, folders, and files, the longer the sync and the more room for errors on the cloud side. Retries describes how a failed task is tried again.

Start narrow: sync only the records you need, with Filters and Periods. Archived contacts, or orders from two years ago, do not need folders.

Avoid thousands of folders on one level: group them with a Parent rule. A rule creates at most Maximum Folders per Rule folders, 2000 by default. Above 2000 the setting's own help warns of conflicts and data loss. Folder limit describes the cap.

The first sync of many records takes many runs. Large volumes describes that.

Keep your own backups of Odoo and of the cloud storage. Database backups is the app's tool for the Odoo side.

All limits at a glance

Limit Value Where it changes Article
Interval of the two sync actions 15 min, not less the scheduled action Scheduled actions
One sync run / folders' update about 15 min (lock 899 s) — One sync run
Server time limits 900 s or more Odoo configuration Server time limits
Backup lock 900 s, longer with system parameter cloud_base_backup_timeout, never shorter system parameter Large databases and failures
Folders per rule 2000 Maximum Folders per Rule Folder limit
Retries of a failed task 7 Maximum Retries Retries
Retries of a reverse or move task 4 Maximum Retries (Reverse and Move tasks) Retries
Sync logs kept 3 days, not less Logs storage period (days) Log size and export
Lines in a log export 50000 Logs to Export Log size and export
Lines on the Sync Logs screen 500 at a time — The Sync Logs screen
File types never synced 6 types Not synced mimetypes adds more What is not synced
Name length in the cloud 180 characters — Folder names
Cloud folder not found 3 times in a row, then unlinked — Folders: changes in the cloud
NAS answer wait 30 s NAS request timeout Connect Odoo
File size no app limit; Odoo 128 MB by default web.max_file_upload_size File size

Recommendations

These recommendations help a Cloud Storage setup run quietly: what to decide before the first sync, how to work day to day, and what to do before a large change. Each one links to the article with the details.

What to expect

Before the first sync

  • Start with one rule and a few records, check the result, then widen the rule step by step.
  • Sync the records people work with. Filters, Periods, and Only with attachments keep the rest out.
  • Split a model by activity: open records in one rule, closed ones in another rule with Restrict Monitoring, so the active folders are checked at every run.
  • Choose filters and periods that change rarely. A record that leaves its rule brings its files back to Odoo.
  • Keep the folders of one level under the folder limit: group them with a parent rule.
  • Decide the tree before go-live. Default folders reach only new record folders, and the root folder name stays as first confirmed.
  • Let Odoo create its own root folder. To bring existing cloud files in, copy them into the folders Odoo has created: the next runs add them to Odoo, so do not create the record folders in the cloud by hand.
  • If files are managed only in Odoo, turn on Turn off the backward sync. The folder check then asks the cloud nothing, so a full check is shorter.
  • Before the first copy of the database, turn on Restrict Database Sync on production. On a cloud account shared by several databases, give each database its own root folder name.
  • Set the server time limits before the first sync.

Day to day

  • Rename, move, and remove folders in Odoo: the cloud folder follows. Add, rename, and delete files on either side.
  • A record folder takes its name from the record and its place from the rule. Rename the record or change the name expression to rename the folder, and change the filter to remove it.
  • Let the scheduled actions do the sync; Launch Folders' Update and Launch Sync are for tests.
  • Follow each cloud client, so that Odoo tells you when its connection has an error.
  • Look at failed tasks in Sync Logs from time to time. A reverse or move task in red holds the others back.
  • Note the end date of the app secret of your cloud app, and publish the Google app: both end the login when forgotten.
  • Give people access in the cloud storage only if they work there. Download and preview in Odoo need no cloud account.
  • On a large volume, do not raise Logs storage period: the sync logs stay in the database.
  • When something looks wrong, start with Sync Logs, then the banner of the client, then the failed tasks, and send support the exported log with the time of the problem.

Before a large change

  • A change of the client, the account, or the storage moves every file twice. Do it for one rule at a time, at a quiet time, and keep the old client confirmed until it is done.
  • Reset and a reverse sync bring the files back into Odoo. Check that the Odoo server has room for them first.
  • Before you uninstall, reset every client and wait until each is gone.
  • To pause the sync, pause the client.
  • When Odoo moves to a new address, leave the connected clients as they are. Redirect URL stays as stored on the client: new files go to the same folders, and files already synced stay put.
  • Change Redirect URL only for a new login. Add the new address as a second redirect URI and keep the old one, in Google Cloud, Microsoft Entra, Dropbox, or Box, then press Reconnect/Pause, write the new address in Redirect URL, and press Confirm.
  • Confirm only after the cloud app has the new address. Confirming first leaves the login unfinished (Google shows redirect_uri_mismatch), and the sync waits until the client is confirmed.
  • On OneDrive and SharePoint, write the new Redirect URL in Odoo only after the new address is in Microsoft Entra. Microsoft uses the saved Redirect URL when it updates the access.

Upgrading Odoo to a new version

Before you upgrade Odoo to a new major version, pause the cloud clients, and test the upgrade on a copy of the database with Restrict Database Sync set.

Contact us: we help with the steps for your version.

Custom modules and other apps

If your Odoo has custom modules, or apps from other vendors, that read, create, or delete attachments, keep these points in mind. Pass them to the developer who maintains those modules.

  • Reading the content of a synced file downloads it from the cloud each time. Odoo keeps the link, so a module that reads a PDF, adds the file to an email, or builds a report waits on the cloud, and the read is slower than a file kept on the Odoo server. If the cloud does not answer, the code gets empty content and no error. Check that the content is not empty, and do not read thousands of synced files in one run.
  • Deleting a synced file hides it first. Odoo marks the attachment Marked for delete, the sync deletes the file in the cloud, and the attachment is removed only after that deletion. A module that forbids deleting attachments stops this last removal, so the file stays hidden in Odoo. Allow deletion of attachments that are Marked for delete, or account for that mark in the module's rule.
  • A file kept in a binary field of its own model is not synced. Cloud Storage syncs attachments of the record, and a binary field stays on the record. Store such files as attachments of the record. What is not synced lists the other cases.

About Cloud Storage Solutions

Cloud Storage Solutions keeps the files of your Odoo records in folders and syncs these folders with your cloud storage. After the sync, the content of a file lives in the cloud. Odoo keeps the attachment with a link to it, so your users open, add, and share files in Odoo as before.

What the app does

  • Any Odoo model can get folders, custom models included, with a few exceptions. A folder rule makes one for each customer and, inside it, one for each order. The tree Customers > Acme Corporation > Quotations > S00005 is the same in Odoo and in the cloud.
  • The sync is two-way by default. Files you add in Odoo go to the cloud, and files added in a synced cloud folder come to Odoo. Sync is not instant: two scheduled actions run every 15 minutes. With Turn off the backward sync, Odoo no longer reads the cloud folders. With Turn off the reverse sync, the files stay in the cloud when a folder stops syncing, or when you reset the client. Cloud clients: confirm, pause, reset explains both switches.
  • A synced file leaves the Odoo file storage. Its content is marked for deletion, and the scheduled action Base: Auto-vacuum internal data removes it from the filestore. That action runs once a day by default. The Filestore block of the settings shows the size. Settings explains the block.
  • The files leave Odoo, but the sync logs stay in the database, so the database can still grow. Logs storage period (days) sets how long they are kept, and the period is at least 3 days. Sync logs and queue explains the logs.
  • A share opens the files to portal users or, with Access by Token, through a link. The recipient may download, and Allow Uploading, Allow adding folders, and Allow adding tags decide whether they also upload, add folders, or add tags. Sharing explains the form.
  • Every sync action is written in Sync Logs, and you can export the logs for support. Users who follow a cloud client get a message when it has a connection error.

You see every folder and file in Cloud Storage > File Manager, and in the attachment box of a record. File Manager and Attachment box explain each screen.

The File Manager with Acme Corporation open and the folder S00005, 465.75 USD selected. The cards are the files of that folder, synced to Google Drive.

The attachment box of the quotation S00005 with the folders Annexes and Drawings and its synced files

The same folder in the cloud storage is in Where a folder syncs.

Connectors

Without a connector, folders, the File Manager, the attachment box, and shares work in Odoo only. A rule with no Clouds Client keeps its folders in Odoo. Auto folder rules describes that case. Each storage has its own connector app, and each connector needs Cloud Storage Solutions. You can connect several storages and several accounts at once. Each rule or manual folder sends its folders to one client. Where a folder syncs explains which one.

Words used in these docs

  • Model: a type of Odoo document, for example Contact or Sales Order.
  • Record: one document of that model, for example the customer Acme Corporation or the quotation S00005.
  • Cloud client: one connected account of a cloud storage. The clients are in Configuration > Cloud Clients.
  • Root folder: the folder that Odoo creates in the cloud storage for one client. Every synced folder of that client is inside it.
  • Folder rule: a rule that creates folders for the records of one model. The rules are in Configuration > Auto Folders Rules.
  • Workspace-Related Rule: a rule for the folders of Enterprise Documents. Enterprise Documents sync describes it.
  • Automatic folder: a folder that a rule creates and updates. Folders explains them.
  • Manual folder: a folder that you create. See Automatic and manual folders.
  • Default folders: subfolders that a rule adds to each new record folder. See Default folders.
  • Tag: a label for files across folders.
  • Share: files, folders, and tags that you open to portal users or through a link.
  • Direct sync: Odoo sends its changes to the cloud storage.
  • Backward sync: Odoo reads the cloud folders and brings those changes into Odoo.
  • Reverse sync: Odoo downloads the files back and deletes them in the cloud when a folder stops syncing, or when you reset the client.
  • Reverse task and move task: sync tasks that bring a file back to Odoo, or move a synced file to another cloud folder or client. Until they are done, the other tasks wait.
  • Sync logs: the list of sync actions, in Configuration > Sync Logs.

Where to start

  1. Quick start takes you to the first synced folder.
  2. The setup article of your connector explains its connection fields. Connectors lists them.
  3. Auto folder rules decides which records get folders. Parent rules, Record folder names, and Default folders decide how the tree looks.
  4. Before you go live, read Server configuration and limits and Recommendations.
  5. When something goes wrong, start with Sync logs and queue.

Read more about the app

Quick start

Four steps take you from the install to the first synced folder: turn on a connector, confirm a cloud client, create a folder rule, and let the scheduled actions run. The terms are explained in Words used in these docs.

Before you start

You need Cloud Storage Solutions and the connector app of your cloud storage on your Odoo server. The connector apps are listed in Connectors.

Step 1 and the buttons of Step 4 need the Odoo role Administrator. Odoo refuses anyone else with the message "Only administrators can change the settings". Steps 2 to 4, and the Configuration menu itself, need the group Administration of Cloud Storage. The groups lists the groups.

Step 1. Turn on a connector

  1. Open Cloud Storage > Configuration > Configuration.
  2. In the Options block, turn on the setting of your cloud storage, for example Google Drive Sync.
  3. Press Save. Odoo installs the connector app.

The line under the setting says the connector app is required. That app must already be on the server, or the install stops.

The Options block of the Cloud Storage settings, with one setting for each connector

Step 2. Confirm a cloud client

  1. Open Cloud Storage > Configuration > Cloud Clients and press New.
  2. Enter a Name and choose your storage in Cloud client.
  3. Check Root folder name. The default is Odoo. The screenshots here use -Odoo Files-.
  4. Fill in the connection fields of your storage. The setup article of the connector explains them: Google Drive, OneDrive and SharePoint, ownCloud and Nextcloud, Dropbox, Amazon S3 and MinIO, Box, NAS.
  5. Press Confirm. Google Drive, OneDrive / SharePoint, Dropbox, and Box open the provider's login page. Log in there and allow access. ownCloud / Nextcloud, Amazon S3, and NAS confirm with the values you entered.

The client moves to Confirmed, with the message "The cloud client is confirmed and might be used for synchronization". On an error, the form shows the red Errors message.

Odoo creates the root folder at the top level of the account, with the name from Root folder name. On a NAS, it goes inside NAS base path. Choose a name that no folder there has yet. When such a folder exists, Box, NAS, and Amazon S3 use it, Google Drive and OneDrive / SharePoint create a second folder, and Dropbox and ownCloud / Nextcloud are not confirmed. Google Drive, OneDrive / SharePoint, Dropbox, and Box create the root folder when the login finishes. ownCloud / Nextcloud, Amazon S3, and NAS create it when you press Confirm. Every sync run checks the folder and creates it again when it is missing. After the confirmation, Cloud client and Root folder name cannot be changed.

The cloud client Google Drive in the state Confirmed, with the root folder name -Odoo Files-

Step 3. Create a folder rule

  1. Open Cloud Storage > Configuration > Auto Folders Rules and press New.
  2. In Model to sync, choose Contact. Folder name proposes the name of the model. For this first test, change it to Customers. Model to sync cannot be changed after the rule is saved.
  3. In Clouds Client, choose the client you confirmed. The list shows only confirmed clients.
  4. Start with a few records. Limit them on the Filters tab or on the Periods tab. Filters and Periods explain the conditions.

The rule Customers, on the model Contact, makes a folder Customers inside the root folder, and one folder for each contact that fits. The other options of a rule are in Auto folder rules.

The folder rule Customers on the model Contact, synced to the cloud client Google Drive

Step 4. Wait for the first sync

Two scheduled actions do the work. Each one runs every 15 minutes:

  • [Cloud Storage] Prepare Cloud Folders creates the folders of your rules in Odoo.
  • [Cloud Storage] Run/Prepare sync queue creates these folders in your cloud storage and sends the files attached to the records.

A large volume takes several runs. A run stops before the time limit, and the next run goes on. When changes apply describes that stop. How the sync works explains the queue.

Wait for the scheduled actions. In a test environment, you can launch them by hand with the Launch Folders' Update and Launch Sync buttons in the Testing / Development block of the settings. Do not press them while the scheduled actions are running. Each button runs its scheduled action while the page waits. A run takes about 10 seconds on a small volume and up to 15 minutes on a large one. Press the second button only after the first one has finished.

Where to see the result

In Cloud Storage > File Manager, the folder of the rule holds one folder for each record. File Manager explains that screen.

The File Manager with the folder Customers and one synced folder for each customer

To act on several files at once, first add actions in the Mass actions block of the settings. Selection and mass actions describes them.

In a record of the rule, its folder and files are in the attachment box.

In your cloud storage, you see the root folder, the folder of the rule inside it, and one folder for each record. Where a folder syncs says which client a folder uses.

The folder Customers in Google Drive with one folder for each customer

In Configuration > Sync Logs, each folder has a line "The folder ... was uploaded to clouds", and each file has a line "The attachment ... was uploaded to clouds".

Sync Logs of the client Google Drive with the folders and files uploaded to the cloud

If nothing happens

  • Open Configuration > Sync Logs first. Sync logs and queue explains the usual messages.
  • The client is Confirmed and the form has no red Errors message.
  • The rule has a Clouds Client. Without one, the folders stay in Odoo. What a rule does explains this.
  • The record fits the rule. Filters and Periods explain the conditions.
  • Both scheduled actions are active, in Settings > Technical > Automation > Scheduled Actions. This menu needs the developer mode. Odoo refuses an interval below 15 minutes for these two actions.
  • The three timeouts are at least 900 seconds. See Before you start.
  • On a copy of the database, a client with Restrict Database Sync syncs only the database named in Database to Sync. Cloud clients: confirm, pause, reset explains the option.
  • The file type syncs at all. How the sync works lists the types that never sync.

Folders

A folder holds files and other folders. You see the folder tree in Cloud Storage > File Manager and, for one record, in its attachment box.

The File Manager with the automatic folders Customers, Acme Corporation, Quotations, and S00005, and its manual subfolders, synced to Google Drive

Automatic and manual folders

  • Automatic folders come from a folder rule. Each rule makes one folder with its Folder name, and inside it one folder for each record that fits the rule. The files attached to a record are in that record's folder. The scheduled action [Cloud Storage] Prepare Cloud Folders creates and updates these folders every 15 minutes.
  • Manual folders are the folders you create, in the File Manager or in the attachment box of a record. Use them for files that belong to no record, or to sort the files of a record. A folder created inside a synced folder in your cloud storage also comes to Odoo as a manual folder.

A file put into a record's folder is attached to that record, and a file attached to the record in its chatter or attachment box shows in its folder. A file put into a manual folder belongs to that folder.

An automatic folder takes its name and its place from its rule. In the File Manager, you cannot rename, move, or archive it. If you archive it in another way, the next update brings it back while its record still fits the rule.

To remove a record folder, change the record or the rule's filters so that the record no longer fits. To remove all folders of a rule, archive the rule. Its child rules are archived with it. At the next update, these folders are archived. Their files come back to Odoo and their cloud folders are deleted, unless the reverse sync is off for the client.

A rule can add default folders to each new record folder. They are created only together with the record folder. After that, they are ordinary manual folders. See Default folders.

Which records get a folder

A rule gives a folder to each active record of its model that passes the rule's conditions. Archived records get none. You set the conditions on the rule, and Auto folder rules explains each one in detail.

  • Filters. Conditions on any field of the record, for example only companies, or only confirmed orders. A record that matches them gets a folder, and one that does not match gets none. Filters also split one model between several rules, such as quotations and confirmed orders. See Filters.
  • Periods. Conditions on a date of the record, counted from today, for example the orders of the last 2 months. The window moves with time, so new records enter the rule and old ones leave it. The rule form shows the exact dates for today. See Periods.
  • Only with attachments. A record gets a folder only when at least one file is attached to it. A record without files has no folder, so the folders of its child rules are not created either. See Only with attachments.

A record has only one automatic folder. When it fits two rules, the first rule in the list keeps it (Several rules for one model). A record that stops fitting loses its folder at the next update (Records that stop fitting). A rule creates at most 2000 record folders by default (Folder limit).

What you can do with a folder

Right-click a folder in the tree. A manual folder offers Rename, Edit Settings, and Archive. Archiving a folder also archives its subfolders. To move a manual folder, drag it into another folder you can change. An automatic folder offers Settings instead, to read which rule made it.

The right-click menu of the manual folder Annexes with Download as archive, Create subfolder, Open in clouds, Rename, Edit Settings, and Archive

The right-click menu of the automatic folder S00005 with Download as archive, Create subfolder, Open in clouds, Open linked object, and Settings

The other actions of the menu:

  • Create subfolder adds a manual folder inside any folder you can change, automatic folders included.
  • Download as archive downloads the files of the folder as one archive. The files of its subfolders are not included.
  • Open in clouds opens the folder in your cloud storage once it is synced.
  • Open linked object opens the record of a record folder.

Where a folder syncs

  • A folder inside a synced folder syncs to the same cloud client as its parent.
  • An automatic folder syncs to the cloud client of its rule. A child rule uses the client of its parent rule. When the rule has no client, its folders stay in Odoo only.
  • A manual folder at the top of the tree, or inside a folder that does not sync, gets its client in Clouds Client of its settings. So a manual folder can sync while its parent does not.

The settings of the manual folder Board meetings with the Clouds Client MinIO and the folder URL

The settings of the automatic folder S00005: generated by the rule Quotations, synced to Google Drive

The icon of a folder shows its cloud storage, with a separate icon for manual folders. A folder that does not sync has a plain folder icon, orange for a manual folder.

A rule for sales orders syncs to Google Drive. You create the manual folder Contracts at the top of the tree and choose a OneDrive client in its Clouds Client. Google Drive gets Odoo > Sales Order > S00003. OneDrive gets Odoo > Contracts.

Changes in Odoo and in the cloud explains what each change on either side leads to, including a folder deleted in the cloud.

The folder S00005, 465.75 USD in Google Drive with the subfolders Annexes, Drawings, and Signed copies and the quotation files

Folder names

  • A rule folder has the Folder name of its rule. A new rule proposes the name of its model.
  • A record folder has the record's display name, for example S00005 or Acme Corporation. The rule's Name Expression can build another name from the record's fields: {{ object.name }}, {{ object.amount_total }} {{ object.currency_id.name }} gives S00005, 465.75 USD. The syntax and more examples are in Record folder names of Auto folder rules.
  • A record folder is renamed in Odoo and in the cloud storage when the record's name changes, at the next folders' update.
  • A manual folder has the name you give it.

Two folders with the same name in one parent cannot exist. The app adds the folder id to the second name, for example Contracts (42).

Access to folders

The File Manager and the Cloud Storage menu need the group File manager access. Folder rules need the group Administration.

  • A record folder follows the record. Who can read the record sees its folder and files. Who can change the record can add and change its files.
  • A folder with no record of its own, a manual folder or a rule folder such as Quotations inside Acme Corporation, follows the nearest record folder above it. The top folder of a rule, such as Customers, has no record either. Only users who can read the rule's model, here Contact, see it and the manual folders inside it. Adding files there needs the right to change that model. A manual folder outside any rule, such as Board meetings, is open to all internal users. The record folders inside still follow their records.
  • Nobody can rename, move, or archive an automatic folder in the File Manager, administrators included.

The Extra security tab of a manual folder limits it to some users or groups. Such a user still needs the access above. The limit applies to seeing and to changing the folder alike, so it cannot make a folder read-only. The limits add up down the tree: a subfolder is open only to users allowed on every limited folder above it. A limit that leaves nobody is refused with an error. Include yourself, directly or through a group: otherwise you lose access to the folder once you save it, as an administrator too.

The Extra security tab of the manual folder Board meetings, limited to the users Mitchell Admin and Olivia Chen

The task Office design has a folder. Every user who can read the task sees it. You create the manual subfolder Commercial contracts and limit it to Marc in Extra security. Other users still see Office design, but not Commercial contracts.

If you then limit Commercial contracts > Scans to Ann only, nobody remains: Ann is not allowed on Commercial contracts. The app refuses this limit.

The groups and access in the cloud storage are in Access rights. Portal users get files through shares, described in Sharing.

Auto folder rules

A folder rule creates the automatic folders. It takes the records of one model, for example sales orders, and gives each record a folder that holds the files attached to it. The rules are in Cloud Storage > Configuration > Auto Folders Rules, for members of the group Administration.

Ready structures built from these rules are in Examples of folder structures.

What a rule does

A rule makes one folder with its Folder name, and inside it one folder for each record that fits the rule. The files attached to a record go into that record's folder. The folders reach the cloud storage when the rule has a Clouds Client. A child rule always uses the client of its parent rule. When no client is set, the folders exist in Odoo only.

A rule takes only active records: an archived record has no folder. The rule works as the superuser, so it ignores access rights and takes the records of all companies. To split records by company, filter on the company field.

Model to sync cannot be changed after the rule is saved. For another model, create a new rule. Some models cannot have a rule: modules, attachments, the activity and chatter mixins, wizards, the app's own rules and folders, and the documents and folders of the Enterprise Documents app. Documents have their own rule type, described in Enterprise Documents sync.

A rule can be the child of another rule, so that its folders sit inside the parent's record folders, for example the quotations inside their customer (Parent rules). A record folder is named after the record unless the rule sets a name expression, and it can get default folders.

Archiving a rule also archives its child rules. At the next update, all their folders are archived, as described under Records that stop fitting.

Filters

The Filtering conditions on the Filters tab decide which records get a folder. Any stored field of the model can be used, related fields included: the country of a contact, the status of an order, the tags of a project. Use filters to sync only the records that matter, and to split one model between several rules.

The rule Customers on the model Contact, synced to Nextcloud, with the filters Customer Rank greater than 0 and Is a Company set

Two rules on the model Sales Order. The rule Quotations filters on Status is in Quotation, Quotation Sent. The rule Confirmed Orders filters on Status is Sales Order. Cancelled orders fit neither rule and get no folder. When a quotation is confirmed, its folder moves from Quotations to Confirmed Orders at the next update, with its files.

A rule on the model Contact with the filter Is a Company is set. Each company gets a folder. Individual contacts get none, so their files stay in Odoo.

A rule on the model Project with the filter Tags contains Internal. Only the projects tagged Internal get a folder. When the tag is removed from a project, the project stops fitting the rule at the next update.

Only with attachments

With Only with attachments on the Filters tab, a record gets a folder only when at least one file is attached to it. Files kept in a field of the record do not count, except the invoice PDF. When the last file is removed, the record stops fitting the rule.

A record without files has no folder, so the folders of its child rules are not created either. For example, a customer with no files of its own gets no folder, even if its quotations have files.

Periods

Periods limit a rule to the records whose date falls in a moving window, for example the orders of the last 2 months. The window is computed again at each update, so records enter and leave the rule as time goes on.

Each line of the Periods tab takes a stored Date field of the model, the direction (the last or the next), and an Interval of days, weeks, months, or years. How the window is counted:

  • Weeks, months, and years are calendar units. A week starts on Monday. The last 2 months are two full months, not 60 days.
  • Without Including current, the current unit is not counted. On 27 November 2026, the last 2 months are September and October, and the next 5 days are 28 November to 2 December.
  • With Including current, the current unit is the first of the intervals. On the same day, the last 2 months are October and November, and the next 5 days are 27 November to 1 December.
  • Compared To past or future counts the window not from today but from a day moved back or forward by that amount. Example in the past: with 2 years in the past, the window is counted from 27 November 2024, so the last 5 years, including current, are 2020 to 2024. Example in the future: with 2 weeks in the future, the next 3 weeks, including current, are 7 to 27 December 2026.

Several lines combine this way:

  • Lines on different date fields must all match.
  • Lines on the same date field: one match is enough.
  • The periods add to the Filtering conditions. A record must match both.

The line If today, the periods will be shows the windows for today, date field by date field, for example Order Date: 2026-10-01 - 2026-11-30;. Both dates belong to the window. The windows of one date field are joined by "or". Check this line after each change: it shows a gap or an overlap at once.

The Periods tab with three lines on Created On and Deadline, and the line If today, the periods will be

A record that leaves the window loses its folder, as described under Records that stop fitting. A record that enters it gets its folder at the next update. A record that goes in and out often makes its files travel each time, so prefer windows that change rarely, such as months or years.

A rule on the model Sales Order with one line: Order Date, the last 2 months, Including current, compared to today.

On 27 November 2026, the line reads Order Date: 2026-10-01 - 2026-11-30;. The orders of October and November have folders, and a new order gets one at the next update.

On 1 December, the window becomes November and December. The October orders lose their folders, and their files come back to Odoo.

A rule on the model Journal Entry with the filter Type is Customer Invoice, and one line: Invoice/Bill Date, the last 5 years, Including current, compared to the past, 2 years.

On 27 November 2026, the line reads Invoice/Bill Date: 2020-01-01 - 2024-12-31;. The invoices of 2020 to 2024 go to the cloud storage. The invoices of 2025 and 2026 have no folder, and their files stay in Odoo.

On 1 January 2027, the window becomes 2021 to 2025. The 2025 invoices go to the cloud, and the 2020 invoices come back to Odoo. To keep all older invoices in the cloud, use a long interval, such as the last 50 years.

A rule on the model Task should take the tasks due this month or next month. It has two lines: Deadline, the last 1 month, and Deadline, the next 1 month. On 27 November 2026, the line reads Deadline: 2026-10-01 - 2026-10-31 or 2026-12-01 - 2026-12-31;. November is missing, because neither line includes the current month.

With Including current on the first line, it reads Deadline: 2026-11-01 - 2026-11-30 or 2026-12-01 - 2026-12-31;.

A third line, Created On, the last 1 year, Including current, adds a second condition: Created On: 2026-01-01 - 2026-12-31; Deadline: 2026-11-01 - 2026-11-30 or 2026-12-01 - 2026-12-31;. Now a task needs a deadline in November or December and a creation date in 2026.

Parent rules

A rule with a Parent rule puts its folders inside the record folders of that rule. Parent model field tells which record is the parent: a field of this rule's model that points to a record of the parent rule's model. For quotations under their customer, the field is Customer. Each customer folder then holds a Quotations folder with that customer's quotations: Customers > Acme Corporation > Quotations > S00005.

The rule Quotations on the model Sales Order, with the parent rule Customers, the parent model field Customer, and the Nextcloud client taken from the parent

  • The field can go through several links, as long as the last one points to the parent rule's model. For example, Project > Customer on a task puts the tasks right inside their customer's folder.
  • A record whose field is empty gets no folder from the child rule. Neither does a record whose parent has no folder, for example a parent left out by the parent rule's filters.
  • A child rule syncs to the client of its parent rule. Both rules must be of the same type, and rules cannot form a loop.

Three rules. Contacts on the model Contact, with the filter Is a Company is set. Projects on the model Project, with the parent rule Contacts and the parent model field Customer. Tasks on the model Task, with the parent rule Projects and the parent model field Project.

The tree becomes Contacts > Azure Interior > Projects > Office Design > Tasks > Install furniture. A project with no customer gets no folder, and neither do its tasks.

Record folder names

  • The rule folder takes the rule's Folder name. A new rule proposes the name of its model, and you can change it.
  • A record folder takes the record's display name, the name Odoo shows for the record in its breadcrumb: S00005 for a sales order, Acme Corporation for a contact.

The Name Expression tab builds another name from the fields of the record. It uses the placeholders of email templates, {{ object.field }}. Text outside the braces is kept as typed.

The Name Expression tab of the rule Quotations with the expression object.name, object.amount_total, and object.currency_id.name

  • {{ object.name }}, {{ object.amount_total }} {{ object.currency_id.name }} on sales orders gives S00005, 465.75 USD. Numbers print as stored: 3024.5, not 3,024.50.
  • {{ object.name }} ({{ object.city ||| no city }}) on contacts gives Acme Corporation (Pleasant Hill), or Acme Corporation (no city) when the city is empty. The text after ||| replaces an empty value.
  • For a field that links to another record, name the field to print, as .name above. Without it, the folder gets a technical value such as res.currency(1,).
  • An empty field prints nothing. When the whole result is empty, the folder takes the display name.

Names are computed again at each folders' update. When a record or the expression changes, its folder is renamed in Odoo and in the cloud storage. Avoid fields that change often, such as a stage: the folder would be renamed each time. Symbols that a cloud storage does not accept become -, as described in Folders.

Default folders

The Defaults tab holds subfolders and files that each new record folder of the rule receives, for example Scans, Questionnaires, and Equipment for each employee, with blank forms to fill in. Add them with Create root subfolder and Upload root file.

The Defaults tab of the rule Employees with the folders Scans, Questionnaires, and Equipment and three PDF forms

  • Each new record folder gets its own copy of each file.
  • They are created only together with a new record folder. Record folders that already exist do not get them when you change the tab.
  • After that, they are ordinary manual folders and files. Users can rename, move, or archive them, and the rule does not bring them back.

The rule Customers has the default folder Documents to sign with the file Terms of agreement.pdf. Each new customer folder gets Documents to sign and its own copy of the file, so the version signed by one customer does not touch the others. Customers that already had a folder get nothing.

Several rules for one model

One model can have several rules, for example one for quotations and one for confirmed orders. A record still has only one automatic folder. The folders' update goes through the rules in the order of the list and handles the child rules of each rule right after it. The first rule that takes a record keeps its folder. Drag the rules in the list to change the order. The same order sorts the rule folders in the File Manager.

The list of auto folder rules with their cloud client and parent rule, in the order the folders' update goes through them

Make the filters of such rules exclude each other, so that the order does not matter. When a record moves from one rule to another, for example a quotation is confirmed, its folder moves at the next update, with its files. If the two rules sync to different cloud clients, the files first come back to Odoo from the old client and then go to the new one.

When several rules claim one file, it goes to the folder of the rule higher in this list. A new rule is added at the end. If the order was never changed, the rule created earlier wins. Archiving or deleting a rule passes the file to the next rule. Records and Documents together describes when that file moves, and a record attachment that is also a Documents file.

Records that stop fitting

A record stops fitting when it no longer matches the filters, leaves its period, loses its last file under Only with attachments, is archived, or is deleted. Its folder is archived when the next full folders' update ends. Then the sync returns its files to Odoo and deletes the folder in the cloud storage.

When the client has Turn off the reverse sync, the files stay in the cloud storage and are not downloaded. The connection between Odoo and these cloud items is cut and cannot be restored. See Cloud clients: confirm, pause, reset.

When the record fits again, the same folder comes back and is set up in the cloud storage again: its files are uploaded again.

When changes apply

The scheduled action [Cloud Storage] Prepare Cloud Folders applies the rules every 15 minutes. A change to a rule or to a record shows in the folders after its next run. A large volume takes several runs: a run stops before the server time limit, writes "The folders' update was stopped because of the timeout. To be continued afterward" to Sync Logs, and the next run goes on.

The folders reach the cloud storage with the other scheduled action, [Cloud Storage] Run/Prepare sync queue. For a test, the button Launch Folders' Update in the settings runs the update at once. See How the sync works.

Folder limit

A rule creates at most Maximum Folders per Rule record folders, 2000 by default. For a child rule, the limit counts the records inside one parent folder. When more records fit, the rule stops updating: it keeps the folders it has and creates no new ones. Its form shows a red alert with the number of records found, and Sync Logs show "The folders maximum ... was exceeded".

The red alert on the rule Customers: the maximum folder count per rule was exceeded, here with the limit lowered to 5 for the example

While a rule with no parent rule is over the limit, the folders' update archives no folders at all, for any rule.

Prioritization

The sync checks every synced folder for changes in Odoo and in the cloud storage, starting with the folder checked longest ago. With many folders, one round takes many runs, and changes in active folders wait behind quiet ones. The Prioritization tab checks the folders of a rule less often.

Turn on Restrict Monitoring and set the hours in Do not check more frequently than once in. After each check, the folders of the rule are skipped for that time. This covers the rule folder, its record folders, and the manual folders inside them. A child rule is never checked more often than its parent: it takes the longer of the two times.

The Prioritization tab with Restrict Monitoring on and 24 hours between checks, and the button Clear next folders priority

While a folder is skipped, nothing in it syncs in either direction. A file added in Odoo or in the cloud waits for the next check. Use it for folders that rarely change, and keep it off for active work.

A new time applies to a folder only after its current wait ends. To apply it now, press Clear next folders priority. The folders of the rule and of its child rules lose their wait and are checked at the next sync run. The button works while the page waits. With many folders, it can stop on the server time limit. The folders already cleared stay cleared, so press it again to finish.

The rule Contacts has Restrict Monitoring with 24 hours. The rule Opportunities has none. Each contact folder is checked at most once a day, and the opportunity folders get the rest of each run.

Had the contacts been set to 240 hours by mistake, changing the value to 24 would apply only after the 240 hours have passed. Clear next folders priority applies it at the next sync run.

Examples of folder structures

These structures run on the demo database. Build the same rules in Cloud Storage > Configuration > Auto Folders Rules and adapt the filters. What a rule does, Parent rules, Filters, and Record folder names describe the fields.

Customers with their invoices and quotations

Keep each customer company's invoices and quotations in that company's folder, on Google Drive.

  1. Customers. Model to sync is Contact. The filter is Customer Rank greater than 0 and Is a Company is set. Clouds Client is Google Drive.
  2. Invoices. Model to sync is Journal Entry. Parent rule is Customers, and Parent model field is Partner. The filter is Type = Customer Invoice.
  3. Quotations. Model to sync is Sales Order. Parent rule is Customers, and Parent model field is Customer. The filter is Status in Quotation and Quotation Sent. The name expression is {{ object.name }}, {{ object.amount_total }} {{ object.currency_id.name }}.

The Quotations rule under the Customers rule

The path is Customers > Acme Corporation > Invoices > INV-2026-00002, and Customers > Acme Corporation > Quotations > S00005, 465.75 USD.

Customers with their Invoices and Quotations folders in the File Manager

A contact person is not a company, so that person's documents get no folder unless the company is the customer on them. Parent rules says a record whose parent has no folder gets no folder. A confirmed order leaves Quotations. Several rules for one model shows a second rule for confirmed orders.

Projects with their tasks

Keep each internal project's tasks under that project, on OneDrive.

  1. Internal Projects. Model to sync is Project. The filter is Tags contains Internal. Clouds Client is OneDrive.
  2. Tasks. Model to sync is Task. Parent rule is Internal Projects, and Parent model field is Project.

The path is Internal Projects > Renovations > Tasks > Bathroom. A task with no project gets no folder. For customer, then project, then task, put a Contacts rule on top and set Customer as the parent model field of the projects rule. Parent rules shows that example.

Internal projects with their task folders

Sales teams with their opportunities

Keep each sales team's opportunities under that team, on Dropbox.

  1. CRM. Model to sync is Sales Team. Clouds Client is Dropbox.
  2. Leads. Model to sync is Lead. Parent rule is CRM, and Parent model field is Sales Team. The filter is Type = Opportunity.

The path is CRM > Europe > Leads > Modern Open Space. Without the filter, plain leads get folders too. With Only with attachments, only the opportunities that have files do. Only with attachments describes that option.

Sales teams with their opportunity folders

One parent, two child rules: departments

Give each department both its job positions and its employees, on Box.

  1. Departments. Model to sync is Department. Clouds Client is Box.
  2. Job Position. Model to sync is Job Position. Parent rule is Departments, and Parent model field is Department.
  3. Employees. Model to sync is Employee. Parent rule is Departments, and Parent model field is Department.

The path is Departments > Management - Sales > Job Position > Marketing and Community Manager, and Departments > Management - Sales > Employees > Eli Lambert. One parent rule can have several child rules. Each child adds its own folder in every parent folder.

A department folder with job position and employee folders

Different storages for different areas

Each top rule has its own client. Customers is on Google Drive, Internal Projects on OneDrive, CRM on Dropbox, Departments on Box, Purchase Orders on Amazon S3, Meetings on MinIO, Applicants on Synology, and Vendors on Nextcloud. One rule has one client. A child rule always uses its parent's client. Where a folder syncs describes that.

Folder rules of the demo database, each top rule with its own cloud client

  • Customers and Vendors are both on Contact. Vendors uses the filter Supplier Rank greater than 0 and Is a Company is set. A company that is both a customer and a vendor gets one folder only, from the rule higher in the list. Several rules for one model describes that. A record cannot have both folders. Make the filters exclude each other, so that the order of the list does not decide.
  • To put purchase orders inside their vendor, make Purchase Orders a child of Vendors with the parent model field Vendor. Those orders then sync to the Vendors client.

One folder per vehicle

This structure needs the Fleet app. It takes three rules.

  1. Vehicles. Model to sync is Vehicle. The name expression is {{ object.license_plate }} {{ object.model_id.name }}.
  2. Services. Model to sync is Services for vehicles. Parent rule is Vehicles, and Parent model field is Vehicle.
  3. Contracts. Model to sync is Vehicle Contract. Parent rule is Vehicles, and Parent model field is Vehicle.

The path is Vehicles > the plate and the model > Services > the service, and the same for Contracts. An empty plate does not print the word False. An empty field prints nothing, and when the whole name is empty the folder takes the display name. Record folder names describes that.

Folders by year

Each level of a tree is a rule folder or a record folder. A rule cannot add a fixed folder between two levels, and it cannot group its records into year or month folders. Two settings give a tree by date instead.

  • One rule for each year. The rule Vendor bills 2026 on the model Journal Entry keeps the posted vendor bills with a bill date in 2026. The rule Vendor bills 2025 does the same for 2025. Each rule folder is a top folder in the cloud. Add the rule of the next year before its first bill.
  • The date in the folder name. The name expression {{ object.invoice_date }} {{ object.name }} names a bill folder 2026-11-19 BILL-2026-10-0003. The / of the bill number becomes -. In the cloud storage, sorted by name, the folders follow the dates. Record folder names describes expressions.

The rule Vendor bills 2026 on Journal Entry: posted vendor bills with a bill date in 2026, synced to Google Drive

The folders Vendor bills 2025 and Vendor bills 2026 in the File Manager, each bill folder named by its date and number

A rule with Periods, such as the bills of the last 12 months, also limits folders by date. A bill that leaves that window loses its folder, as Records that stop fitting describes. Use it for current work, not for an archive.

File Manager

Cloud Storage > File Manager shows the files of all folders, synced or not. It shows only files that sit in a folder. A file stored in a record field is left out, except the invoice PDF.

The terms used here are in Words used in these docs.

The screen

The left side is the folders, the tags, and the shares. The middle is the file cards. The right side is the selection.

The left and right panels can be resized and collapsed.

Check folders to see their files. Checking a folder also checks its subfolders. Clear a subfolder to leave its files out. A parent of a checked folder gets a dotted border, so the choice stays visible in a closed tree.

Each tree has its own search and a Clear this filter button. Clear search empties that search.

Several checked items of one tree show the files of any of them. Checked items of different trees show only the files that match all of them. Check the customers and the tag Legal, and the cards are only the Legal files of those customers.

The folder Customers and the tag Legal checked: only the Legal files of the customers are shown

Checking a share shows the files of that share, the files of its folders, and the files of its tags. The share menu is described in Sharing.

The menu of a folder is in What you can do with a folder. The two kinds of folder are in Automatic and manual folders. Who can see a file follows its folder, as Access to folders explains.

The File Manager with the folder Acme Corporation checked, three files selected, and the actions for the selection on the right

What a card shows

A card shows the name, the folder, the tags, the type icon or the thumbnail, the date, and the author. A URL is a link card. A synced file and a URL also show their link under the name. A synced file shows the icon of its type, never a thumbnail, because the list does not fetch the cloud content.

The icon at the bottom is a cloud for a synced file, a download arrow for a file that is still in Odoo, and Open (a link icon) for a URL.

Click the icon and the Odoo viewer opens. Click anywhere else on the card and the file is selected. The viewer and Download go through Odoo. For a synced file, Odoo reads the content from the cloud and sends it to the browser. You do not need an account in the cloud storage. The link under the name of a synced file opens the file in the cloud storage itself, so it needs access there. Open in clouds does the same for a folder, as What you can do with a folder describes.

What the viewer can show (images, PDF, text) is the standard Odoo viewer. Other types are only downloaded.

The card menu has Open, which opens the attachment form, and the color.

Three file cards: a file synced to the cloud, an image stored in Odoo, and a URL link

Adding files

The button Upload to shows the name of the current folder and uploads files into it. You can also drag files from your computer onto the cards.

The current folder is the checked folder you clicked last. If that folder is no longer checked, it is the first checked folder. With nothing checked, it is the first folder found by the tree search, or else the first folder of the tree.

Add URL saves a name and a link as a URL file in the current folder. A URL file with no cloud link is never synced. How the sync works describes that.

The app sets no file size limit. The file goes to the Odoo server first, and the next sync sends it to the cloud. The limits of the Odoo server and of the cloud service still apply. Server configuration and limits describes those limits.

When a rule creates or updates the folder of a record, the attachments that already belong to that record move into the folder. The next sync sends them to the cloud. The Odoo file store is then cleared, as What the app does describes. The existing files of the contact Acme Corporation moved into its folder when the rule Customers created that folder. How a rule builds folders is in Auto folder rules.

The button Upload to Renovations and the Add URL dialog

Finding files

The search bar searches the file name, the folder, the tags, and Created by. In developer mode it also searches Mime Type.

The filters are Synced, Not Synced, My Files, URL, and Binary.

The search works together with the checked folders, tags, and shares: the cards match both.

Moving, tagging, and sharing by drag

Drag a card onto a folder to move the file there. Drag it onto a tag to add that tag. Drag it onto a share to add the file to that share.

A file that is not selected is selected when the drag starts. Several selected files move together.

Moving a file into a record folder attaches the file to that record. Moving it into a folder that belongs to no record takes it off the record and links it to the folder. A folder of the Odoo Documents app (Enterprise) leaves the file attached to its record. Enterprise Documents sync describes those folders.

Two selected files dragged onto the tag Plans

Selection and mass actions

The selection stays when you check other folders, tags, or shares, or change the search. So you can collect files from several folders. Select all found adds every file of the current search to the selection, including files on the next pages.

The panel Selected attachments lists them. Click a name to drop that file from the selection. Clear selection drops them all.

The mass actions are under Apply to selection. They do not appear until you add them in the block Mass actions of Cloud Storage > Configuration > Configuration. The app brings six:

  • Download needs File manager access. One file is downloaded as it is. Several files are downloaded as a zip.
  • Update folder needs Administration.
  • Update tags needs Turn on attachment tags.
  • Share needs Allow sharing for Cloud Storage Solutions.
  • Slideshow needs File manager access.
  • Delete needs Administration.

An action is shown only to users of its group, and only when it is in that list. Your own server actions on Attachment are added in the same list.

The Mass actions block of the settings with the six actions of the app

Tags

The setting Tags turns the tag tree on. One file can have several tags, and tags can have parent tags.

The menu of a tag has Download as archive, Create, Rename, Edit, and Archive.

The full list is Configuration > Tags. Archived tags come back from that list.

Add a tag by dragging a file onto it, or with the mass action Update tags.

The tags tree with sub-tags and the menu of the tag Designs

Slideshow

The mass action Slideshow plays the selected images. Files that are not images are skipped. A URL with no cloud content is skipped. If no image remains, Odoo says "There are no images selected!".

The time between images is from 2 seconds to 5 minutes. The default is 5 seconds.

The arrows move between images. Space pauses. Escape or Q closes the slideshow. At the last image it starts again from the first.

The slideshow of three selected images with its controls and the time per image

Attachment box

The attachment box of a record shows the folder of that record and its subfolders above the files, so you work with the record's folders without leaving the record. It also adds Add URL, and the full message composer gets Existing Attachments. The rest is the standard Odoo attachment box.

The terms used here are in Words used in these docs.

Which records show folders

The box shows the folder tree when the record has its own folder and you can see that folder. That is a record of a rule's model that fits the rule, after the next folders' update. With Only with attachments, the folder is not there before the record's first file. Only with attachments describes that option.

A record with no folder, or whose folder you cannot see, keeps the standard box. Who can see a folder is in Access to folders.

The tree is only the record's folder and its subfolders. The rest of the folders are not shown.

A user without File manager access still sees the folders of the records they can open, as far as the folder access allows. That user does not get Open in File Manager and does not see the Cloud Storage menu.

Folders in the attachment box

Click a folder to see its files. The box shows the files of that folder only, not the files of its subfolders. In the File Manager, a checked folder includes the files of its subfolders.

When you open the record, its own folder is selected. The search above the tree finds a folder and selects the first match.

The menu of a folder is in What you can do with a folder. One item is only in this box: Open in File Manager opens the File Manager with that folder checked. It is there for users with File manager access.

The attachment box of the quotation S00005 with its folder, three subfolders, and the synced files

Adding files on a record

Attach files and dragging files onto the box add them to the selected folder. A file added to this folder in the File Manager shows here too.

Add URL is next to Attach files on every record, with or without a folder. It needs the right to change the record. The link is saved in the selected folder, or on the record when the record has no folder. A URL with no cloud link is never synced. How the sync works describes that.

A file attached to a message, or to an incoming email, is attached to the record. When that record has a folder that syncs, the file goes into the record's folder. The next sync sends it to the cloud. This does not cover an image pasted into the body of an email.

A file added in the cloud, in the folder of a record, comes to Odoo with the next sync, in the folder where it was added. A file of the record's own folder is attached to that record. For example, a file added to the Google Drive folder of the quotation S00005 shows in that quotation's box after the next sync, attached to the quotation. A file added in a manual subfolder belongs to that subfolder, not to the record. The two kinds of folder are in Automatic and manual folders.

The quotation S00005 has the subfolders Annexes, Drawings, and Signed copies. A file uploaded with Annexes selected is in Annexes and belongs to that folder.

Files stored in a record field are not synced, except the invoice PDF. The same is true of a URL with no cloud link and of system files. How the sync works lists them.

Synced files

A synced file shows as a card with the icon of its type, also when it is an image, unless real-time preview is on. A URL file shows a link icon and opens its address.

Click a synced file. A type the Odoo viewer can show (images, PDF, text) opens in the viewer. Odoo reads the content from the cloud and sends it to the browser. Another type opens in the cloud storage. Download also goes through Odoo, so you do not need an account in the cloud storage. Open in clouds opens the file in the cloud storage, which needs access there.

Deleting a synced file in the box removes it from Odoo at once. The file is deleted in the cloud with the next sync. Changes in Odoo and in the cloud describes that.

A synced file in the attachment box with the buttons Download and Open in clouds

Real-time preview

The setting Show synced images and GIFs preview in real time is in the Cloud Storage settings. Settings describes the page.

When it is on, the box and the messages load synced images, and the text of text files, from the cloud each time and show them. The help says this slows the attachment box and the loading of messages. When it is off, such a file shows its icon, and it opens when you click the card.

The setting applies to all internal users. It does not change the cards in the File Manager. What a card shows describes those cards.

To keep images in Odoo instead, list their types in Not synced mimetypes, for example image/png,image/jpeg.

The same attachment box with real-time preview on: the synced image shows its picture

Existing attachments in a message

You can add a file that is already in Odoo to a message, without downloading it first. In the full composer, Existing Attachments is under the attachments. Search more... opens Add Attachments.

These are the files of the Cloud Storage folders, not the files of the Enterprise Documents app. The dialog offers files stored in Odoo and synced files. A link that has no file in the cloud is not offered. You find only files you can read.

Folders is filled in with the folder of the record, and its subfolders are included. Tags is there when tags are turned on. Search in contents searches the name and the indexed content. Search in mimetype searches the type.

Add a file with its plus icon. It moves to Selected Attachments. Save adds the files to the message.

A synced file in an email is read from the cloud when the email is sent. When the cloud does not return the file, the email is not sent without it: it stays failed, and the reason names the file. The same warning is in Sync Logs. Retry on the failed email sends it again.

After the message is sent, those files show among the message's attachments. They stay attached to their own record and are not added to this record's box. Deleting one from the message deletes the file itself, also from its own record. A user who cannot read a file cannot add it.

From the contact Acme Corporation, a message can carry a file of the project Renovations, in the folder Internal Projects / Renovations. The file stays in Renovations.

The Add Attachments dialog with the folder of the quotation filled in and the files found

How the sync works

The sync is automatic. After a client and a rule are set up, scheduled actions keep Odoo and the cloud storage in step, in both directions. It is not instant: a change shows in the cloud after the next run, and a large volume takes many runs. What each action in Odoo or in the cloud does is in Changes in Odoo and in the cloud.

The terms used here are in Words used in these docs.

Two scheduled actions

[Cloud Storage] Prepare Cloud Folders creates and updates the folders in Odoo from the rules. When changes apply describes that update.

[Cloud Storage] Run/Prepare sync queue does the sync itself. It sends folders and files to the cloud and brings the cloud changes back.

Both run every 15 minutes. Odoo refuses a shorter interval for these two.

The buttons that launch these actions by hand are only for tests. The form says: "Avoid doing that in production environments." Step 4. Wait for the first sync explains them.

The four scheduled actions of Cloud Storage: three run every 15 minutes, Check Expired Shares once a day

One sync run

One run lasts up to 15 minutes. It stops a little earlier, as a safety margin, so that it can finish its last step in time. The next run goes on with the queue. A large first sync takes many runs, which is why files can still be in Odoo an hour after it starts.

Sync Logs show "Cloud sync was started. Locked till: ..." at the start and "Cloud sync was finished. Unlocked" at the end. A run that starts while the lock still holds does nothing and logs a warning: "Cloud sync was started but the previous process had not yet finished. Locked till: ..."

That is why every server time limit must be at least 900 seconds. Server configuration and limits describes those limits.

A run does three things, in this order. It runs the tasks already in the queue. It checks the synced folders for changes in Odoo and in the cloud and adds tasks. It runs the new tasks. Tasks run oldest first. Folders are checked starting with the one checked longest ago. A child folder waits for its parent, and a reverse or move task holds the others back. Prioritization explains checking some folders less often.

A failed task is retried. Sync logs and queue describes the retries.

Until a file is synced, it shows as a normal Odoo file.

Sync Logs with one sync run from start to finish

Three directions

Direct sync goes from Odoo to the cloud. It creates the folders in the root folder of the client, uploads the files of synced folders, and applies renames, moves, archives, and deletions made in Odoo.

Backward sync goes from the cloud to Odoo. A file added, renamed, moved, or deleted in a synced cloud folder changes in Odoo too. Adding files on a record explains where a file added in the cloud goes.

A file added in the attachment box of the quotation S00005 goes to its Google Drive folder at the next run. A file added in that Google Drive folder shows in the box after the next run.

Reverse sync brings the files of a folder that stops syncing back to Odoo and deletes the cloud folder. It runs when the record no longer fits its rule, or when the record or the folder is archived or deleted. Records that stop fitting describes those cases. A change of client also starts a reverse sync. Cloud clients: confirm, pause, reset describes that case.

The client can turn those directions off with Turn off the backward sync and Turn off the reverse sync. Cloud clients: confirm, pause, reset describes those settings.

Every action in Odoo and in the cloud storage, and what the sync does with it, with its limits, is in Changes in Odoo and in the cloud. Read it before you rename, move, or delete synced folders and files.

The whole sync works under the one account confirmed in the client. The app does not set rights on the cloud side: give them in the cloud storage. Access rights describes that.

Where the files are

A synced file is stored in the cloud. Odoo keeps the attachment with a link to it. After the upload, the file is marked for deletion. It leaves the Odoo file store at the next Base: Auto-vacuum internal data, which runs once a day by default.

Files outside a synced folder, files in record fields, and the types in What is not synced stay in the file store. The filter Not Synced in the File Manager shows them.

The Filestore block in the Cloud Storage settings shows the size after that job. Refresh runs the job now. Odoo.sh recounts its billed size on its own schedule. Odoo still shows the old file size of a synced file: the size stays in the database on purpose.

The Filestore block in the Cloud Storage settings with the filestore size and the Refresh button

Opening a synced file in the viewer and Download make Odoo read the file from the cloud with the client's account and send it to the browser. Odoo access rights apply, and you do not need a cloud account. The cloud must answer at that moment. Open in clouds is the one way that goes to the cloud storage and needs access there. Synced files describes the cards.

If the cloud does not answer, a synced file cannot be opened or downloaded, and an email with that file is not sent. Existing attachments in a message is where a synced file is added to an email.

Odoo and the cloud storage both need their own backups. Database backups describes the Odoo side.

What is not synced

These types are never synced: text/html, text/css, text/javascript, application/javascript, text/xml, and application/xml.

A file stored in a record field is not synced, except the invoice PDF. A URL with no cloud link is not synced. A system file, whose name or address starts with /, is not synced. An empty file, of size 0, is not uploaded.

Not synced mimetypes in the Cloud Storage settings adds types. Write them separated by commas, with no spaces, for example image/png,image/jpeg. The setting never removes the six types above. A file of one of these types is not uploaded from Odoo. A file of that type already stored in the cloud stays in the sync, so a deletion or a rename on either side still applies.

To find the type of a file, turn on developer mode, open Settings > Technical > Attachments, open the file, and read Mime Type.

The app sets no file size limit. The Odoo server and the cloud service do. Server configuration and limits describes those limits.

Large volumes

The first sync of many records takes many runs. Each run does what it can in its 15 minutes, and the next one goes on. Nothing is lost on the way. The oldest changes go first.

As an example, 10,000 sales orders to sync: one run sends the files of 3,000, so four runs, about an hour. The speed depends on the cloud service and the files. This is an illustration, not a promise.

To make the sync lighter, sync only the records you need. Filters and Periods explain how. Folder limit is the cap on how many folders one rule creates. After the first sync, a full check takes longer with more synced folders: each folder is one request to the cloud. Prioritization checks some folders less often, and Turn off the backward sync skips the cloud request.

Changes in Odoo and in the cloud

What happens to a synced folder or file depends on where you change it. Changes reach the other side at the next sync run. How the sync works describes the runs. Manage folders in Odoo. Files can be managed on both sides.

Who wins

Folders are managed in Odoo. A rename or a move made in the cloud is not brought back.

Files count on both sides. When the same file is renamed or moved on both sides before a run, Odoo wins.

Every change waits for the next run. While a client is paused or not connected, its ordinary sync tasks wait for it and do not use up their retries. Reverse and move tasks keep their own retries. Cloud clients: confirm, pause, reset describes a paused client.

Folders: changes in Odoo

Change folders in Odoo. The cloud folder follows at the next run.

  • A folder appears. A record that fits a rule, or a manual folder you create, is created in the cloud at the next run, inside the root folder of the client. Its files are uploaded.
  • Rename. Rename a manual folder with Rename. A record folder is renamed when the record's name or the rule's name expression changes. Folder names describes the expression. The cloud folder is renamed. The contact Acme Corporation renamed, and its cloud folder follows.
  • Move. Drag a manual folder into another folder. A record folder moves when its parent rule or its parent record changes. Parent rules describes that. The cloud folder moves with it.
  • Move to another client, or to a folder with no client. The folder's client changes. Its files come back to Odoo and, with a new client, go there. When files come back to Odoo describes that.
  • Archive. Archive a manual folder and its subfolders. What you can do with a folder describes the menu. The files come back to Odoo and the cloud folder is deleted, unless the reverse sync is off. A record folder archived by hand comes back at the next folders' update while the record still fits.
  • Restore. Unarchive brings the folder back, and the subfolders that were archived with it. The next run creates them in the cloud again and uploads their files.
  • Delete. Folders are archived, not deleted, in the File Manager.

Folders: changes in the cloud

Do not rename, move, or delete synced folders in the cloud. Do that in Odoo.

  • Create a folder inside a synced folder. It becomes a manual subfolder in Odoo at the next run, with its files. A folder added in the OneDrive folder of a project under Internal Projects becomes a manual subfolder of that project.
  • Rename. The new name is not brought to Odoo, and it is not reverted in the cloud. The names differ until you rename the folder in Odoo, which then renames it in the cloud too. The Odoo folder keeps its old cloud address. Open in clouds on that folder may open the old address. Rename in Odoo instead: a manual folder with Rename, a record folder by renaming the record.
  • Move. A move in the cloud is not brought to Odoo. The Odoo tree stays, and the sync goes on. When the folder shows up in another synced folder, Sync Logs show "The folder ... was not created in Odoo. Avoid moving folders in clouds!" A quotation folder moved out of Quotations in the cloud stays under Quotations in Odoo.
  • Delete. The folder is not found. After more than 3 checks in a row it loses its cloud link, its waiting tasks are deleted, and the next run creates it again with its subfolders. The files that were in it are not uploaded again: they were only in the cloud. In Odoo they stay as links that no longer open.
  • The root folder. Deleting it stops the sync of the client. Google Drive, OneDrive, Dropbox, and Box report "The root folder is not available", with no details. Amazon S3, NAS, ownCloud, and Nextcloud report "The client cannot be initiated. Reason: the root folder has been deleted. Try to reconnect". Cloud clients: confirm, pause, reset describes the reconnect. Do not rename or move the root folder in the cloud.

Sync Logs warning about a folder moved in the cloud

Files: changes in Odoo

  • Add. A file added in the attachment box, the File Manager, a message, or an incoming email is uploaded at the next run. Odoo keeps a link. Adding files on a record and Where the files are describe that.
  • Rename. Open the file with Open and rename it on its form. The cloud file is renamed.
  • Move. Use Update folder in the File Manager, or drag the file to a folder. The cloud file moves. A move to a folder of another client brings the file back to Odoo and uploads it there. A move to a folder with no client brings it back to Odoo, and it stays there.
  • Delete. The file is gone from Odoo at once and deleted in the cloud at the next run. Synced files describes the same step.
  • Change the content in Odoo. New content written to a synced file in Odoo is not kept. What you open afterwards is still the content in the cloud. Change the file in the cloud storage, or upload a new file.

There is no merge. In Odoo, move the files with Update folder. Selection and mass actions describes that action. Then archive the empty manual folder. Copying files between cloud folders creates new files in Odoo and leaves the old ones in place.

Sync Logs: a file and a folder updated in Google Drive after changes in Odoo

Files: changes in the cloud

  • Add a file to a synced folder. It comes to Odoo at the next run, in that folder. A file of a record folder is attached to the record. Adding files on a record describes that.
  • Rename. The Odoo file is renamed. A file renamed in the Google Drive folder of the quotation S00005 is renamed in Odoo.
  • Move between synced folders. Odoo deletes the old file and creates it again as a new attachment in the new folder, so its tags are lost, and so is its place in messages and shares. S00005 specification sheet.pdf, moved in Google Drive from the quotation folder into Annexes, came back in Annexes as a new attachment without its tag. A move out of the synced area deletes the file in Odoo.
  • Delete. The Odoo file is deleted at the next run.
  • Change the content. A new version saved in the cloud has nothing to sync. Odoo reads the file from the cloud each time it is opened or downloaded, so it shows the current version.
  • Download on either side works as usual. Where the files are describes the Odoo side.

Sync Logs with a file added, renamed, and deleted in Google Drive and the same changes in Odoo

Records and rules

  • A record is renamed. Its folder is renamed at the next folders' update, then in the cloud. Folder names describes the name.
  • A record stops fitting its rule. Filters, a period, archiving, deletion, or a change of the rule: its folder is archived at the next folders' update, and its files come back to Odoo. Records that stop fitting describes the cases. A record folder that you archive by hand comes back while the record still fits. Which records get a folder describes that.
  • A record fits again. Its folder is restored and synced again, as a restore above.
  • The rule's client changes, or a record moves to a rule with another client. The files come back to Odoo, then go to the new client. For a set of records, use a rule with its own client and filter, for example one rule on Google Drive and one on OneDrive. Several rules for one model describes that. It is two full transfers. Do not do it lightly on many records. Cloud clients: confirm, pause, reset describes a change of client.
  • The rule's parent changes. The folders move in the cloud. When the rule Tasks loses its parent rule Projects, the task folders move out of the project folders in the cloud.

A contacts rule gets the filter Is a Company. The folders of persons come back to Odoo. The folders of companies stay and keep syncing.

When files come back to Odoo

This is the reverse sync. Three directions names it. It runs when a folder stops syncing: it is archived, its record no longer fits, it is moved to a folder with no client or another client, or its client is removed, reset, or changed.

The files are downloaded back into Odoo. The cloud files and folders are deleted. With a new client, the files are uploaded there.

Reverse and move tasks hold the other tasks back until they are done. Maximum Retries (Reverse and Move tasks) limits their retries. Sync logs and queue describes that setting. When a reverse download has used up its retries, Sync Logs show an error. The file was not returned to Odoo and stays a link to the cloud. The cloud folder is kept.

Google Drive exports a Google Sheet, a Google Doc, a Google Slide, and a Google Drawing into a file Odoo can store: an OpenDocument spreadsheet, text, or presentation, or a PDF. A short outage or a rate limit is tried again. A Google file that cannot be exported is skipped at once. It stays a link to the cloud, Sync Logs show an error, and the cloud folder is kept.

Do not change these folders in Odoo or in the cloud until the reverse sync is done. It can take several runs.

Sync Logs: a file brought back to Odoo from OneDrive by the reverse sync

One-way sync and stopping without return

  • Turn off the backward sync. Odoo changes still reach the cloud. Files and folders created, renamed, or deleted in the cloud are not brought to Odoo, and folders deleted there are not recreated. When you clear this switch again, everything done in the cloud meanwhile is applied in Odoo, deletions included.
  • Turn off the reverse sync. When a folder stops syncing, its files are not downloaded back and nothing is deleted in the cloud. The link between Odoo and the cloud items is cut. Saved links still open the files in the cloud, but Odoo no longer downloads, previews, or opens them, and the link cannot be restored. Sync Logs show "The folder ... stopped the sync. The files are left in clouds and not returned to Odoo".

Deleting a synced file in Odoo always deletes it in the cloud. There is no setting that stops that for one file. For a whole folder, Turn off the reverse sync keeps the cloud copy when the folder stops syncing. Turn off the backward sync keeps cloud changes out of Odoo. It does not stop Odoo from deleting a file in the cloud.

Cloud clients: confirm, pause, reset describes where to set both options.

Files of types that are not synced

The types that never sync, and the extra types in Not synced mimetypes, are in What is not synced.

A file of one of those types is not uploaded from Odoo. A file of that type already stored in the cloud stays in the sync, so a deletion or a rename on either side still applies.

Cloud clients: confirm, pause, reset

A cloud client is the connection to one cloud storage account, in Cloud Storage > Configuration > Cloud Clients. Rules and folders choose a client. Where a folder syncs describes that choice. This article covers the life of the client after the setup. Step 2. Confirm a cloud client describes the first confirmation. Each connector's own setup article names its login fields.

Client states

A client has three states.

  • Not Confirmed. The client is new and not connected yet.
  • Confirmed. The client syncs.
  • Reconnected/Paused. The sync of this client is stopped until you press Confirm.

The buttons depend on the state. While a reset is in progress, the client has no buttons.

  • Confirm is shown in Not Confirmed and in Reconnected/Paused.
  • Reconnect/Pause is shown in Confirmed. Odoo asks "Are you sure that you would like to reconnect? It would stop the sync!"
  • Reset is shown in Not Confirmed and in Confirmed, not in Reconnected/Paused. Odoo asks "Are you sure you would like to reset? It would clear all links and then delete the connector!"

Only a confirmed client can be chosen in Clouds Client of a rule or a folder. After the first confirmation, Cloud client and Root folder name cannot change. Odoo creates the root folder itself, at the top of the account. Step 2. Confirm a cloud client describes what each connector does when a folder with that name exists. A NAS can place the root inside an existing directory with NAS base path. To bring existing cloud files in, copy them into the folders Odoo has created. Files: changes in the cloud describes how they reach Odoo. The buttons Rules and Logs open the rules of this client and Sync Logs.

Confirm, Reconnect/Pause, and Reset are refused while a sync run is going: "At the moment the sync is running. Please wait until it is finished".

Errors and notifications

A client that cannot connect shows the error in a red banner at the top of the form. The list shows a client that is not confirmed, or that has an error, in red. A working confirmed client shows the green banner "The cloud client is confirmed and might be used for synchronization".

While the client has an error, its folders are not checked. Its ordinary tasks wait. Reverse and move tasks keep running and can use up their retries. The other clients go on.

If the root folder is gone in the cloud, Google Drive, OneDrive, Dropbox, and Box report "The root folder is not available", with no details. Amazon S3, NAS, ownCloud, and Nextcloud report "The client cannot be initiated. Reason: the root folder has been deleted. Try to reconnect". Then reconnect.

"The root folder is not available. Details: ..." means the check of the root folder failed for a while, for example because the cloud storage could not be reached. It clears by itself at the next run whose check passes. No reconnect is needed.

The chatter of the client records each change of State and of the error. The followers of the client get a message when an error appears or its text changes, for example "The client cannot be initiated. Reason: .... Try to reconnect" or "The root folder is not available". It comes by email or in the Odoo inbox, as each user's notification setting says. The return to a working connection and the state changes are only logged in the chatter. The user who created the client follows it. Others press Follow on the client form.

With the reverse sync on, Reset is refused until the connection is fixed: "The operation is not possible until the connection is fixed". With Turn off the reverse sync on, reset works on a broken connection.

Pause and reconnect

Reconnect/Pause stops the sync of this client and opens the login fields again. Confirm logs in again and resumes the sync. Nothing already synced is removed. Ordinary tasks of a paused client wait for it and do not use up their retries. Reverse and move tasks keep their own retries.

Use it when the connection stopped or the token expired, when the cloud asks for new permissions, when the app secret changed, during a migration of Odoo, or to let another client sync faster for a while. A Google Drive client that asks for permissions again after a long break is paused, confirmed, and logged in again. The Google Drive connection can also stop about once a week, when the Google app is still in Testing. Publish the app explains how to stop that. Before an upgrade of Odoo, read Upgrading Odoo to a new version.

Press Reconnect/Pause, change what is needed, press Confirm, and follow the connector's login. In Reconnected/Paused the secret and the redirect URL can be edited. Paste a new secret there, then confirm. The redirect URL must be the same as the one in the cloud app. The connector's own setup article names the fields.

These cannot change in Reconnected/Paused: the storage type, the root folder name, the app client ID of Google Drive or OneDrive, the app key of Dropbox, and the team drive name. Another app or another storage means another client.

Sync directions

Turn off the backward sync and Turn off the reverse sync are on the tab Settings. Three directions names the directions. What each switch does in full is in Changes in Odoo and in the cloud, in One-way sync and stopping without return.

  • Turn off the backward sync. Odoo changes still go to the cloud. Files and folders created, renamed, or deleted in the cloud are not brought to Odoo, and folders deleted there are not recreated. When you clear this switch again, everything done in the cloud meanwhile is applied in Odoo, deletions included.
  • Turn off the reverse sync. When this client leaves folders, is reset, or is archived, the files are not downloaded back and nothing is deleted in the cloud. The link between Odoo and the cloud items is cut and cannot be restored. Saved links still open the files in the cloud, but Odoo no longer downloads, previews, or opens them. Attached again, the folders are set up from scratch. Use it for a broken connection, or when the cloud copy should stay the only copy.

A confirmed Google Drive client with the buttons Reconnect/Pause and Reset and the two sync switches

Change the cloud storage

To move folders to another account or another storage, create a new client. Do not edit the old one.

  1. Create a client for the new storage and confirm it. Step 2. Confirm a cloud client and the connector's own setup article describe that.
  2. On the rule, or on a top-level manual folder, choose the new client in Clouds Client. A child rule follows its parent. Parent rules describes that.
  3. Wait. At the next folders' update and sync runs, the folders come back to Odoo from the old storage, the old cloud folders are deleted, and then the folders and files are uploaded to the new client. How the sync works describes the runs. When files come back to Odoo, in Changes in Odoo and in the cloud, describes the reverse sync.

The rule Departments was switched from one client to another. Its child rule Employees followed. All 84 files came back to Odoo, Sync Logs showed each returned file, and they were on the new client after two sync runs.

This is two full transfers of every file of the rule. Plan it for a quiet time, and for one rule at a time.

With Turn off the reverse sync on the old client, the files are not brought back. The folders are detached and set up from scratch on the new client, and the old files stay only in the old storage.

Until the move is finished, the old client must stay confirmed and reachable. Do not reset or delete it before then. While it has an error, its folders are not checked.

A reverse task that fails is tried again, up to Maximum Retries (Reverse and Move tasks). Sync logs and queue describes that setting. When a reverse download has used up its retries, Sync Logs show an error. The file was not returned to Odoo and stays a link to the cloud. The cloud folder is kept.

Google Drive exports a Google Sheet, a Google Doc, a Google Slide, and a Google Drawing into a file Odoo can store. A short outage or a rate limit is tried again. A Google file that cannot be exported is skipped at once. It stays a link to the cloud, Sync Logs show an error, and the cloud folder is kept.

Reset a client

Reset removes this client from all its rules and folders, then removes the client. A Not Confirmed client is deleted at once. A confirmed one is archived and shows "The cloud client is finishing the reverse sync before deletion. Do not change or delete that. It will be removed automatically". It is removed when that reverse sync is done.

With the reverse sync on, the files come back to Odoo and the cloud folders are deleted first. With it off, nothing is downloaded or deleted, and the links are cut. The warning above applies to a reset that brings the files back. Check first that the Odoo server has room for the files.

Archived clients are under the filter Reversed (Archived).

Before you uninstall the app, reset every client and wait until each one is gone from the list. With the reverse sync on, the files come back to Odoo first. With it off, the files stay in the cloud and Odoo keeps no working link.

Reset is not possible while the client is paused: there is no Reset button in Reconnected/Paused. Press Confirm first.

The question Odoo asks before it resets a cloud client

Copies of the database

Restrict Database Sync and Database to Sync are on the tab Misc, in developer mode. Turn them on, on the production database, before you copy it to staging or a test. A copy with another database name syncs nothing and logs "The client sync is restricted by the database name". On Odoo.sh a staging build copies the database, so set this on production first.

Neutralizing the database turns off what contacts the cloud. The sync queue does not run. Launch Sync, Confirm, and the cloud login show "This database is neutralized: cloud synchronization is off." The reverse sync does not run. Database backups are skipped, with "Database backups are skipped because this database is neutralized." Odoo turns all scheduled actions off. The line "Cloud synchronization is skipped because this database is neutralized." appears in Sync Logs only if you turn the sync action back on.

Launch Folders' Update still runs, so you can check the rule structure on the copy. A synced file in the copy does not open or preview. Neutralizing archives every cloud client, deletes the sync queue, and clears the keys and secrets of every connector, so Odoo cannot read the cloud.

A copy under another name also skips automatic backups. Database backups describes it.

The Misc tab of a cloud client with Restrict Database Sync

Sync logs and queue

Sync Logs show what the sync did and what failed: which folders and files were created, changed, moved, or deleted, on which side, and when. Open them in Cloud Storage > Configuration > Sync Logs. They do not replace the Odoo server log. A warning here may still need the server log for its cause.

The Sync Logs screen

The left panel filters the lines. Under Cloud Clients, each client has a switch. With none on, you see every client. The client name opens that client, and its color follows the client state. The first switch, General sync, is not a client: it shows the lines that belong to no client, marked [SYNC#CORE]: the start and the end of each run, and the folders' update.

Log Levels lists CRITICAL, ERROR, WARNING, INFO, and DEBUG. With none on, you see every level. Period sets the time from and to.

Planned tasks opens the queue. Failed tasks appears when a task has failed at least once, and it opens only those tasks. Export logs is on this panel.

The search looks through the message, the client, the level, and the time. To see what happened to a file, search by its name. A date such as 2026-11-28 finds the lines of that day in UTC.

The screen refreshes itself every 6 seconds and, while you are at the bottom, scrolls to the newest line, so you see the logs in real time. It shows 500 lines at a time. ... load more loads older ones.

The log lines, with the client filters on the left

Reading a line

A line is the time, the level, the client in brackets, and the message. For example: 2026-11-28 13:47:31 INFO [Google Drive#...] The attachment S00005 site visit.txt,... was created in Odoo based on the cloud data.

The time is UTC. It is not your time zone.

INFO is green: done. WARNING is orange: something to look at. ERROR is red: failed. DEBUG is gray: a technical detail. A failed action is ERROR by default.

"based on the cloud data" came from the cloud into Odoo. "in clouds" was sent from Odoo to the cloud.

Sync Logs filtered on errors and warnings

Typical messages

"Cloud sync was started. Locked till: ..." and "Cloud sync was finished. Unlocked" mark one run. The folders' update starts with "The folders' update was started. Locked till: ...". One sync run in How the sync works describes the run.

WARNING: "Cloud sync was started but the previous process had not yet finished. Locked till: ..." means the earlier run is still working. There is nothing to do. The folders' update writes "Folders update was started but the previous process had not yet finished. Locked till: ...".

"Reverse sync operations found" means reverse or move tasks are waiting, and the run takes only them until they are done. When files come back to Odoo describes that work.

ERROR: "Reverse sync stopped trying to download the file '...' in the folder '...' after the last retry. The file was not returned to Odoo. The folder was left in the old cloud." The file stays a link to the old cloud storage, and the old folder is kept. Do not delete or reset the old client while you still need that file.

ERROR: "The file '...' ... cannot be exported to Odoo. ... Reason: ...". A Google Drive file of a type Google cannot export is skipped at once, is not retried, and stays a link. A short outage or a rate limit is tried again.

"The folders maximum ... was exceeded: ... The rule ...,... doesn't update folders any longer." The rule has stopped updating its folders. Folder limit describes what to do.

"The folder ... was not created in Odoo. Avoid moving folders in clouds!" Odoo did not create a folder that was moved in the cloud. Folders: changes in the cloud describes that case.

WARNING: "The attachment ...,... was not uploaded to clouds since it has an empty size". A file of 0 bytes is not uploaded and stays in Odoo. Its task is done and is not retried. There is nothing to do.

"The client could not get children for the folder ... due to the missing error. Trying later" means a run did not find a synced folder in the cloud storage. The next runs look for it again. After more than 3 misses in a row, the folder loses its cloud link and is created again with its subfolders. Files that were only in the deleted folder are not uploaded again. Folders: changes in the cloud describes that case.

"The folder ...,... was not uploaded to clouds due to the parent folder missing error" means a subfolder could not be created because its parent is missing in the cloud. Its task waits and is tried again until the parent exists in the cloud again.

"The attachment ... wasn't retrieved from clouds due to the missing error" is written when someone opens, previews, or downloads a synced file that is no longer at its address in the cloud storage, for example because it or its folder was deleted there. The file does not open. Files: changes in the cloud describes what the sync does with such changes.

"The root folder is not available. Details: ..." means the check of the root folder failed, for example because the cloud storage could not be reached. Every scheduled run checks the client again. When the check passes, the error clears by itself and the sync goes on. Until then, the tasks of the client wait and do not use up retries. A short outage needs no reconnect. If the error stays, read the details.

The same line without details means the root folder was not found in Google Drive, OneDrive, Dropbox, or Box. Amazon S3, NAS, ownCloud, and Nextcloud report a deleted root folder as "The client cannot be initiated. Reason: the root folder has been deleted. Try to reconnect". In both cases the tasks of the client wait until you reconnect it, which creates a new root folder. Pause and reconnect describes the reconnect.

A client error. "The client cannot be initiated. Reason: .... Try to reconnect". Errors and notifications describes it.

A copy of the database. "The client sync is restricted by the database name". Copies of the database describes that setting.

An email with a synced file. WARNING: "The email was not sent because the cloud file ... could not be read: ...". Existing attachments in a message describes that case.

The queue

Every change becomes a task. A run takes the tasks and does them. One sync run describes that.

Sync Queue is in Cloud Storage > Configuration > Sync Queue, in developer mode, for the Cloud Storage group Administration. The counters on Sync Logs open the same list.

The list shows Task, Clouds Client, and Folder. A task that has failed at least once is red. Group by Folder, Cloud client, or Task. The form shows the attachment, Failed attempts, and Not earlier than (the next try). Nothing on the form is editable.

Tasks run oldest first. While a reverse or move task is waiting, a run takes only those. A task also waits for its folder's parents and for the tasks it depends on, for example a folder before its files.

Tasks of a paused client, or of a client with an error, wait and do not use up retries. Reverse and move tasks keep their retries. Pause and reconnect describes the client. A large queue takes many runs. Large volumes gives the example.

The Sync Queue with tasks of several types for Dropbox, OneDrive, and Amazon S3, and the Requeue action

Retries

A failed task is tried again up to Maximum Retries times, 7 by default, after 30 minutes, 1 hour, 2 hours, 4 hours, and so on, never more than 24 hours apart.

Reverse and move tasks use Maximum Retries (Reverse and Move tasks), 4 by default. They hold the other tasks back, so they get fewer tries.

After the last retry, any task other than that reverse download is dropped with a DEBUG line: "... was fully canceled due to the exceeding maximum re-tries number". The reverse download writes the ERROR line above.

Select the tasks in Sync Queue and choose Actions > Requeue. They are tried at the next run, without waiting for Not earlier than. Use it after you have fixed the cause.

The log and retry settings of Cloud Storage

A failing task

When Failed tasks is not 0, or the sync seems stuck:

  1. Filter on ERROR and WARNING, the client, and the period, and read the message.
  2. Check the client for a red banner or a pause. Errors and notifications describes both.
  3. Open the failed tasks from the counter. The task, its folder, and its attachment tell what it was trying. Failed attempts and Not earlier than tell when it tries next.
  4. A reverse or move task in red holds the others back. Fix that cause first. When files come back to Odoo describes those tasks.
  5. Fix the cause, then Requeue. If it still fails, Export logs and send the file to support with the time of the problem.

The Odoo server log may hold the cause of a WARNING or an ERROR. For one named error, search this page for the text of the message.

Log size and export

Logs storage period (days), in Configuration, deletes older logs once a day. The period is at least 3 days. A smaller value is set back to 3.

Delete all logs, under Logs to Export, deletes every sync log after the question "Are you sure? This will permanently delete all cloud sync logs." Only the Cloud Storage group Administration and the group Access Rights can use it. If the log table has grown large, lower the period, then delete all once.

Export logs downloads the lines that match the current clients, levels, period, and search, as text. Logs to Export caps the file at 50,000 lines by default. Earlier lines are left out.

Email notices for a client are in Errors and notifications.

Access rights

The app adds two groups for its own menus. Who sees a folder or a file follows the Odoo record it belongs to, and the rights in the cloud storage stay outside Odoo.

The groups

On the user form, under Productivity, Cloud Storage is File manager access or Administration. The admin user and OdooBot get Administration when the app is installed.

  • File manager access opens the Cloud Storage menu and File Manager. You can create and change tags. You can use the mass actions, the shares, and their wizards.
  • Administration includes File manager access. It adds Cloud Storage > Configuration: Cloud Clients, Auto Folders Rules, Sync Logs, and the settings. You can delete tags. Backup Strategies on a client need this group and developer mode. Sync Queue and Folders, in the same menu, also need developer mode.

The Cloud Storage access of a user: File manager access or Administration

Sharing, Tags, and Show synced images and GIFs preview in real time are switches in the settings, not a choice for one user. Turning one on gives it to every internal, portal, and public user. Settings describes the page.

Shares appears in the Cloud Storage menu when Sharing is on. Since it sits in that menu, it also needs File manager access. Tags under Configuration needs Administration and Tags on.

What each user sees

  • No Cloud Storage group: there is no Cloud Storage menu. The attachment box of a record you can open still shows its folders and files, as far as the folder access allows. Folders in the attachment box describes that box. Download and preview follow Access in the cloud storage, below.
  • File manager access: you also get File Manager, with the same folders and files as in the attachment boxes. Tags, mass actions, and shares follow their switches. Selection and mass actions describes the actions.
  • Administration: you also get the clients, the rules, Sync Logs, and the settings. Sync logs and queue describes the logs. Sync Queue is there in developer mode.

Folders and files follow records

Access to folders sets who sees a folder: a record folder follows its record, a folder with no record follows the nearest record folder above it, the top folder of a rule follows the rule's model, a manual folder outside any rule is open to all internal users, and Extra security applies to manual folders.

A folder is also hidden when you cannot read the record of the folder directly above it. A rule folder with no record, such as Quotations, does not count as that parent.

The folders above stay as long as you can read their records. A salesperson who sees only own quotations, but can read the customers, keeps the whole tree and finds only own quotation folders in it.

An administrator sees the full tree: Customers, then Acme Corporation, then Quotations, with every quotation folder of that customer.

The folder tree of an administrator

A salesperson with Sales set to User: Own Documents Only, and with File manager access, can still read the customers, so Customers, Acme Corporation, and Quotations stay. Inside Quotations, only the folders of own quotations S01196 and S01182 are left. S00005 and S00001 of other salespeople are hidden.

The same tree for a salesperson who sees only own quotations

A file follows its folder. A file you put into a folder that has no record of its own, a manual folder or a rule folder such as Quotations, is no longer attached to the record: its access is that folder's access, Extra security included.

Who can change folders and files

Who can change a record can add files to its folder and change them. Who can only read the record sees the files and cannot change them. In the top folder of a rule and in its manual subfolders, the same goes for the rule's model.

Nobody can rename, move, or archive an automatic folder in Odoo, administrators included. On a manual folder, Extra security limits who sees and changes it, but it cannot make the folder read-only. A limit that leaves the folder open to nobody is refused. Access to folders describes both.

The error when a limit leaves a folder open to nobody

A change made directly in the cloud storage comes to Odoo with the sync. Changes in Odoo and in the cloud describes that. The app cannot stop it.

Access in the cloud storage

The app does not manage rights in the cloud storage. Every operation uses the one account of the cloud client. Your own login there is not used.

Download and preview in Odoo go through Odoo. Odoo fetches the file with the client's account and sends it to the browser. You need the Odoo access above. You do not need an account in the cloud storage.

Open in clouds, in the attachment box, and the link under a file name in File Manager, open the cloud storage itself, so they need access there.

Whoever can open the cloud folders sees every file in them, whatever Odoo allows that person. Set those rights in the cloud storage.

Three connectors can make that link open without a cloud account:

  • ownCloud / Nextcloud: Use public URLs makes the links shared, so everyone with the link can open the file. See ownCloud and Nextcloud setup.
  • Amazon S3: Use Public URLs gives public links, for a public bucket or a CDN only. See Amazon S3 and MinIO setup.
  • Box: No shared links to Box from Odoo is on by default. Turn it off, and Odoo tries to create shared links. See Box setup.

Portal users get files only through shares. See Sharing.

Sharing

A share opens chosen files, folders, and tags to contacts through the Odoo portal, or to anyone through a link. The recipient works on a portal page. The files stay where they are in Odoo and in the cloud.

What a share is

A share holds files, folders, and tags, and the contacts in Portal Access.

A shared folder brings its subfolders and all their files. A shared tag brings its child tags and their files. That set is built every time the page opens, so a file added to a shared folder later is in the share at once.

A file can sit in several shares. Moving, tagging, and sharing by drag describes adding a file to a share from the File Manager.

The recipient gets the files of the share whatever their own Odoo rights. Share only what that contact may see.

A synced file downloads the same way: Odoo fetches it from the cloud storage and sends it to the browser. Access in the cloud storage describes that path. The recipient needs no cloud account.

Create a share

Sharing must be on in Cloud Storage > Configuration > Configuration. It turns sharing on for every internal, portal, and public user at once. The groups describes that switch. Without it, the share pages answer 404.

Users with File manager access create shares, in three places:

  • Cloud Storage > Shares > New.
  • In the File Manager, select files and choose Share under Apply to selection. Add that action in the settings first. Selection and mass actions describes the list. The wizard offers Create a new share or Add to an existing share, plus Extra Shared Folders and Extra Shared Tags. Send Invitation is there only for a new share that already has contacts.
  • Drag files onto a share in the Shares tree. Moving, tagging, and sharing by drag describes that.

The Share wizard on Add to an existing share

The share form groups its fields like this:

  • Portal Access holds the contacts. Access by Token shows Access Url, which you copy. Active Till sets when the share ends.
  • The Attachments tab holds Shared Folders, Shared Tags, and Shared Attachments.
  • The View and permissions tab holds the switches of the next section. Show tags and its two options are there only when Tags is on in the settings.
  • Parent Share, on the View and permissions tab, puts the share under another share in the Shares tree of the File Manager. Dragging a share in that tree changes the same field. Archiving a share archives the shares under it.
  • The Notes tab holds a description. The form also has the chatter.
  • The buttons are Regenerate Token (only with Access by Token), Preview Portal, and Send Invitation.

A share form on the Attachments tab, with Portal Access, Access by Token, Active Till, one shared folder, and one tag

Send Invitation, the form button or the same item in the File Manager menu, adds the chosen contacts to Portal Access and posts the message to them, by email and in the chatter of the share. The default message holds the link to the share page. The contact needs a portal user to open it. Granting that access is the standard Odoo portal access.

Right-click a share in the File Manager tree for Download as archive, Send Invitation, Copy access url (only when the share has a token), Preview portal, Create, Rename, Edit, and Archive. The tree itself is in The screen.

The menu of a share in the File Manager Shares tree

What the recipient may do

On every share, the recipient can:

  • see the files, and sort them by Name or Folder;
  • search by Name or Search by folder. Search by tags needs Tags on;
  • download one file, or the whole share with Download share as archive.

The rest depends on the switches:

  • Allow Uploading requires Uploading Folder. The page shows Upload, and drag and drop works too. With Show folders, the button reads Upload to and the name of the folder picked in the tree, and the files go there. Without Show folders, files always go to Uploading Folder. An uploaded file becomes an attachment of that folder's record, as a file added in Odoo does, and it is synced with the folder. In a folder with no record of its own, such as Quotations, the file belongs to the folder only. The example below shows both.
  • Show folders puts a folder tree on the left. The tree holds the shared folders with their subfolders, and the folders of the shared files. A folder that is there only because one file in it is shared shows just the shared files.
    • Allow adding folders: Create on a folder in the tree adds a manual subfolder in Odoo, inside the share.
    • Allow searching folders: a search box above the tree.
    • Right-click a folder and choose Download as archive. The archive holds the files of that folder only, not those of its subfolders.
  • Show tags needs Tags on. It adds a tag tree with the shared tags, their child tags, and the tags of the shared files. Allow adding tags and Allow searching tags work as for folders. A tag added in the portal is a child of a shared tag.
  • Allow slideshow adds Slideshow. It plays the images of the current list. Slideshow describes the player.
  • Show Chat puts Communication History under the list. A message posted there is posted on the share in Odoo, and the followers of the share receive it.

The View and permissions tab with Allow Uploading, Show folders, Show tags, slideshow, and chat

The share page with the folder tree, the file list, Upload, Download share as archive, and Slideshow

A message under the file list on the share page, and the same message in the chatter of the share

The share Acme quotations holds the folder Quotations of the customer Acme Corporation, with Addison Olson of Acme in Portal Access. Allow Uploading and Show folders are on, and Uploading Folder is Quotations.

Addison opens Shares in the portal, picks S00005 in the folder tree, and uploads two files with Upload to S00005, 465.75 USD. In Odoo the files appear in that folder as attachments of the quotation S00005, and go to the cloud with the next sync. A file uploaded to Quotations itself stays in that folder and is attached to no quotation.

The standard portal page of a task does not get an upload button. A share is its own portal page.

Shares in the portal

The portal home has a card Shares, "Check and download shared attachments". It appears once the user has an active share.

The Shares card on the portal home

The card opens My Shares. You search the list by name. Opening the list requires a login.

The My Shares list

A user sees a share when their contact, or their company, is in Portal Access. A share given to a company reaches every contact of that company who has a portal user.

An internal user listed in Portal Access gets the same portal page, even without File manager access.

The portal page of a sales order does not show a link to the cloud folder. A share is its own portal page.

Links with a token

Access by Token shows Access Url. Anyone with the link opens the share without a login and can do what the switches allow, upload included.

Regenerate Token makes the old link stop working. Odoo asks first: "Are you sure? This action will make the previous access URL invalid".

Turning Access by Token off stops the link at once.

Expiry and archive

Active Till: from that moment the share no longer opens, by login or by link. The daily job [Cloud Storage] Check Expired Shares then archives it. To bring it back, clear Active Till or move it forward, then unarchive the share. Unarchiving alone is not enough: the share stays closed, and the job archives it again.

Archive hides the share from the portal and from the File Manager tree.

Who sees shares

Every user with File manager access sees and edits every share. Preview Portal shows every file of a share. A file shared by one colleague is visible to every File Manager user.

The files and folders you can pick for a share are the ones you see in the File Manager. Folders and files follow records describes that.

Who sees folders and files in Odoo itself is Access rights.

Google Drive setup

You create a small OAuth app in your Google Cloud project, then connect it on a cloud client in Odoo. At Confirm, you log in to Google, and Odoo works in Google Drive under that account.

Before you start

You need the Google Drive connector. It works together with Cloud Storage Solutions.

Turn on Google Drive Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

You need a Google account with Drive, and a Google Cloud project you may change. A personal Google account is enough. A Google Workspace account is needed only for a shared drive.

On the client, Redirect URL is filled from the address of this Odoo, plus /google_drive_token. An example is https://your-odoo.example.com/google_drive_token. It must be the HTTPS address your users open. If Odoo shows an http:// address, or an internal one, correct Redirect URL before you copy it.

Create the client first. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Google Drive. Copy Redirect URL. Then go to Google Cloud.

Create the app in Google Cloud

  1. Open the Google Cloud console and create a project, or pick one.
  2. Google Auth Platform > Get started. The wizard is one page with four steps, and it shows only on a project that has no Auth Platform yet. Set App name (any name, for example Odoo Drive Sync) and User support email. On Audience, choose External: a personal Google account can use the app. Internal is only for the users of one Google Workspace organization. Add Contact information as a chip, agree to the Google API Services User Data Policy, and press Create.
  3. APIs & Services > Library. Search Google Drive API and press Enable. After that, Enable is gone.

The Google Drive API page with the Enable button

Create the OAuth client

  1. Clients > Create client. Application type is Web application. The name can be anything.
  2. Under Authorized redirect URIs, paste Redirect URL from Odoo, exactly. A different scheme, host, or a trailing / stops the login.
  3. Press Create. Copy Client ID and Client secret. Google shows the secret in full only in this dialog. Keep it safe.

A web application OAuth client with the Odoo redirect URL

The client ID and secret to copy into Odoo

Do not add scopes under Data Access. Odoo asks for them at the login: full access to Drive.

Publish the app

  1. On Branding, set Application home page and Application privacy policy link, for example pages of your Odoo website, and press Save. Google fills Authorized domains from the redirect URL. You do not type the domain in.
  2. Audience > Publish app. Confirm Push to production?. Publishing status becomes In production.

Publishing status In production on the Audience page

Do not upload an App logo. Once the app is not in Testing, a logo makes Google ask for a verification.

The consent page can say that Google has not verified this app. It is your own app. Publishing does not by itself make Google verify it.

Connect Odoo

A Google Drive cloud client in Odoo before Confirm

  1. On the client you created: paste App client ID and App client secret. Redirect URL stays the one you put in Google. Root folder name is Odoo unless you change it. Step 2. Confirm a cloud client describes the rules for that folder. If a folder with that name already exists, Google Drive creates a second one with the same name. Choose a new name. Finish the login of one client before you press Confirm on another.
  2. Press Confirm. Google opens in a new tab. Pick the account whose Drive Odoo should use. The consent page names the app by its domain. Leave both Drive permissions checked, scroll down, and press Continue.
  3. Google sends you back to the client form. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The folder Odoo is in My Drive.

The Google consent page with both Drive permissions checked

The new Odoo folder in My Drive

Stay logged in to Odoo in the same browser. The tab Google returns to asks for an Odoo login.

If a permission was not granted, the red banner says "Could not authenticate: make sure you have granted all permissions". A wrong client secret says "Could not authenticate: check credentials". A redirect URL that is not in the Google client stops on a Google page with the error redirect_uri_mismatch. If Drive is unchecked on the consent page, the banner says "It is not possible to authenticate: a root folder cannot be created. Check logs". Errors and notifications describes that banner.

Google shows the consent page at every Confirm. That is expected.

After Confirm, App client ID, Root folder name, and Team drive name cannot change. App client secret and Redirect URL can, while the client is in Reconnected/Paused.

Google Drive calls them shared drives. The Odoo fields say team drive. Before Confirm, turn on Google team drive in use and type Team drive name exactly as it is in Google Drive. The root folder is then created in that shared drive, not in My Drive.

The Google account must be a Workspace administrator who can list the shared drives. If the name does not match, or the account cannot list them, Odoo does not confirm the client and says the shared drive was not found. Check the name, including spaces, and the account.

Reconnect and other cases

Google can end the login: the app was revoked, the password changed, the app is still in Testing, or the login was not used for six months, for example on a client paused that long. The log says "The token has expired or revoked". Press Reconnect/Pause, then Confirm, and log in again. Pause and reconnect describes the buttons.

For a new client secret, press Reconnect/Pause, paste it into App client secret, and press Confirm. A new Google Cloud app has a new client ID, so it needs a new Odoo client. Change the cloud storage describes that.

A file or folder deleted in Google Drive stays in its bin, and Odoo still sees it there until the bin is emptied. Changes in Odoo and in the cloud describes a deletion in the cloud.

OneDrive and SharePoint setup

You register an app in Microsoft Entra, then connect it on a cloud client in Odoo. At Confirm, you log in to Microsoft, and Odoo works in OneDrive, or in a SharePoint document library, under that account.

Before you start

You need the OneDrive and SharePoint connector. It works together with Cloud Storage Solutions.

Turn on OneDrive / SharePoint Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The server needs the Python packages microsoftgraph-python and requests. Without them, Odoo cannot install the connector.

The app is registered in a directory, also called a tenant. Microsoft no longer lets you register an app outside one. Use your company Microsoft 365 or Azure directory. With only a personal account, such as outlook.com, hotmail.com, or live.com, create a free directory first: the free Azure sign-up with that same account creates one. The sign-up asks for a bank card to check your identity. The directory and the app registration are free and do not depend on the Azure trial credit. An unused directory can be retired by Microsoft. A working sync keeps it in use.

The account that logs in at Confirm must be able to grant the permissions and see the drive. For SharePoint, that is an admin who can list the site's libraries.

Create the client first. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose OneDrive or SharePoint. Redirect URL is filled from the address of this Odoo, plus /one_drive_token. An example is https://your-odoo.example.com/one_drive_token. It must be the HTTPS address your users open. If Odoo shows an http:// address, or an internal one, correct Redirect URL before you copy it. Then go to Microsoft Entra.

Register the app in Microsoft Entra

  1. Microsoft Entra admin center > App registrations > New registration. Register the app in your directory, not under Microsoft Services.
  2. Name: any.
  3. Supported account types: Any Entra ID Tenant + Personal Microsoft accounts. After you register, Overview shows this as All Microsoft account users. The Odoo login is not tied to one directory, so an app limited to one directory fails at the login.
  4. Redirect URI: platform Web, paste Redirect URL from Odoo, exactly. The form marks this field optional. A missing URI, or a different scheme or host, stops the login.
  5. Press Register. On Overview, copy Application (client) ID into App client ID in Odoo.

Register the app with personal and work accounts and the Odoo redirect URL

The application (client) ID to copy into Odoo

Do not add API permissions. Odoo asks for them at the login: openid, Files.ReadWrite.All, and offline_access. The consent page names your app, marks it unverified, and lists the permissions. Press Accept. Overview shows the warning "End users cannot grant consent to newly registered multitenant apps without verified publishers." If the page still offers Accept, press it. If Microsoft asks for an administrator's approval instead, log in as an administrator of that directory.

Add a client secret

  1. Certificates & secrets > New client secret. Enter a description and an expiry.
  2. Copy the Value, not the Secret ID, into App client secret in Odoo. Entra shows the value only right after you add it.

Copy the secret value, not the secret ID, and note its end date

The Expires column is the end date. Note it. When it expires, the login stops. Add a new secret, press Reconnect/Pause, paste it into App client secret, and press Confirm. Pause and reconnect describes the buttons. In Reconnected/Paused, App client secret and Redirect URL can change. App client ID cannot.

A wrong secret, often the Secret ID pasted instead of the Value, shows "It is not possible to authenticate: check credentials!".

Connect Odoo

A OneDrive cloud client in Odoo before Confirm

  1. On the client: App client ID, App client secret, and Redirect URL are the values from Entra. Root folder name is Odoo unless you change it. Step 2. Confirm a cloud client describes the rules for that folder. If a folder with that name already exists, OneDrive creates a second one with the same name. Choose a new name. Finish the login of one client before you press Confirm on another.
  2. Press Confirm. Microsoft opens its login in a new tab. Pick the account whose OneDrive Odoo should use, and press Accept.
  3. Microsoft sends you back to the client form in that tab. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The root folder is in My files of OneDrive.

Microsoft asks to let the app access your files

The new root folder in My files

Stay logged in to Odoo in the same browser. The page Microsoft returns to asks for an Odoo login.

If Microsoft offers an account that does not exist in the tenant Microsoft Services, or in another directory, do not pick that row. Choose Use another account and sign in with the account of the app's directory.

If a permission was not granted, or the app is limited to one directory, the red banner says "It is not possible to authenticate: make sure you have granted all permissions". Check Supported account types first, then that the redirect URI has the platform Web. If OneDrive cannot be read, it says "The personal drive wasn't found. Check that your user is a full-rights admin." If the root folder cannot be created, it says "Could not authenticate: root folder cannot be created. Check logs". Errors and notifications describes that banner.

After Confirm, App client ID and Root folder name cannot change.

SharePoint

SharePoint needs a work or school account. A personal Microsoft account works only with the client type OneDrive.

Cloud client SharePoint adds SharePoint URL, SharePoint site, and Documents Library. The Entra steps are the same.

SharePoint URL has the form https://company.sharepoint.com/, with the last /, and without the site name.

SharePoint site is a name such as finance, which Odoo reads as sites/finance, or the path sites/finance, or teams/finance. Do not put a / at the start or the end. Use root for the root site.

Documents Library is the library name exactly as on the site. The default is Documents. The root folder is created inside that library.

SharePoint URL, site, and document library on a SharePoint client

Choose the site and the library before the first Confirm. Odoo does not move the root folder or the synced folders to another library. After the first Confirm, the three fields cannot be changed. Another site or library needs a new Odoo client.

If the library is not found, Odoo does not confirm the client. Check that the library exists on that site, that the name has no extra symbols or spaces, and that the account is an admin who can list the libraries.

Reconnect and other cases

Microsoft can end the login: the secret expired, the password changed, the consent was revoked, or the login was left unused. Press Reconnect/Pause, then Confirm, and log in again. Pause and reconnect describes the buttons.

A new app, with a new client ID, a different Microsoft account, or another library needs a new Odoo client. Change the cloud storage describes that.

ownCloud and Nextcloud setup

Odoo connects to your ownCloud or Nextcloud server over WebDAV with a user and a password. There is no app to register and no login page: Confirm checks the connection and creates the root folder.

Before you start

You need the ownCloud and Nextcloud connector. It works together with Cloud Storage Solutions.

Turn on ownCloud / Nextcloud Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The Odoo server must reach the server address. Use HTTPS. Odoo checks the certificate.

Prepare the user

Create a user for Odoo that can read, create, change, and delete files in its own files. Odoo works in that user's files. The root folder is created in All files. An email address works as the login.

Use an app password for that user. In Nextcloud, open Personal settings > Security. At the bottom of the page, under the list of devices and sessions, enter an App name and press Create new app password. The dialog New app password shows Login and Password once. Copy Password. With two-factor login on, the normal password does not work over WebDAV. An app password can be revoked without changing the user's password.

An app password for Odoo in Nextcloud

Connect Odoo

A Nextcloud cloud client in Odoo before Confirm

  1. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Nextcloud or ownCloud. The fields are the same.
  2. URL is the address as in the browser, including a sub-path when the server runs under one. Examples are https://cloud.example.com/ and https://cloud.example.com/nextcloud/. Odoo adds a missing /, then remote.php/webdav. Do not paste the WebDAV address.
  3. Login and Password. Password is the app password.
  4. Use public URLs: leave it off unless you need the links in the next section.
  5. Root folder name: no folder with that name may already exist in the user's files. If it does, the client is not confirmed, and the red banner says "Client was not confirmed since root folder could not be created". The root is created in All files, beside the user's other folders. It cannot sit inside an existing directory. Only NAS setup has a base path. Step 2. Confirm a cloud client describes the name.
  6. Press Confirm. Odoo logs in with a WebDAV request, creates the root folder, and the client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". No login page opens.

The Odoo root folder in Nextcloud

A wrong URL, login, or password shows "Could not finish authentication since client could not be initiated". Sync Logs hold the reason, "The client cannot be initiated. Reason: …". Errors and notifications describes that banner.

Links to the files

By default the link is the server address plus index.php/f/ and the file id. It opens the file in ownCloud or Nextcloud for a user who is logged in there and can see the file.

The internal link opens the file in its Nextcloud folder

Share the root folder, or the folders those colleagues need, with them in Nextcloud. A download or a preview in Odoo does not need that share: Odoo reads the file with the client's user. Where the files are describes that.

Use public URLs makes Odoo create a public share link for every synced item. Anyone with the link opens the file. Creating the links slows the sync.

If the server refuses a share link, Odoo keeps the internal link and logs "Could not generate a public share URL … The internal link is used instead". Run the sync again once the sharing quota resets. Sync logs and queue describes the logs.

Reconnect and other cases

For a changed password or a revoked app password, press Reconnect/Pause, paste the new password, and press Confirm. Pause and reconnect describes the buttons.

A root folder deleted in the cloud is described in Errors and notifications. Another server or another user needs a new Odoo client. Change the cloud storage describes that.

Dropbox setup

You create an app in the Dropbox Developer Console, then connect it on a cloud client in Odoo. Odoo then works in Dropbox under the account you log in with at Confirm, or, for a team, under the team member you name.

Before you start

You need the Dropbox connector. It works together with Cloud Storage Solutions.

Turn on Dropbox Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The Odoo server needs the Python package dropbox.

Create the client first. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Dropbox. Redirect URL is filled from the address of this Odoo, plus /dropbox_token. An example is https://your-odoo.example.com/dropbox_token. It must be the HTTPS address your users open. Dropbox accepts an http:// address only for localhost. If Odoo shows an http:// address, or an internal one, correct Redirect URL before you copy it. Then go to the Dropbox Developer Console.

Create the app in Dropbox

  1. Open Create app. Choose Scoped access. For the type of access, choose Full Dropbox. Type a name that is not already taken, and press Create app. Full Dropbox lets Odoo create the root folder at the top of the Dropbox when you confirm the client.

    Create a scoped Dropbox app with full Dropbox access

  2. Open Settings. Under Redirect URIs, paste Redirect URL from Odoo, exactly, and press Add.
  3. Open Permissions. Tick files.metadata.write, files.content.read, files.content.write, and sharing.write. Dropbox also turns on files.metadata.read. Leave it. For a team, also tick team_data.member and members.read. Press Save changes. Odoo asks for exactly these permissions at the login. Tick and save all of them before Confirm.

    The four permissions Odoo needs

  4. On Settings, copy App key. Press Reveal app secret and copy App secret. Both go into the Odoo client.

    The Odoo redirect URL, the app key, and the app secret in the Dropbox app settings

After a change on Permissions, press Reconnect/Pause and Confirm, so the new login carries them.

Connect Odoo

A Dropbox cloud client in Odoo before Confirm

  1. On the client, paste App key and App secret. Redirect URL stays the one you added in Dropbox. Root folder name must be a name that no folder at the top of the Dropbox already has. If a folder with that name exists, the client is not confirmed, and the red banner says "The app confirmation was not finished. The root folder could not be created. Check the logs!". Step 2. Confirm a cloud client describes the name. Finish the login of one client before you press Confirm on another.
  2. Press Confirm. Dropbox opens its login. On Before you connect this app, press Continue, then press Allow.
  3. Dropbox sends you back to the client form. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The root folder is at the top of the Dropbox.

The Odoo root folder in Dropbox

Stay logged in to Odoo in the same browser. The page Dropbox returns to asks for an Odoo login.

If the login cannot finish, the red banner says "Could not finish authentication. Reason: ...". Errors and notifications describes that banner.

After Confirm, App key, Dropbox teams, Admin email, and Root folder name cannot change. App secret and Redirect URL can, while the client is in Reconnected/Paused.

Dropbox teams

Turn on Dropbox teams and fill Admin email before the first Confirm. The app also needs team_data.member and members.read, from Permissions above.

Dropbox teams and the admin email on a Dropbox client

Odoo creates, changes, moves, and deletes every item as that team member. The address must be the member's email exactly as it is in Dropbox. If it does not match, the client cannot start. Sync Logs say that no user was found for that admin user. Sync logs and queue describes the logs.

The items live in that member's Dropbox. Share the root folder with the team in Dropbox.

Links to the files

Odoo stores a Dropbox shared link for every synced item. A personal Dropbox makes a public link: anyone with the link opens the item. A team Dropbox makes a team-only link.

No links to Dropbox from Odoo keeps an address of the form https://www.dropbox.com/home/ plus the path, instead of a shared link. That address opens only for a Dropbox user who already has the item. Open in clouds in the attachment box does not work for anyone else. The sync is faster, because Odoo no longer asks Dropbox for a link on every item.

A preview or a download in Odoo does not use these links. Odoo reads the file through the Dropbox API with the client's account. Where the files are describes that.

Reconnect and other cases

The login stops when Dropbox ends it: the token was revoked or the app was deleted. Press Reconnect/Pause, then Confirm, and allow the app again. Pause and reconnect describes the buttons.

For a new App secret, press Reconnect/Pause, paste it, and press Confirm. A new Dropbox app has a new App key, so it needs a new Odoo client. Change the cloud storage describes that.

Amazon S3 and MinIO setup

You create a bucket and an IAM user with an access key in AWS, then enter them on a cloud client in Odoo. There is no login page: Odoo works in the bucket with that key.

Before you start

You need the Amazon S3 and MinIO connector. It works together with Cloud Storage Solutions.

Turn on Amazon S3 Sync in the Options block of Cloud Storage > Configuration > Configuration. That one switch turns on Amazon S3 and MinIO. Step 1. Turn on a connector describes the switch.

The Odoo server needs the Python package boto3.

You need an AWS account that can create S3 buckets and IAM users.

For MinIO, the Odoo server must reach the S3 API address, not the console address. On HTTPS, the certificate must be one the Odoo server trusts. There is no switch that skips that check. A plain http:// address also works.

Confirm checks the bucket with the key and creates the root folder.

Odoo does not create the bucket. The bucket must exist before you press Confirm.

Create the bucket

  1. In the Amazon S3 console, open Buckets and press Create bucket. Read the code under AWS Region, for example eu-north-1. Odoo needs that code.
  2. Bucket name is lowercase. The console checks the name rules. Set Bucket type to General purpose. Leave Bucket namespace on Global namespace.

Create a general purpose bucket and note its region

  1. Keep Block all public access on. Odoo does not need a public bucket.
  2. Press Create bucket.

An existing bucket works too. Odoo reads and writes only inside its root folder.

Create the user and its access key

  1. In IAM, open Users and press Create user. Any name works. Leave console access off, and add no permissions in the wizard.
  2. On the user, open Permissions, press Add permissions, then Create inline policy. Choose the service S3. Allow ListBucket, GetObject, PutObject, DeleteObject, and AbortMultipartUpload. Under Resources, choose Specific. Add the bucket ARN of your bucket, and the object ARN of that bucket with any object name.

An inline policy that lets Odoo list, read, write, and delete objects in one bucket

The editor also lists accesspoint and accesspointobject, and it warns that they are empty. Leave them empty. Name the policy and press Create policy.

Instead of the visual editor, press JSON in the policy editor and paste this text. Replace your-bucket with the name of your bucket in both places.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["s3:ListBucket"],
      "Resource": "arn:aws:s3:::your-bucket"
    },
    {
      "Effect": "Allow",
      "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:AbortMultipartUpload"],
      "Resource": "arn:aws:s3:::your-bucket/*"
    }
  ]
}
  1. Open Security credentials, press Create access key, choose Application running outside AWS, and press Create access key. Copy Access key and Secret access key. AWS shows the secret only on this page.

The access key and secret access key to copy into Odoo

These five actions are what Odoo calls, and only on this bucket.

Connect Odoo

  1. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and set Cloud client to Amazon S3. Check Root folder name. The default is Odoo. Step 2. Confirm a cloud client describes the name. If a folder with that name exists in the bucket, Odoo uses it. Give each database its own name.
  2. Enter Bucket, Region, Access Key, and Secret Key. Region is the bucket's region code. The field offers eu-west-1 or us-east-1 as examples. Secret Key is masked.
  3. Leave Amazon S3 endpoint URL empty and Amazon S3 addressing style on Automatic. The grey text in the endpoint field is only an example.
  4. Virtual-hosted and Path-style are only for an endpoint that needs one of them.
  5. Leave Use Public URLs off for a private bucket.

An Amazon S3 cloud client in Odoo before Confirm

  1. Press Confirm. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The bucket then holds the folder from Root folder name, with a slash at the end.

The Odoo root folder in the S3 bucket

A wrong key, secret, bucket, or region shows the red banner "Could not finish authentication since client could not be initiated". Sync Logs hold the reason. A key that cannot write, for example a policy without PutObject, shows "Client was not confirmed since root folder could not be created". Errors and notifications describes that banner.

After the first Confirm, Cloud client and Root folder name cannot change. Region, the keys, and the endpoint can be changed in Reconnected/Paused. The form also lets you edit Bucket, but the synced files stay in the old bucket.

Prepare MinIO

MinIO uses the same form, with Cloud client set to MinIO. Odoo talks to MinIO through its S3 API with an access key.

  1. In the MinIO Console, open Buckets and press Create Bucket. Enter Bucket Name. Leave Versioning, Object Locking, and Quota off.

A bucket for Odoo in the MinIO Console

Press Create Bucket. The name uses lowercase letters, digits, and hyphens. Confirm checks that this bucket exists.

  1. Open Access Keys and press Create access key, then Create. You can give Access Key a readable name on that form. Copy Secret Key. MinIO shows the secret only once.

Copy the secret key of the new access key

A key of an admin user already has the rights Odoo needs: list, read, write, and delete objects in the bucket.

Allow the same five actions as in Create the user and its access key, on the MinIO bucket and its objects.

Newer MinIO community releases have no access-key pages in the console. Create the key there with the MinIO client mc.

Connect Odoo to MinIO

  1. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and set Cloud client to MinIO. Odoo then fills Region with us-east-1 and MinIO addressing style with Path-style.
  2. Set Root folder name. Odoo creates that folder inside the bucket. If a folder with that name is already in the bucket, Odoo uses it. Step 2. Confirm a cloud client describes the name.
  3. Enter Bucket, Access Key, and Secret Key. Secret Key is masked.
  4. MinIO endpoint URL is required. It is the S3 API address as the Odoo server reaches it, with https:// or http://, and the port when it is not the default. localhost is the Odoo server itself. An example is https://s3.example.com.
  5. Keep Region at us-east-1 unless the MinIO administrator set another region. If the field is empty, Odoo uses us-east-1 anyway.
  6. Keep MinIO addressing style on Path-style. Automatic also means path-style for MinIO. Virtual-hosted is only for a MinIO set up with bucket subdomains.

A MinIO cloud client in Odoo before Confirm

  1. Press Confirm. Odoo checks the bucket, creates the root folder, and the client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization".

The Odoo root folder in the MinIO bucket

A wrong address, a wrong key, or a missing bucket shows the red banner "Could not finish authentication since client could not be initiated". Sync Logs hold the reason.

For another S3-compatible service, use the MinIO type with its endpoint.

Links to files and other cases

Odoo keeps a link for every synced folder and file.

With Use Public URLs on, an Amazon S3 client keeps a direct address, https://<bucket>.s3.<region>.amazonaws.com/<key>. Off, Odoo keeps a link to the object in the AWS console. That link opens for people who can sign in to AWS with access to the bucket.

MinIO always has an endpoint, so every link is the direct object address <endpoint>/<bucket>/<key>, whether Use Public URLs is on or off. It opens only when the bucket allows anonymous read.

A download or a preview in Odoo does not use that link. Odoo reads the file with the client's key. Where the files are describes that.

For a new access key, press Reconnect/Pause, paste Access Key and Secret Key, and press Confirm. Pause and reconnect describes the buttons.

Another bucket means a new client. Do not change Bucket on a confirmed client. Change the cloud storage describes that.

Renaming or moving a folder copies each of its files to the new path and deletes the old ones. On a large folder this takes time, and on AWS each request is billed.

Do not delete the root folder in the bucket.

Box setup

You create a small OAuth app in the Box Developer Console, then connect it on a cloud client in Odoo. At Confirm, you log in to Box, and Odoo works in Box under that account.

Before you start

You need the Box connector. It works together with Cloud Storage Solutions.

Turn on Box Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The server needs the Python package box_sdk_gen.

You need a Box account that can open the Box Developer Console. A personal Box account is enough.

Create the client first. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Box. Copy Redirect URL. It is filled from the address of this Odoo, plus /box_token. An example is https://your-odoo.example.com/box_token. It must be the HTTPS address your users open.

Create the app in the Box Developer Console

  1. Box Developer Console > New App.
  2. In Create a New App, set App Name (any, for example Odoo Cloud Storage). Under App Type, choose User, not Server. User is the app where people log in with their own Box account. Press Create.

A new Box app with the User type

  1. On Configuration, under OAuth 2.0 Redirect URIs, remove the chip https://app.box.com. Paste Redirect URL from Odoo and press Enter. A different scheme, host, or a trailing / breaks the login.

The Odoo redirect URL and the client ID in the Box app

  1. Under Application Scopes, open Content Actions. Read all files and folders stored in Box and Write all files and folders stored in Box are already on, and Box does not let you turn them off. Turn off Manage signature requests and Manage AI. Leave the other groups off.

Read and write access to files and folders

  1. Press Save.
  2. Open App Details. Under Credentials, press Copy on Client ID and paste it into Client ID in Odoo. Press Copy on Client Secret and paste it into Client Secret. The secret stays masked.

Connect Odoo

A Box cloud client in Odoo before Confirm

  1. On the client: Client ID, Client Secret, and Redirect URL match Box. Root folder name is Odoo unless you change it. Step 2. Confirm a cloud client describes that folder.
  2. Press Confirm. Box opens its page. Log in if asked, then press Grant Access to Box.
  3. Box sends you back to the client form. The client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". The root folder is in Files.

The Odoo root folder in Box

Stay logged in to Odoo in the same browser. The page Box returns to asks for an Odoo login.

If the login cannot start, the red banner says "It is not possible to start the app confirmation. Reason: …". A wrong secret or a redirect that does not match shows "Could not finish authentication. Reason: …". If the root folder cannot be made, it says "The app confirmation was not finished. The root folder could not be created. Check the logs!". Errors and notifications describes that banner.

Finish the login of one Box client before you press Confirm on another.

After Confirm, Client ID and Root folder name cannot change. Client Secret and Redirect URL can, while the client is in Reconnected/Paused.

Links to Box files

No shared links to Box from Odoo is on by default. Odoo keeps the Box address of each item, https://app.box.com/file/… or https://app.box.com/folder/…. A user opens it only with access to that item in Box.

Turn the option off, and Odoo also asks Box for a shared link of every item it syncs. If Box refuses, the sync goes on, that item keeps its Box address, and the log warns "The shared URL for '…' was not received". Keep the option on. The checkbox can be changed at any time, and it applies to items synced after the change.

Reconnect and other cases

Box can end the login: the app was deleted, its secret was reset, access was removed in Box, or the login was not used for 60 days, for example on a client paused that long. The log says "The client cannot be initiated. Reason: …. Try to reconnect". Press Reconnect/Pause, then Confirm, and log in again. Pause and reconnect describes the buttons.

For a new client secret, press Reconnect/Pause, paste it into Client Secret, and press Confirm. Another Box app, with a new client ID, or another Box account, needs a new Odoo client. Change the cloud storage describes that.

NAS setup

Odoo connects to your NAS over WebDAV with a NAS user and its password. There is no app to register and no login page: Confirm checks the connection and creates the root folder.

Before you start

You need the NAS connector. It works together with Cloud Storage Solutions.

Turn on NAS Sync in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes that switch.

The NAS serves WebDAV over HTTPS. Odoo uses the NAS login and password. If a proxy or a firewall stands before the NAS, it must let these WebDAV methods through: PROPFIND, MKCOL, PUT, GET, MOVE, and DELETE.

The Odoo server must reach that address. When Odoo is hosted outside your network, expose the WebDAV endpoint through a secure reverse proxy, a VPN or tunnel, or the vendor relay.

The client types are Synology NAS, QNAP NAS, TrueNAS, and WebDAV NAS. The fields are the same for all four. This article shows Synology. For QNAP or TrueNAS, turn on WebDAV over HTTPS on the NAS as its manual says, then fill the same fields.

Prepare the NAS

On a Synology NAS with DSM 7:

  1. In Package Center, install WebDAV Server. Open it, turn on Enable HTTPS, leave HTTPS port at 5006, turn off Enable HTTP, and press Apply.

    WebDAV Server on a Synology NAS with HTTPS on port 5006

  2. Open Control Panel > Shared Folder > Create, and create a shared folder for Odoo, for example odoo-cloud-storage.
  3. Open Control Panel > User & Group > Create, and create a user for Odoo, for example odoo. On Assign shared folders permissions, tick Read/Write for that shared folder. Leave the other shares at No Access.

    A Synology user for Odoo with read and write access to one shared folder

Odoo creates, renames, moves, and deletes items in what it syncs, so this user needs write access, and nothing beyond the Odoo folder.

On Synology, enter that shared folder in NAS base path. A new folder cannot be created at the top of WebDAV.

Connect Odoo

  1. Open Cloud Storage > Configuration > Cloud Clients, press New, enter a name at the top of the form, and choose Synology NAS. QNAP NAS, TrueNAS, and WebDAV NAS use the same fields.
  2. WebDAV URL is the WebDAV address with its port, for example https://nas.example.com:5006/.
  3. Login and Password are the NAS user from the previous section.
  4. NAS base path is that existing folder or share, for example odoo-cloud-storage. Odoo creates its root folder inside it. Leave the field empty only when the server allows a new folder at the top of the WebDAV address.
  5. Root folder name. Step 2. Confirm a cloud client describes the name. Unlike ownCloud and Nextcloud, an existing folder with that name in the base path is not an error: Odoo uses it. Pick a name no other client or database uses there, for example Odoo Cloud Storage.
  6. Verify SSL is on by default. Turn it off only for a trusted NAS with a self-signed certificate. A NAS reached from the internet needs a valid certificate.
  7. NAS request timeout is how many seconds Odoo waits for each NAS answer. The default is 30. Raise it for a slow NAS.

    A Synology NAS cloud client in Odoo before Confirm

  8. Press Confirm. Odoo checks the WebDAV connection and the base path, creates or finds the root folder, and the client is Confirmed, with the green message "The cloud client is confirmed and might be used for synchronization". No login page opens.

The Odoo root folder in a Synology shared folder

The share may also show #recycle. That is Synology's recycle bin, not an Odoo folder.

A wrong address, login, or password, or a certificate Odoo does not trust while Verify SSL is on, shows "Could not finish authentication since client could not be initiated". Sync Logs hold the reason. Errors and notifications describes that banner.

A NAS base path that does not exist, or a user who cannot write there, shows "Client was not confirmed since root folder could not be created".

After Confirm, Cloud client and Root folder name cannot change.

Links to the files

Each synced folder and file gets a link in Odoo.

With NAS browser URL empty, the link is the WebDAV address of the item. The browser asks for a NAS login before it opens the file, so colleagues who open the links need their own NAS account with access to those folders. A download or a preview in Odoo does not need that account: Odoo reads the file with the client's user. Where the files are describes that.

With NAS browser URL set, the link is that address plus the item path below WebDAV URL, base path included. Use it only when a web address serves the same paths, for example a reverse proxy in front of the WebDAV share for browsers. The browser URL https://files.example.com/nas gives https://files.example.com/nas/odoo-cloud-storage/Odoo%20Cloud%20Storage/Sales/….

Reconnect and other cases

For a changed NAS password, press Reconnect/Pause, enter the new Password, and press Confirm. Pause and reconnect describes the buttons.

A root folder deleted on the NAS is described in Errors and notifications.

Choose the final WebDAV URL before the first Confirm. Odoo remembers each synced item by its WebDAV address. The form lets you edit WebDAV URL in Reconnected/Paused, but with another host or path Odoo no longer finds the root folder and does not confirm. Another NAS address, another NAS, or another user needs a new client. Change the cloud storage describes that.

Enterprise Documents sync

You need the add-on Cloud Sync for Enterprise Documents and the Enterprise app Documents.

The add-on syncs the folders of the Odoo Enterprise app Documents with your cloud storage, with their files. You choose the Documents folders with a rule of its own type, the Workspace-Related Rule.

Before you start

Turn on Sync Enterprise Documents in the Options block of Cloud Storage > Configuration > Configuration. Step 1. Turn on a connector describes how an option installs an app.

Documents and its folders cannot have a model rule. Auto folder rules describes that limit. They use the rule type of this add-on.

In the labels of the add-on, workspace means a Documents folder.

A workspace rule

  1. Open Cloud Storage > Configuration > Auto Folders Rules and press New.
  2. Set Rule type to Workspace-Related Rule. The type is on the form only when this add-on is installed.
  3. The filter under Rule type chooses which Documents folders the rule takes. The filter is built like any Odoo filter on documents. Only folders count. Files are not matched.

    A workspace rule with its filter

  4. Folder name becomes the rule's top folder. Clouds Client is where those folders sync. Leave it empty to keep them in Odoo only. What a rule does describes the client.

What the rule takes into account:

  • A matched folder brings all of its subfolders, whatever the filter says about them.
  • A Documents folder belongs to one workspace rule: the first in the rules list whose filter matches that folder or a folder above it.
  • Maximum Folders per Rule applies to a workspace rule too (Folder limit). Over the limit, the rule creates no new folders and archives none. Within the limit, a Documents folder that fits no workspace rule is archived at the next folders' update, and its files come back to Odoo.
  • Workspace rules are highlighted in the rules list. The characters a folder name may contain are in Record folder names.
  • The same scheduled action prepares workspace rules and model rules, one type and then the other. Two scheduled actions describes the runs.

Name the rule Documents and choose your Google Drive client. In the filter, set Name equal to Finance. The folder Finance and all its subfolders sync.

What is synced

Each matched Documents folder gets a cloud folder under the rule's top folder, with the same tree.

The Documents folders in Google Drive

  • The files of a synced Documents folder go to its cloud folder. Moving a document to another synced folder moves the file in the cloud. Renaming the document changes the cloud name.
  • A folder created in the cloud, or in the File Manager, inside a synced Documents folder becomes a new Documents folder. A file added in the cloud there becomes a document.
  • Replacing a file keeps the previous attachment in History. That copy has no cloud folder. Only the current file syncs.
  • Rename, move, and delete on either side follow the general rules. Changes in Odoo and in the cloud describes them.
  • Who sees the folders in the File Manager follows Documents access, because the cloud folder points at the Documents folder. Folders and files follow records describes that.

Files in the File Manager, each with its folder path

In the Documents app

A synced file shows a cloud icon, with the hint Synced to clouds.

Synced files in the Documents app with the cloud icon

Synced files have no stored thumbnail. Show synced Documents image preview in real time fetches image previews from the cloud on every load. Nothing is stored in Odoo. Documents folder views get slower.

Opening, previewing, and downloading a synced document read it from the cloud through Odoo. Where the files are describes that. The link icon opens the file in the cloud.

The size of a synced file that Odoo does not know shows Unknown.

Records and Documents together

A record attachment and a document can be the same file. That file has one cloud folder. When several rules claim that file, it goes to the folder of the rule higher in Auto Folders Rules. Drag the rules to change the order. The next run of [Cloud Storage] Prepare Cloud Folders reassigns those files, at most 15 minutes later. The sync queue then moves them in the cloud.

Signing and other limits

A synced document can be shared, downloaded, and sent for signature. Sign copies the PDF from the cloud into Odoo at that moment, so the cloud must answer then. After that, the signature does not depend on the cloud.

Sending a synced PDF for signature

The app sets no file size limit. The Odoo server and the cloud service do. Server configuration and limits describes those limits.

A Documents URL item with no cloud file is not synced, and Odoo spreadsheets stay in Odoo. What is not synced describes the types that stay in Odoo.

Settings

All the app-wide settings of Cloud Storage are on one page, Cloud Storage > Configuration > Configuration. The same page is Settings > Cloud Storage.

The menu is shown to Cloud Storage Administration. Opening the page needs the Odoo role Administrator. Without it, Odoo refuses access. Settings of one rule, one folder, or one cloud client are on those records.

Options

Each switch installs one connector app. Save installs the app named in the line under the switch. Step 1. Turn on a connector describes the install.

The Options block that turns connectors on

General settings

  • Sharing turns on shares in the portal and by link for all users. Sharing describes them.
  • Tags turns on attachment tags and navigation by tags. Tags describes them.
  • Logs storage period (days) is 3 by default and cannot be less than 3. Log size and export describes the logs.
  • Show synced images and GIFs preview in real time fetches previews of synced images in the attachment box on each load. The box gets slower. Real-time preview describes it.
  • Not synced mimetypes lists types that are never uploaded. What is not synced describes the types that stay in Odoo.
  • Maximum Folders per Rule is 2000 by default. Zero or less counts as 2000. Above the limit, the rule stops updating its folders. Folder limit describes the cap.
  • Maximum Retries is 7 by default. Zero or less counts as 7. Database backups use the same number. Retries describes the waits.
  • Maximum Retries (Reverse and Move tasks) is 4 by default. Zero or less counts as 4. Retries describes those tasks.
  • Logs to Export is 50000 by default. Zero or less counts as 50000. Delete all logs under it deletes every sync log at once, after a confirmation. Only an Access Rights administrator or a Cloud Storage administrator can run it. Log size and export describes the export.
  • Show synced Documents image preview in real time appears with the Enterprise Documents add-on. In the Documents app describes the previews.

The Settings block with the default limits

Mass actions

The File Manager offers only the server actions you list here, and none until you add them. Only server actions of the model Attachment can be added, and one created here gets that model. Selection and mass actions describes the six actions of the app.

Filestore

The block shows the size of the Odoo file store after the daily cleanup, and Refresh runs that cleanup now. Where the files are describes the rest.

Testing / Development

Launch Folders' Update and Launch Sync run the two scheduled actions now. Odoo asks first. Use them for tests only. Step 4. Wait for the first sync describes the runs.

Prepare database backups runs the backup action now, and only in developer mode. Database backups describes the strategies.

Settings on other records

Database backups

Keep your main backup of Odoo. Use these backups as an extra copy. Each cloud client can save a backup of this database to a cloud folder on a schedule and keep the last few. Set this in developer mode.

Turn on backups

Open Cloud Storage > Configuration > Cloud Clients. On Misc, turn on Auto database backups. Database to Back Up takes this database's name, and the tab Backups appears. The switch, the tab, and the schedule work only for a Confirmed client that is not archived. A client in Reconnected/Paused is not backed up. Strategies need Administration.

Backup strategies

Reference names the strategy and is part of the file name. Backup Folder is a folder of this client that is already synced. A folder that is not in the cloud yet fails this backup and is retried; the other backups keep running.

The archive is a file of that folder, so whoever can see the folder can download the whole database. Put the backups in a manual folder and limit it to administrators on Extra security. Access to folders describes that tab.

Frequency (days) is 1 for every day, 0.25 for every 6 hours, and 7 for every week. The default is 1. A shorter gap is refused with "Frequency could not be less than 30 minutes!" Backups count is how many archives of this database to keep. After a success, the next sync deletes the oldest above that count in the cloud. Archives of another database stay. 0, or a negative count, keeps every archive.

Include filestore is on by default. Include manifest is off. Prepare Backup runs that strategy now, as the schedule does, and the page waits. It counts toward Backups count. If the backup is skipped or fails, or another backup is running, Odoo shows an error.

The Backups tab of a cloud client with a daily and a weekly strategy

When a backup runs

The scheduled action [Cloud Storage] Create Database Automatic Backups runs every 15 minutes and starts a strategy whose next time has passed or is empty. Next backup time (approx.) is the earliest moment, not an exact minute. An empty time runs on the next pass, then every Frequency (days). A set time keeps that grid: the frequency is added to the planned time, not to when the run finished.

In developer mode, Prepare database backups under Testing / Development in Settings runs that action now. Each run backs up a client once. When two strategies of one client are due together, the one with the longer Frequency (days) runs, and the other moves to its own next time. Backups of different clients do not run at the same time, so give them different times.

Daily has a frequency of 1 day, the next time 2026-12-01 04:00 UTC, and keeps 7 archives. Weekly has 7 days, the next time 2026-12-06 04:00 UTC, and keeps 4. A backup arrives each day between 04:00 and about 04:15 UTC. On 2026-12-06 both are due. Weekly runs, because its interval is longer, and Daily moves to 2026-12-07 04:00 UTC. The folder then holds the last 7 daily archives and the last 4 weekly ones.

What the archive holds

The zip is named with the database, the UTC date and time, and the Reference. Characters such as : become -, so a daily file can be cloud20_demo 2026-11-30 19-43-55 Daily.zip. Next backup time (approx.) shows your time zone. The file name uses UTC.

The backup folder with three archives named by database, UTC time, and strategy

It always holds dump.sql. Include filestore adds the folder filestore. Include manifest adds manifest.json, with the Odoo version, the PostgreSQL version, and the installed modules. The database manager can restore this zip. A restored copy under another name does not make these backups; its sync is in Copies of the database.

Where the files are describes synced files: they are not in that filestore folder.

Odoo keeps the link, not the zip. Reset brings those synced files back, the archives included, unless Turn off the reverse sync is on. Delete the old archives first, or turn that switch on. Reset a client describes the reset.

Copies and renamed databases

Backups follow Database to Back Up. A copy under another name does not run them. At the top of the client form, also without developer mode, a warning names that database and says the backups are skipped here. Back up this database, shown to Administration, binds them to this database. After you rename the database, press Back up this database.

A neutralized database is skipped, and Prepare Backup reports "Database backups are skipped because this database is neutralized." Restrict Database Sync set to another database leaves the client out of the schedule, and the button reports "The client sync is restricted by the database name." These skips do not turn the line red and do not move the next time. For a different name and for a neutralized database, Sync Logs get the same line on every run. A copy restored under the same name, and not neutralized, still backs up into the same folder: turn off Auto database backups there.

Large databases and failures

The server builds the archive on its own disk. With Include filestore it keeps a copy of the filestore, the SQL dump, and the zip at the same time, so the disk needs room for all three.

Before the dump, the app checks that the client is connected. If it is not, or the dump or upload fails, the line turns red and the attempt is retried every 15 minutes, up to Maximum Retries attempts for each planned time (the default is 7). Retries describes that setting. The line stays red until a backup of that strategy succeeds. After the last attempt it waits for its next planned time. While that longest strategy is still failing, the shorter ones of the same client wait with it.

A run that the server stops for a time limit is not retried. The next time was already moved, before the dump, and the line does not turn red for that stop. Sync Logs show "Start executing dump_db" with no "Finish executing dump_db" after it. Sync logs and queue describes the log.

Server configuration and limits

The Odoo server needs time limits of 900 seconds or more, so a sync run can finish instead of being cut off. This article collects those limits and the limits the app sets.

Server time limits

Set limit_time_cpu, limit_time_real, and limit_time_real_cron to 900 seconds or more. One sync run is planned for 899 seconds and stops itself about 100 seconds earlier. Until that time passes, the next run does not start. The folders' update works the same way, with its own 899 seconds. A server limit below that cuts the run halfway. One sync run describes the run.

Odoo's own defaults are lower: limit_time_cpu is 60 seconds, limit_time_real is 120 seconds, and limit_time_real_cron is -1. With -1, scheduled actions get limit_time_real. A value of 0 means no limit.

The scheduled actions run under limit_time_real_cron. The buttons Launch Folders' Update and Launch Sync run the same job inside the web request, so limit_time_real and limit_time_cpu apply to them. In multi-worker mode, limit_time_cpu also applies to the scheduled-action workers.

When a limit cuts a run, Sync Logs show "Cloud sync was started. Locked till: ..." and no "Cloud sync was finished. Unlocked" after it. The Odoo server log shows "virtual real time limit ... reached". The next run then waits until the 899 seconds pass, and the sync gets much slower.

Odoo counts three cut runs in a row as one failure. After 5 failures over 7 days it turns the scheduled action off and notifies the administrators. If the sync stopped, check that both actions are still active.

limit_time_cpu = 900
limit_time_real = 900
limit_time_real_cron = 900

Odoo.sh

On Odoo.sh the time limits are set by the platform and cannot be changed. On an Odoo.sh dedicated server they can. The app's 15-minute run is built on the Odoo.sh limit, so on Odoo.sh there is nothing to configure for the timeouts. A staging database is a copy: Before copying the database covers it.

Scheduled actions

The app adds four scheduled actions. [Cloud Storage] Prepare Cloud Folders and [Cloud Storage] Run/Prepare sync queue run every 15 minutes. Two scheduled actions describes those two. [Cloud Storage] Create Database Automatic Backups runs every 15 minutes. [Cloud Storage] Check Expired Shares runs once a day.

Odoo refuses an interval below 15 minutes for the first two, with the message "It is forbidden to make sync cron jobs take less than 15 minutes or repeat missed sync jobs. Make also sure your Odoo server timeouts are configured for 900 seconds at least."

Odoo refuses an interval below 15 minutes for the sync scheduled action

To stop the sync for a while, pause the client. Do not turn the scheduled actions off. Pause and reconnect describes the pause.

Launch Folders' Update and Launch Sync are for tests. Step 4. Wait for the first sync describes them.

Python packages

Without its package, Odoo does not install the app. Install the package into the Python that runs Odoo. On Odoo.sh, list the packages in the file requirements.txt of your repository. Before you start lists the same packages. This table is the reference.

App Python package
Cloud Storage Solutions sortedcontainers
OneDrive and SharePoint microsoftgraph-python, requests
Dropbox dropbox
Amazon S3 and MinIO boto3
Box box_sdk_gen
NAS requests
Google Drive, ownCloud and Nextcloud, Enterprise Documents none

Before copying the database

Before you copy production to staging or a test, turn on Restrict Database Sync on each client on production (tab Misc, in developer mode). A copy under another name then syncs nothing and logs "The client sync is restricted by the database name". Copies of the database explains the option.

Neutralizing that copy turns off what contacts the cloud. Preparing folders still runs. Copies of the database describes the error, the log line, and the files that no longer open.

A copy has the same clients and the same cloud folders as production, so without the restriction both databases write to the same cloud storage.

Backups on a copy are in Copies and renamed databases.

File size

The app sets no file size limit. A file reaches the Odoo server first, and the next sync sends it to the cloud. The Odoo server and the cloud service set the limits.

Odoo accepts uploads up to 128 MB by default. The system parameter web.max_file_upload_size changes it. A web server or a hosting in front of Odoo can set its own limit.

Large volumes: what to plan

The sync works through the cloud service's API, one request per change. The more records, folders, and files, the longer the sync and the more room for errors on the cloud side. Retries describes how a failed task is tried again.

Start narrow: sync only the records you need, with Filters and Periods. Archived contacts, or orders from two years ago, do not need folders.

Avoid thousands of folders on one level: group them with a Parent rule. A rule creates at most Maximum Folders per Rule folders, 2000 by default. Above 2000 the setting's own help warns of conflicts and data loss. Folder limit describes the cap.

The first sync of many records takes many runs. Large volumes describes that.

Keep your own backups of Odoo and of the cloud storage. Database backups is the app's tool for the Odoo side.

All limits at a glance

Limit Value Where it changes Article
Interval of the two sync actions 15 min, not less the scheduled action Scheduled actions
One sync run / folders' update about 15 min (lock 899 s) — One sync run
Server time limits 900 s or more Odoo configuration Server time limits
Backup lock 900 s, longer with system parameter cloud_base_backup_timeout, never shorter system parameter Large databases and failures
Folders per rule 2000 Maximum Folders per Rule Folder limit
Retries of a failed task 7 Maximum Retries Retries
Retries of a reverse or move task 4 Maximum Retries (Reverse and Move tasks) Retries
Sync logs kept 3 days, not less Logs storage period (days) Log size and export
Lines in a log export 50000 Logs to Export Log size and export
Lines on the Sync Logs screen 500 at a time — The Sync Logs screen
File types never synced 6 types Not synced mimetypes adds more What is not synced
Name length in the cloud 180 characters — Folder names
Cloud folder not found 3 times in a row, then unlinked — Folders: changes in the cloud
NAS answer wait 30 s NAS request timeout Connect Odoo
File size no app limit; Odoo 128 MB by default web.max_file_upload_size File size

Recommendations

These recommendations help a Cloud Storage setup run quietly: what to decide before the first sync, how to work day to day, and what to do before a large change. Each one links to the article with the details.

What to expect

Before the first sync

  • Start with one rule and a few records, check the result, then widen the rule step by step.
  • Sync the records people work with. Filters, Periods, and Only with attachments keep the rest out.
  • Split a model by activity: open records in one rule, closed ones in another rule with Restrict Monitoring, so the active folders are checked at every run.
  • Choose filters and periods that change rarely. A record that leaves its rule brings its files back to Odoo.
  • Keep the folders of one level under the folder limit: group them with a parent rule.
  • Decide the tree before go-live. Default folders reach only new record folders, and the root folder name stays as first confirmed.
  • Let Odoo create its own root folder. To bring existing cloud files in, copy them into the folders Odoo has created: the next runs add them to Odoo, so do not create the record folders in the cloud by hand.
  • If files are managed only in Odoo, turn on Turn off the backward sync. The folder check then asks the cloud nothing, so a full check is shorter.
  • Before the first copy of the database, turn on Restrict Database Sync on production. On a cloud account shared by several databases, give each database its own root folder name.
  • Set the server time limits before the first sync.

Day to day

  • Rename, move, and remove folders in Odoo: the cloud folder follows. Add, rename, and delete files on either side.
  • A record folder takes its name from the record and its place from the rule. Rename the record or change the name expression to rename the folder, and change the filter to remove it.
  • Let the scheduled actions do the sync; Launch Folders' Update and Launch Sync are for tests.
  • Follow each cloud client, so that Odoo tells you when its connection has an error.
  • Look at failed tasks in Sync Logs from time to time. A reverse or move task in red holds the others back.
  • Note the end date of the app secret of your cloud app, and publish the Google app: both end the login when forgotten.
  • Give people access in the cloud storage only if they work there. Download and preview in Odoo need no cloud account.
  • On a large volume, do not raise Logs storage period: the sync logs stay in the database.
  • When something looks wrong, start with Sync Logs, then the banner of the client, then the failed tasks, and send support the exported log with the time of the problem.

Before a large change

  • A change of the client, the account, or the storage moves every file twice. Do it for one rule at a time, at a quiet time, and keep the old client confirmed until it is done.
  • Reset and a reverse sync bring the files back into Odoo. Check that the Odoo server has room for them first.
  • Before you uninstall, reset every client and wait until each is gone.
  • To pause the sync, pause the client.
  • When Odoo moves to a new address, leave the connected clients as they are. Redirect URL stays as stored on the client: new files go to the same folders, and files already synced stay put.
  • Change Redirect URL only for a new login. Add the new address as a second redirect URI and keep the old one, in Google Cloud, Microsoft Entra, Dropbox, or Box, then press Reconnect/Pause, write the new address in Redirect URL, and press Confirm.
  • Confirm only after the cloud app has the new address. Confirming first leaves the login unfinished (Google shows redirect_uri_mismatch), and the sync waits until the client is confirmed.
  • On OneDrive and SharePoint, write the new Redirect URL in Odoo only after the new address is in Microsoft Entra. Microsoft uses the saved Redirect URL when it updates the access.

Upgrading Odoo to a new version

Before you upgrade Odoo to a new major version, pause the cloud clients, and test the upgrade on a copy of the database with Restrict Database Sync set.

Contact us: we help with the steps for your version.

Custom modules and other apps

If your Odoo has custom modules, or apps from other vendors, that read, create, or delete attachments, keep these points in mind. Pass them to the developer who maintains those modules.

  • Reading the content of a synced file downloads it from the cloud each time. Odoo keeps the link, so a module that reads a PDF, adds the file to an email, or builds a report waits on the cloud, and the read is slower than a file kept on the Odoo server. If the cloud does not answer, the code gets empty content and no error. Check that the content is not empty, and do not read thousands of synced files in one run.
  • Deleting a synced file hides it first. Odoo marks the attachment Marked for delete, the sync deletes the file in the cloud, and the attachment is removed only after that deletion. A module that forbids deleting attachments stops this last removal, so the file stays hidden in Odoo. Allow deletion of attachments that are Marked for delete, or account for that mark in the module's rule.
  • A file kept in a binary field of its own model is not synced. Cloud Storage syncs attachments of the record, and a binary field stays on the record. Store such files as attachments of the record. What is not synced lists the other cases.