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:09 +02:00
1 parent 33ca3d1132
commit 3ce57dbaa8
7 files changed
+23 -25

No files matched your search

+5 -5
View File
@@ -1,11 +1,11 @@
<?xml version="1.0"?>
<form>
<form col="6">
<label name="country_code"/>
<field name="country_code"/>
<label name="active"/>
<field name="active"/>
<label name="language_code"/>
<field name="language_code"/>
<separator name="format_" colspan="4"/>
<field name="format_" colspan="4"/>
<label name="active"/>
<field name="active"/>
<separator name="format_" colspan="6"/>
<field name="format_" colspan="6"/>
</form>
+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="party"/>
<field name="party" expand="2"/>
<field name="party_name"/>
<field name="name"/>
<field name="zip"/>
+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 sequence="sequence">
<field name="party"/>
<field name="party" expand="2"/>
<field name="party_name"/>
<field name="name"/>
<field name="zip"/>
+10 -11
View File
@@ -1,10 +1,17 @@
<?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="6">
<form>
<label name="party"/>
<field name="party" colspan="3"/>
<newline/>
<field name="party"/>
<group col="-1" colspan="2" id="checkboxes">
<label name="active"/>
<field name="active"
xexpand="0" width="25"/>
<!-- Add here some checkboxes ! -->
<label name="sequence"/>
<field name="sequence"/>
</group>
<label name="type"/>
<field name="type"/>
<group col="2" colspan="2" id="value">
@@ -19,16 +26,8 @@ this repository contains the full copyright notices and license terms. -->
<label name="sip"/>
<field name="sip" widget="sip"/>
</group>
<group col="-1" colspan="2" id="checkboxes">
<label name="active"/>
<field name="active"
xexpand="0" width="25"/>
<!-- Add here some checkboxes ! -->
</group>
<label name="name"/>
<field name="name" colspan="3"/>
<label name="sequence"/>
<field name="sequence"/>
<separator name="comment" colspan="6"/>
<field name="comment" colspan="6"/>
</form>
+3 -4
View File
@@ -3,8 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="type"/>
<field name="value"/>
<field name="name"/>
<field name="party"/>
<field name="active"/>
<field name="value" expand="1"/>
<field name="name" expand="1"/>
<field name="party" expand="2"/>
</tree>
+2 -2
View File
@@ -5,7 +5,7 @@ this repository contains the full copyright notices and license terms. -->
editable="bottom">
<field name="type"/>
<field name="value" expand="1"/>
<field name="name"/>
<field name="party"/>
<field name="name" expand="1"/>
<field name="party" expand="2"/>
<field name="url" widget="url"/>
</tree>
+1 -1
View File
@@ -3,7 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="code"/>
<field name="name"/>
<field name="name" expand="1"/>
<field name="lang"/>
<field name="tax_identifier"/>
</tree>