- Odoo 11 Development Essentials(Third Edition)
- Daniel Reis
- 65字
- 2021-08-27 19:32:44
Using groups to organize forms
The <group> tag allows you to organize the form content. Placing <group> elements inside a <group> element creates a two-column layout inside the outer group. Group elements are advised to have a name attribute so that its easier for other modules to extend them.
We will use this to better organize our content. Let's change the <sheet> content of our form to match this:
<sheet> <group name="group_top"> <group name="group_left"> <field name="name" />
<field name="user_id" /> <field name="is_done" />
</group> <group name="group_right"> <field name="date_deadline" /> <field name="team_ids" widget="many2many_tags" />
<field name="active" readonly="1" /> </group> </group> </sheet>
推薦閱讀
- 從原始數據到分析報告:Excel數據透視表高效達人養成記
- 快·易·通:2天學會Office辦公應用(2016版)
- 和秋葉一起學:秒懂Excel
- Word/Excel 2010辦公應用從入門到精通
- MATLAB R2020a完全自學一本通
- Project 2010企業項目管理實踐
- Excel高效辦公:公司表格設計(修訂版)
- 非常Easy:Excel行政與文秘高效辦公
- 隨身查: 一小時搞定你想要的PPT
- 新編Word/Excel/PPT商務辦公應用大全(2016實戰精華版)
- Word/Excel/PPT從入門到精通
- 和秋葉一起學:秒懂PPT
- Word/Excel/PPT 2007入門與提高
- WOW!電腦辦公可以這樣簡單
- 極簡辦公:職場Word基礎課