Documente

Odoo Documents allows you to store, view and manage files within Odoo.

You can upload any type of file (max 64MB per file on Odoo Online), and organize them in various workspaces.

Acțiuni ale fluxului de lucru

Workflow actions are automated actions you can create and customize at the level of each workspace. They appear next to a file whenever it meets the criteria you set. That way you can, for example, add tags to a file or move it to another workspace with a single click. Workflow actions help you streamline the management of your documents and your overall business operations.

Creați acțiuni de flux de lucru

To create workflow actions, go to Documents ‣ Configuration ‣ Workspaces and select the workspace where the action should apply. Click on the Actions smart button, and then on Create.

Workflow actions smart button in Odoo Documents

Notă

An action applies to all Child Workspaces under the Parent Workspace you selected.

Sfat

If you use the developer mode, you can directly access all your actions by going to Documents ‣ Configuration ‣ Actions.

Stabiliți condițiile

After naming your workflow action, you can set the conditions that trigger the appearance of the action button on the right-side panel when selecting a file.

Există trei tipuri de bază de condiții pe care le puteți seta:

  1. Tags: you can both use the Contains and Does not contain conditions, meaning the files must have or mustn’t have the tags set here.

  2. Contact: the files must be associated with the contact set here.

  3. Owner: the files must be associated with the owner set here.

Exemplu de condiție de bază a unei acțiuni de flux de lucru în Documente Odoo

Sfat

If you don’t set any conditions, the action button appears for all files located inside the selected workspace.

Tip de condiție avansată: domeniu

Important

It is recommended to have some knowledge of Odoo development to properly configure Domain filters.

To access the Domain condition, the developer mode needs to be activated. Once that’s done, select the Domain condition type, and click on Add Filter.

Activating the domain condition type in Odoo Documents

To create a rule, you typically select a field, an operator, and a value. For example, if you want to add a workflow action to all the PDF files inside a workspace, set the field to Mime Type, the operator to contains, and the value to pdf.

Exemplu de condiție de domeniu a unei acțiuni de flux de lucru în Documente Odoo

Click on Add node (plus-circle icon) and Add branch (ellipsis icon) to add conditions and sub-conditions. You can then specify if your rule should match ALL or ANY conditions. You can also edit the rule directly using the Code editor.

Add a node or a branch to a workflow action's condition in Odoo Documents

Configurați acțiunile

Select the Actions tab to set up your action. You can simultaneously:

  • Setați contact: adăugați un contact la fișier sau înlocuiți un contact existent cu unul nou.

  • Setați proprietarul: adăugați un proprietar la fișier sau înlocuiți un proprietar existent cu unul nou.

  • Mutați în spațiul de lucru: mutați fișierul în orice spațiu de lucru.

  • Creați: creați unul dintre următoarele elemente atașate fișierului din baza de date:

    • Product template: create a product you can edit directly.

    • Task: create a Project task you can edit directly.

    • Signature request: create a new Sign template to send out.

    • Sign directly: create a Sign template to sign directly.

    • Vendor bill: create a vendor bill using OCR and AI to scrape information from the file content.

    • Customer invoice: create a customer invoice using OCR and AI to scrape information from the file.

    • Vendor credit note: create a vendor credit note using OCR and AI to scrape information from the file.

    • Credit note: create a customer credit note using OCR and AI to scrape information from the file.

    • Applicant: create a new HR application you can edit directly.

  • Set Tags: add, remove, and replace any number of tags.

  • Activities - Mark all as Done: mark all activities linked to the file as done.

  • Activități - Programează activitate: creați o nouă activitate legată de fișier așa cum a fost configurat în acțiune. Puteți alege să setați activitatea pe proprietarul documentului.

Exemplu de acțiune de flux de lucru Documente Odoo