OpenERP资源目录之间的映射

Each directory can either have the type Static or Folders per resource. A static directory, as with operating systems, is the classic directory that can contain a set of files. On the other hand, the directories linked to systems resources automatically possess sub-directories for each of the resource types defined in the parent directory.

小技巧

英文目录

To keep them synchronized to the working language, directory names are not translatable. But OpenERP’s demonstration data automatically creates directories in English. You can rename them through the menu Knowledge ‣ Configuration ‣ Document Management ‣ Directories.

For example, you can look at the directory shown in Documents ‣ Sales Order ‣ All Sales Order. You will see the directory for all the orders present in OpenERP that was created automatically by the system.

/doc_static/6.0/_images/document_sale.png

Orders in OpenERP

/doc_static/6.0/_images/document_ftp_sale.png

所有存放在文档管理系统中的订单目录

Directories can follow a tree structure, like the tree of resources in OpenERP. For example, if you go to the directory Documents ‣ Projects you will see the structure of the analytic accounts.

To define a directory containing a specific type of resource, you have to define parameters when you define the directory itself:

  • Type类型 : 资源文件夹

  • Resource model : 选择一个系统项目

  • Domain : an event filtered so that it sees only a subset of the resources

  • Tree Structure : to show the resources hierarchically

/doc_static/6.0/_images/document_dir_form.png

Configuration of the directory containing All Sales Orders

This is a very flexible approach because any modification of the resource in OpenERP is automatically reflected in the document management system. So when the quotation gets confirmed in OpenERP the directory no longer appears as a quotation through FTP access.

Here are some examples of directories linked to OpenERP resources that could be helpful when configured in the document management system:

  • Quotations and Order: storing documents that relate to orders,

  • Products: for storing products’ technical datasheets,

  • 用户:自动定义一个目录系统的每个用户拥有的,

  • Employees: to store documents about employees, such as their CVs, your interview notes, contract details, and their annual assessments,

  • Support Requests: storing items about requests or about technical support responses,

  • Analytic Accounts or Project: to store project management and tracking documents.