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:08 +02:00
1 parent ccf16bcb84
commit 2f3cb5fe62
3 files changed
+13 -15

No files matched your search

+9 -11
View File
@@ -23,17 +23,6 @@
<notebook colspan="6">
<page string="Lines" id="lines">
<field name="lines" colspan="4"/>
<group col="4" colspan="4" id="state_buttons">
<label name="state"/>
<field name="state"/>
<group col="-1" colspan="2" id="buttons">
<button name="clear_lines" icon="tryton-clear"/>
<button name="create_lines" icon="tryton-launch"/>
<button name="update" icon="tryton-create"/>
<button name="run" icon="tryton-forward"/>
<button name="close" icon="tryton-close"/>
</group>
</group>
</page>
<page string="Other Info" id="info">
<label name="company"/>
@@ -56,4 +45,13 @@
<field name="comment" colspan="4"/>
</page>
</notebook>
<label name="state"/>
<field name="state"/>
<group col="-1" colspan="4" id="buttons">
<button name="clear_lines" icon="tryton-clear"/>
<button name="create_lines" icon="tryton-launch"/>
<button name="update" icon="tryton-create"/>
<button name="run" icon="tryton-forward"/>
<button name="close" icon="tryton-close"/>
</group>
</form>
+2 -2
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="asset"/>
<field name="asset" expand="2"/>
<field name="date"/>
<field name="actual_value" expand="1"/>
<field name="depreciation" expand="1"/>
<field name="accumulated_depreciation" expand="1"/>
<field name="move"/>
<field name="move" expand="1"/>
</tree>
+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="number"/>
<field name="product"/>
<field name="number" expand="1"/>
<field name="product" expand="2"/>
<field name="start_date"/>
<field name="end_date"/>
<field name="value"/>