文档¶
Odoo Documents allows you to store, view, and manage files within Odoo.
配置¶
By going to Human Resources, your HR documents are automatically available in the HR workspace, while documents related to Payroll are automatically available in the Payroll sub-workspace. You can change the default workspace using the dropdown menu and edit its properties by clicking the (Internal link) icon.
, you can enable the centralization of files attached to a specific area of your activity. For example, by ticking注解
如果您启用了会计文件和文档的集中化,需要点击 Journals 并独立定义每个日志 以允许自动同步。
If you select a new workspace, existing documents are not moved. Only newly created documents will be found under the new workspace.
工作区¶
Workspaces are hierarchical folders having their own set of tags and actions. Default workspaces exist, but you can create your own by going to and clicking New. On the new page, fill in the following information:
名称
Parent Workspace: if you want to create a sub-workspace, select its Parent Workspace.
Three tabs are available: Tags, Access Rights, and Description.
访问权限¶
To manage your workspace access rights, go to the Access Rights tab. You can add Write Groups that can view, create, and edit the workspace’s documents. You can also add Read Groups that only view the workspace’s documents.
小技巧
Enable Own Documents Only to limit Read Groups and Write Groups to the documents of which they are owner.
描述¶
You can add descriptive information to your workspace by going to the Description tab.
注解
Workspaces can also be created and edited by clicking the (gear) icon on the left panel.
文档管理¶
When selecting or opening a document, the right panel displays different options, including, for example:
(Download);
(Share this selection): a share URL is copied to your clipboard;
(Replace): select a new file to replace the existing one. Scroll down to the bottom of the right panel to see the History and restore, download, or delete the document;
(Lock);
(Split);
(Open chatter).
To modify the name of your file, edit the Name field. Click the (Move to trash) icon to delete your document.
注解
Items moved to the trash are kept for 30 days in the Trash workspace, after which they are permanently deleted.
A Contact or an Owner can be assigned. You can also modify the related Workspace and add Tags.
注解
The Contact is a person related to the document who only has read access rights to the document, e.g., an existing supplier in your database;
The creator of a document is automatically assigned as its Owner and is granted full access rights to it. To replace the owner of a document, select the required user from the dropdown list in the Owner field.
小技巧
An employee must be a user and the owner of a document to view it in My Profile.
Different Actions are available at the bottom of the right panel, depending on the workspace where your document is stored.
Split PDF documents¶
Select the PDF you want to split, and click the (scissors) icon. A new view displays all the pages of the document.
By default, all pages are split when you click Split. To remove a split between two pages, click the (scissors) icon.
小技巧
To merge documents from your dashboard, select them and click the (scissors) icon. Click on the scissors between the two documents and click Split to merge the documents.
附加功能¶
Select a workspace and click the New button to access additional features:
上传¶
You can upload any file (max 64MB per file on Odoo Online) to your Documents app. Select the workspace where you want to upload your file, click the New button, then Upload.
请求¶
You can request files and organize them as documents to remind users to download them.
Select the workspace where the file should be stored, click the New button, then Request. Add the Document Name and select the person you need it from in the Request To field. You can also fill in the Due Date In, confirm the Workspace the document should belong to, and add Tags and a Message. Then, click Request. A placeholder for the missing document is created in the workspace.
When your document is available, click the placeholder to upload it.
You can see all missing documents by going to the Activity view and the Requested Document column.
小技巧
From the Activity view, you can send a reminder email to users from whom you are expecting a document. Go to the Requested Document column and click the (ellipsis) icon, and Document Request: Reminder. Click on a date to see the details of a specific request. You can update it by clicking on the (pen) icon, Preview the content of the reminder email, or Send Now to send a reminder email.
链接¶
To add a link to your documents dashboard, click Link, enter the URL, and Name it.
电子表格¶
To create a new spreadsheet, click Spreadsheet. You can select a Blank spreadsheet or an existing template.
Files upload¶
Toggle the Allow upload switch to allow users to upload files to your workspace.
Tick the Upload by Email checkbox to enable users to upload documents sent by email in the workspace.
Enter an alias in the Email Alias field. All documents sent to this email address are uploaded to the workspace using the chosen tags.
注解
You need to have an alias domain set to be able to upload documents by email. If it isn’t existing yet, click Choose or Configure Email Servers and create an alias domain.
By default, the Document Owner is the person who uploads a file to a workspace, but you can select another user. You can also set a Contact, usually an external person, such as a partner.
Enable Create a new activity to automatically create an activity when a document is uploaded. Select the Activity type from the dropdown list and set the Due Date In field. You can also add a Summary and a Responsible person assigned to the activity.
小技巧
Go to Delete to disable the URL. People who have received this link will no longer be able to access the document(s) or workspace.
to see and manage your share links. Select a line and click工作流操作¶
Workflow actions help manage documents and overall business operations. These are automated actions that can be created and customized for each workspace. With a single click you can, for example, create, move, sign, add tags to a document, and process bills.
When a document meets the set criteria, these workflow actions appear on the right panel.
创建工作流动作¶
To update an existing workflow action or create a new one, go to New.
and click注解
An action applies to all sub-workspaces under the Related Workspace you selected.
设置条件¶
Define the Action Name and then set the conditions that trigger the appearance of the action button on the right-side panel when selecting a file.
您可以设置三种基本类型的条件:
Tags: you can use the Contains and Does not contain conditions, meaning the files must have or must not have the tags set here;
Contact: the files must be associated with the contact set here;
Owner: 文件必须与此处设置的所有者关联。
小技巧
If you do not set any conditions, the action button appears for all files inside the selected workspace.
高级条件类型:域¶
重要
It is recommended to have some knowledge of Odoo development to configure Domain filters properly.
The developer mode needs to be activated to enable the Domain Condition type. Once done, click New Rule.
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 pdf value.
Click the (Add New Rule) icon and the (Add branch) 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.
配置操作¶
Go to the Actions section to set up your action. You can simultaneously:
Move to Workspace: move the file to any workspace;
创建:在您的数据库中创建以下附加到文件的项目之一:
Link to record: create a link between a document and a record from a specific model;
Product template: create a product you can edit directly;
Task: create a Project task you can edit directly;
Signature PDF template: create a new Sign template to send out;
PDF to sign: create a Sign template to sign directly;
Applicant: create a new HR application you can edit directly;
Vendor bill: create a vendor bill using OCR and AI to scrape information from the file content;
Customer invoice: create an 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;
Miscellaneous Operations: create an entry in the Miscellaneous Operations journal;
Bank Statement: import a bank statement;
Purchase Receipt: create a vendor receipt;
Expense: create an HR expense.
Set Contact: add a contact to the file, or replace an existing contact with a new one;
Set Owner: add an owner to the file, or replace an existing owner with a new one;
设置标签:添加、删除和替换任意数量的标签。
To set up activities related to your actions, go to the Activities section:
Activities - Mark all as Done: mark all activities linked to the file as done;
活动 - 安排活动:根据操作配置,创建与文件关联的新活动。您可以选择将活动设置给文档所有者。
使用人工智能和光学字符识别(OCR)技术数字化文档¶
Documents available in the Finance workspace can be digitized. Select the document to digitize, click Create Vendor Bill, Create Customer Invoice, or Create Customer Credit Note, and then click Send for Digitization.
另请参阅