文档

通过**Odoo 说明文档**,您可以在 Odoo 中存储、查看和管理文件。

您可以上传任何文件(Odoo 云端版每个文件的最大容量为 64 MB),并将它们整理到各种工作区中。

配置

By going to Documents ‣ Configuration ‣ Settings, you can enable the centralization of files attached to a specific area of your activity. For example, by ticking 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.

启用集中管理活动特定区域所附文件的功能。

注解

  • 如果启用会计文件和文档集中管理,则必须点击 日记账 并独立定义每个日记账,以便自动同步。

    实现会计附件文件的集中管理。
  • 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 Documents ‣ Configuration ‣ Workspaces 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.

标签

在工作区中使用标签可增加文档之间的区分度。标签按类别排列,并可使用筛选器进行排序。

From the Tags tab, click Add a line, create the Tag Category, and Name your tags.

注解

  • 上级工作区的标记会自动应用到下级工作区;

  • Tags can be created and modified by going to Documents ‣ Configuration ‣ Tags;

  • Tags can also be created or edited by clicking the (gear) icon on the left panel;

  • An email alias can be used to automatically send received documents to a specific workspace based on the tag assigned.

访问权限

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).

You can also Open chatter or delete the document by clicking the (Move to trash) icon.

注解

Items moved to the trash are permanently deleted after 30 days.

To modify the name of your file, click on Name. A Contact or an Owner can be assigned. The related Workspace can be modified and it is possible to access the related Journal Entry or 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.

右侧面板底部有不同的 操作 可用,具体取决于存储文档的工作区。

拆分 PDF 文件

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 (down arrow) next to the Upload button to access additional features:

请求

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 (down arrow) next to the Upload 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.

文件可用时,点击占位符上传文件。

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.

从活动视图发送提醒电子邮件

分享

You can make a document or a workspace accessible to anyone by sharing a URL.

Share a document

To generate a share link to a document, select the document, click the (down arrow) next to the Upload button, and click Share.

In the pop-up, you can Name the share link, set a validity date by filling in the Valid Until field, and if you own more than one site, select the Website you want so the right domain name is reflected in the URL.

Click Copy or Share to send the URL to whomever you want.

小技巧

You can also generate a share URL by selecting the document, going to the right panel, and clicking the (Share this selection) icon.

Share a workspace

You can share a link to a workspace and allow users to Download its content or Download and Upload files to it.

To do so, go to the left column of your dashboard. In the Workspace section, select the workspace to share, and possibly one or several tags that will be automatically added to the uploaded documents. Then, click the (down arrow) next to the Upload button and Share.

In the pop-up, a share URL you can Copy is displayed. You can Name your share link, set a validity date by filling in the Valid Until field, tick the Include Sub Folders box if you want to share the workspace’s sub-folders, and if you own more than one site, select the Website you want so the share link reflects the right domain name.

Then, allow users to either Download files from your workspace, or to Download and Upload files to it.

注解

  • The links added to your workspace using the Add a Link option cannot be shared and are, therefore, excluded;

  • When tags are applied to a shared workspace, users can exclusively access the documents associated with those tags.

通过邮件上传

Select the Download and Upload option to enable users to upload their files to your workspace using an Email Alias. To create the email alias, enter its name in the Email Alias field. The domain name should be set by default, but you can modify it by clicking it.

The documents sent to this email alias are uploaded to the workspace using the chosen tags.

注解

  • 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 Configuration ‣ Share & Emails to see and manage your share links. Select a line and click Delete to disable the URL. People who have received this link will no longer be able to access the document(s) or workspace.

新建电子表格

要创建一个新的 电子表格,点击 新电子表格。您可以选择 空白电子表格现有模板

工作流操作

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 Documents ‣ Configuration ‣ Actions and click New.

注解

操作适用于所选 相关工作区 下的所有**子工作区**。

设置条件

Define the Action Name and then set the conditions that trigger the appearance of the (play) icon on the right-side panel when selecting a file.

可以设置三种基本类型的条件:

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

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

  3. guilabel:所有者:文件必须与此处设置的所有者相关联。

Odoo文档管理应用程序中工作流操作基本条件示例

小技巧

If you do not set any conditions, the action button appears for all files inside the selected workspace.

高级条件类型:域

重要

建议有 Odoo 开发知识的用户设置*域*过滤器。

The developer mode needs to be activated to access the Domain condition from the Actions tab. Once done, select the Domain condition type and click New Rule.

要创建规则,通常需要选择 字段操作符`和 :guilabel:`值。例如,如果要向工作区内的所有 PDF 文件添加工作流程操作,可将 字段 设为 Mime 类型,将 运算符 设为 包含,并将 pdf 设为

Odoo中文档管理应用程序中工作流操作域条件示例

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.

配置操作

选择 :guilabel:`操作`选项卡,以设置操作。您可以同时:

  • 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;

    • 产品模板:创建可直接编辑的产品;

    • 任务:创建可直接编辑的项目任务;

    • 签名 PDF 模板:创建一个新的签名模板来发送;

    • PDF to sign: create a Sign template to sign directly;

    • 申请人:创建一个新的人力资源申请,您可以直接编辑;

    • 供应商账单:使用 OCR 和人工智能从文件内容中获取信息,创建供应商账单;

    • Customer invoice: create an invoice using OCR and AI to scrape information from the file;

    • 供应商贷项通知单:使用 OCR 和人工智能从文件中提取信息来创建供应商贷项通知单。

    • 贷项通知单:使用 OCR 和人工智能从文件中提取信息来创建客户贷项通知单。

    • 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;

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

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

  • 活动—计划活动:创建在操作中配置并关联至文件的活动。您可以选择在文件所有人下设置活动。

Odoo 文件管理应用程序中工作流操作示例

利用人工智能和光学字符识别(OCR)将文件数字化

在财务工作区中,可以将文档进行数字化处理。选择要数字化的文档,点击:guilabel:创建账单创建客户发票`或:guilabel:`创建贷项通知单,然后点击:guilabel:发送进行数字化处理