Odoo

grouping elements

Separator 视图上增加一条分割线,例:

The string attribute defines its label and the colspan attribute defines his horizontal size (in number of columns). Notebook

: 定义Tab页。With notebooks you can distribute the view fields on different tabs (each one defined by a page tag). You can use the tabpos properties to set tab at: up, down, left, right. 示例:

.... Group

: groups several columns and split the group in as many columns as desired. • colspan: the number of columns to use • rowspan: the number of rows to use • expand: if we should expand the group or not • col: the number of columns to provide (to its children) • string: (optional) If set, a frame will be drawn around the group of fields, with a label containing the string. Otherwise, the frame will be invisible. Example ``` python

```

Page Defines a new notebook page for the view. Example

... : • string: defines the name of the page.