Introduction to Views

As all data of the program is stored in objects, as explained in the Objects section, how are these objects exposed to the user ? We will try to answer this question in this section.

首先注意每个资源类型有自己的界面。例如,修改一个合作伙伴数据的显示不同于修改invoice。

Then, you have to know that the OpenERP user interface is dynamic, it means that it is not described “statically” by some code, but dynamically built from XML descriptions of the client screens.

从现在起,我们称这些为screen descriptions views。

A notable characteristic of these views is that they can be edited at any moment (even during the program execution). After a modification to a displayed view has occurred, you simply need to close the tab corresponding to that ‘view’ and re-open it for the changes to appear.

Views principles

视图描述了每个对象是如何显示的。更准确的说,对每个对象,我们可以定义一个或几个视图来描述哪个字段要显示和如何显示。

视图有两种:

  1. 表单视图

  2. 列表视图

注解

Since OpenERP 4.1, form views can also contain graphs.