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 0debbc4862
commit 02ec25771d
4 files changed
+14 -10

No files matched your search

+2 -2
View File
@@ -3,9 +3,9 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="company_tax_identifier" tree_invisible="1"/>
<field name="party" expand="1"/>
<field name="party_tax_identifier" expand="1"/>
<field name="code"/>
<field name="party"/>
<field name="party_tax_identifier"/>
<field name="amount"/>
<field name="currency"/>
</tree>
+5 -3
View File
@@ -2,8 +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. -->
<data>
<xpath expr="/form/field[@name='parent']" position="after">
<label name="aeat_report"/>
<field name="aeat_report"/>
<xpath expr="//notebook" position="inside">
<page name="aeat_report">
<label name="aeat_report"/>
<field name="aeat_report"/>
</page>
</xpath>
</data>
+5 -3
View File
@@ -2,8 +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. -->
<data>
<xpath expr="/form/field[@name='parent']" position="after">
<label name="aeat_report"/>
<field name="aeat_report"/>
<xpath expr="//notebook" position="inside">
<page name="aeat_report">
<label name="aeat_report"/>
<field name="aeat_report"/>
</page>
</xpath>
</data>
+2 -2
View File
@@ -3,9 +3,9 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="company_tax_identifier" tree_invisible="1"/>
<field name="party" expand="2"/>
<field name="party_tax_identifier" expand="1"/>
<field name="code"/>
<field name="party"/>
<field name="party_tax_identifier"/>
<field name="province_code"/>
<field name="amount"/>
<field name="first_period_amount"/>