Add expand on tree view

and unify layout of form view.

issue8644
review262131002
This commit is contained in:
Cédric Krier committed 2019-09-28 23:59:10 +02:00
1 parent 970ebc4097
commit 4802ee5611
35 files changed
+107 -80

No files matched your search

+12
View File
@@ -32,5 +32,17 @@ this repository contains the full copyright notices and license terms. -->
</record>
<menuitem parent="ir.menu_models"
action="act_export_form" id="menu_export_form"/>
<record model="ir.ui.view" id="export_line_view_form">
<field name="model">ir.export.line</field>
<field name="type">form</field>
<field name="name">export_line_form</field>
</record>
<record model="ir.ui.view" id="export_line_view_tree">
<field name="model">ir.export.line</field>
<field name="type">tree</field>
<field name="name">export_line_list</field>
</record>
</data>
</tryton>
+3 -3
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="res_model"/>
<field name="domain"/>
<field name="name" expand="2"/>
<field name="res_model" expand="1"/>
<field name="domain" expand="1"/>
</tree>
+2 -2
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="action"/>
<field name="model"/>
<field name="action" expand="2"/>
<field name="model" expand="1"/>
<field name="keyword"/>
</tree>
+2 -2
View File
@@ -2,6 +2,6 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="type"/>
<field name="name" expand="2"/>
<field name="type" expand="1"/>
</tree>
+4 -4
View File
@@ -2,9 +2,9 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="type"/>
<field name="model"/>
<field name="report_name"/>
<field name="name" expand="2"/>
<field name="type" expand="1"/>
<field name="model" expand="1"/>
<field name="report_name" expand="1"/>
</tree>
+3 -3
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="type"/>
<field name="url"/>
<field name="name" expand="2"/>
<field name="type" expand="1"/>
<field name="url" expand="1"/>
</tree>
+3 -3
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="type"/>
<field name="wiz_name"/>
<field name="name" expand="2"/>
<field name="type" expand="1"/>
<field name="wiz_name" expand="1"/>
</tree>
+5 -5
View File
@@ -2,16 +2,16 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree editable="top">
<field name="resource"/>
<field name="name"/>
<field name="summary"/>
<field name="last_user"/>
<field name="resource" expand="2"/>
<field name="name" expand="2"/>
<field name="summary" expand="1"/>
<field name="last_user" expand="1"/>
<field name="last_modification" widget="date"/>
<field name="last_modification" widget="time"
string="Last Modification Time"/>
<field name="type"/>
<field name="data"/>
<field name="link" widget="url"/>
<field name="link" widget="url" expand="1"/>
<!-- To allow client to set description field -->
<field name="description" tree_invisible="1"/>
</tree>
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="method"/>
<field name="method" expand="1"/>
<field name="next_call" widget="date"/>
<field name="next_call" widget="time"/>
<field name="interval_number"/>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="2">
<label name="export"/>
<field name="export"/>
<label name="name"/>
<field name="name"/>
</form>
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="export" expand="1"/>
<field name="name" expand="1"/>
</tree>
+2 -2
View File
@@ -2,6 +2,6 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="resource"/>
<field name="name" expand="1"/>
<field name="resource" expand="1"/>
</tree>
+2 -3
View File
@@ -2,8 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree sequence="sequence">
<field name="name" icon="name"/>
<field name="name" icon="name" expand="2"/>
<field name="module"/>
<field name="path"/>
<field name="sequence" tree_invisible="1"/>
<field name="path" expand="1"/>
</tree>
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree editable="top">
<field name="name"/>
<field name="name" expand="1"/>
<field name="code"/>
<field name="direction"/>
<field name="translatable"/>
+2 -2
View File
@@ -18,6 +18,6 @@ this repository contains the full copyright notices and license terms. -->
<label name="perm_delete"/>
<field name="perm_delete"/>
</group>
<separator name="description" colspan="4"/>
<field name="description" colspan="4"/>
<separator name="description" colspan="6"/>
<field name="description" colspan="6"/>
</form>
+2 -2
View File
@@ -6,6 +6,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="perm_write"/>
<field name="perm_create"/>
<field name="perm_delete"/>
<field name="model"/>
<field name="group"/>
<field name="model" expand="1"/>
<field name="group" expand="1"/>
</tree>
+3 -3
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="button"/>
<field name="record_id"/>
<field name="user"/>
<field name="button" expand="2"/>
<field name="record_id" expand="1"/>
<field name="user" expand="1"/>
</tree>
+2 -2
View File
@@ -2,6 +2,6 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="model"/>
<field name="name"/>
<field name="model" expand="1"/>
<field name="name" expand="1"/>
</tree>
+3 -3
View File
@@ -2,8 +2,8 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="button"/>
<field name="description"/>
<field name="button" expand="2"/>
<field name="description" expand="1"/>
<field name="number_user"/>
<field name="group"/>
<field name="group" expand="1"/>
</tree>
+2 -2
View File
@@ -3,8 +3,8 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="module"/>
<field name="model"/>
<field name="fs_id"/>
<field name="model" expand="1"/>
<field name="fs_id" expand="1"/>
<field name="db_id"/>
<field name="noupdate"/>
<field name="out_of_sync"/>
+2 -2
View File
@@ -6,6 +6,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="perm_write"/>
<field name="perm_create"/>
<field name="perm_delete"/>
<field name="field"/>
<field name="group"/>
<field name="field" expand="1"/>
<field name="group" expand="1"/>
</tree>
+4 -4
View File
@@ -2,10 +2,10 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="model"/>
<field name="name" expand="2"/>
<field name="model" expand="1"/>
<field name="ttype"/>
<field name="relation"/>
<field name="field_description"/>
<field name="relation" expand="1"/>
<field name="field_description" expand="1"/>
<field name="module"/>
</tree>
+3 -3
View File
@@ -2,9 +2,9 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="model"/>
<field name="info"/>
<field name="name" expand="2"/>
<field name="model" expand="1"/>
<field name="info" expand="1"/>
<field name="global_search_p"/>
<field name="module"/>
</tree>
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree editable="top">
<field name="action"/>
<field name="action" expand="1"/>
<field name="sequence"/>
<field name="state"/>
</tree>
+3 -3
View File
@@ -3,9 +3,9 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="unread"/>
<field name="resource"/>
<field name="last_user" string="User"/>
<field name="resource" expand="1"/>
<field name="last_user" string="User" expand="1"/>
<field name="last_modification" widget="date" string="Date"/>
<field name="last_modification" widget="time" string="Time"/>
<field name="message_wrapped" expand="1"/>
<field name="message_wrapped" expand="2"/>
</tree>
+2 -2
View File
@@ -6,8 +6,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="perm_write"/>
<field name="perm_create"/>
<field name="perm_delete"/>
<field name="model"/>
<field name="name"/>
<field name="model" expand="1"/>
<field name="name" expand="1"/>
<field name="global_p"/>
<field name="default_p"/>
</tree>
+2 -2
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="code"/>
<field name="name" expand="2"/>
<field name="code" expand="1"/>
<field name="type"/>
</tree>
+2 -2
View File
@@ -2,6 +2,6 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="code"/>
<field name="name" expand="2"/>
<field name="code" expand="1"/>
</tree>
+3 -3
View File
@@ -2,10 +2,10 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree editable="top">
<field name="src" widget="char"/>
<field name="value" widget="char"/>
<field name="src" widget="char" expand="2"/>
<field name="value" widget="char" expand="2"/>
<field name="fuzzy"/>
<field name="name"/>
<field name="name" expand="1"/>
<field name="lang"/>
<field name="type"/>
<field name="res_id"/>
+2 -2
View File
@@ -2,8 +2,8 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="model"/>
<field name="name" expand="1"/>
<field name="model" expand="1"/>
<field name="on_time"/>
<field name="on_create"/>
<field name="on_write"/>
+3 -3
View File
@@ -3,9 +3,9 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="priority"/>
<field name="model"/>
<field name="model" expand="2"/>
<field name="type"/>
<field name="inherit"/>
<field name="domain"/>
<field name="inherit" expand="1"/>
<field name="domain" expand="1"/>
<field name="field_childs"/>
</tree>
+2 -2
View File
@@ -2,6 +2,6 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="user"/>
<field name="user" expand="1"/>
<field name="name" expand="1"/>
</tree>
+3 -3
View File
@@ -2,8 +2,8 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="model"/>
<field name="domain"/>
<field name="user"/>
<field name="user" expand="1"/>
<field name="model" expand="1"/>
<field name="domain" expand="1"/>
<field name="child_name"/>
</tree>
+3 -3
View File
@@ -2,8 +2,8 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="model"/>
<field name="field"/>
<field name="user"/>
<field name="model" expand="1"/>
<field name="field" expand="1"/>
<field name="user" expand="1"/>
<field name="width"/>
</tree>
+2 -2
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="login"/>
<field name="name" expand="2"/>
<field name="login" expand="1"/>
<field name="sessions"/>
</tree>