文档

**Odoo文档**允许您在Odoo中保存、查看和管理文件。

您可以上传任何类型的文件(向Odoo线上版上传的文件最大为64MB),并将其组织在相应工作区中。

配置

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 by using the dropdown menu and edit its properties by clicking the internal link button ().

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

注解

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

    实现会计附件文件的集中管理。
  • 如果选择新工作区,现有文档不会移动。只有新创建的文档才会出现在新工作区中。

工作空间

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 on Create.

注解

Workspaces and Sub-workspaces can be created, edited, or deleted by clicking on the gear icon on the left menu.

从左侧菜单创建子工作区

标签

Tags are used within workspaces to add a level of differentiation between documents. They are organized per category and filters can be used to sort them.

注解

  • The tags of a parent workspace apply to the child workspaces automatically.

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

  • Tags can also be created, edited, or deleted, by clicking on the gear icon , on the left menu.

‎文档管理‎

When clicking on a specific document, the right panel displays different options. On the top, additional options might be available: Download, Share, Replace, Lock or Split. It is also possible to Open chatter or Archive the document.

right panel options

Then, you can modify the name of your file by clicking on Document. 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 to add Tags.

注解

  • guilabel:`联系人`是与文件相关并分配给文件的人。只能查看文件,不能修改文件。例如:您数据库中的现有供应商是其账单的联系人。

  • The person who creates a document is, by default Owner of it and has complete rights to the document. It is possible to replace the owner of a document. I.e.: an employee must be owner of a document to be able to see it in “My Profile”.

Finally, different Actions are available at the bottom of the right panel, depending on the workspace where your document is stored.

工作流操作

Workflow actions help you streamline the management of your documents and your overall business operations. These are automated actions that can be created and customized for each workspace. For example, create documents, process bills, sign, organize files, add tags to a file or move it to another workspace with a single click etc. These workflow actions appear on the right panel when it meets the criteria you set.

创建工作流操作

To create workflow actions, go to Documents ‣ Configuration ‣ Actions and then click on Create.

注解

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

设置条件

您可以 创建 新的 操作 或编辑现有的。您可以定义 操作名称,并设置在选择文件时触发右侧面板上的操作按钮()的条件。

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

  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. guilabel:联系人:文件必须与此处设置的联系人相关联。

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

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

小技巧

如果您未设置任何条件,选定工作区内的所有文件旁将显示操作按钮。

高级条件类型:域

重要

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

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.

在Odoo文档管理应用程序中激活域条件类型

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.

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.

在Odoo中文档管理应用程序工作流操作条件中添加节点或分支

配置操作

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

  • 设置联系人:为文件添加联系人,或用新联系人替换现有联系人。

  • 设置所有人:为文件添加所有人,或用新所有人替换现有所有人。

  • 移至工作区:将文件移至任何工作区。

  • 创建:在数据库中创建附至文件的以下项目之一:

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

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

    • 签名请求:创建要发送的签名模板。

    • 直接签名:创建直接签名的签名模板。

    • 供应商账单:创建利用文字识别和人工智能技术从文件内容提取信息的供应商账单。

    • 客户开票:创建利用文字识别和人工智能技术从文件内容提取信息的客户开票。

    • 供应商退款单:创建利用文字识别和人工智能技术从文件内容提取信息的供应商退款单。

    • 退款单:创建利用文字识别和人工智能技术从文件内容提取信息的退款单。

    • 申请人:创建可以直接编辑的人力资源应用程序。

  • 设置标记:添加、删除和替换任意数量的标记。

  • 活动—将所有活动标记为已完成:将所有关联至文件的活动标记为已完成。

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

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

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

Documents available in the Finance workspace can be digitized. Select the document you want to digitize, click on Create Bill, Create Customer Invoice or Create credit note, and then click on Send for Digitization.