Add expand on tree view
and unify layout of form view. issue8644 review262131002
This commit is contained in:
1 parent
1348fb8ba3
commit
b03f7ee36d
12 files changed
+32
-32
No files matched your search
@@ -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. -->
|
||||
<data>
|
||||
<xpath expr="/form/group[@id='checkboxes']" position="inside">
|
||||
<xpath expr="/form/group[@id='checkboxes']/field[@name='active']" position="after">
|
||||
<label name="invoice"/>
|
||||
<field name="invoice" xexpand="0" width="25"/>
|
||||
</xpath>
|
||||
|
||||
@@ -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. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='active']" position="after">
|
||||
<xpath expr="/tree/field[@name='party']" position="after">
|
||||
<field name="invoice"/>
|
||||
</xpath>
|
||||
</data>
|
||||
+10
-9
@@ -28,10 +28,10 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="currency"/>
|
||||
<field name="lines" colspan="6"
|
||||
view_ids="account_invoice.invoice_line_view_tree_sequence"/>
|
||||
<group col="2" colspan="6" id="taxes_amount_state_buttons">
|
||||
<group col="2" colspan="6" id="taxes_amount_state">
|
||||
<field name="taxes"
|
||||
view_ids="account_invoice.invoice_tax_view_tree_sequence"/>
|
||||
<group col="4" colspan="1" id="amount_state_buttons" yfill="1">
|
||||
<group col="4" colspan="1" id="amount_state" yfill="1">
|
||||
<group col="2" colspan="2" id="reconciled_state" yfill="1">
|
||||
<label name="reconciled"/>
|
||||
<field name="reconciled"/>
|
||||
@@ -46,13 +46,6 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="total_amount" xalign="1.0" xexpand="1"/>
|
||||
<field name="total_amount" xalign="1.0" xexpand="0"/>
|
||||
</group>
|
||||
<group col="-1" colspan="4" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft" icon="tryton-back"/>
|
||||
<button name="validate_invoice" icon="tryton-forward"/>
|
||||
<button name="post" icon="tryton-ok"/>
|
||||
<button name="pay" icon="tryton-forward"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
@@ -82,5 +75,13 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="reconciliation_lines" colspan="4" view_ids="account_invoice.move_line_view_list_payment"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<label id="empty" colspan="3"/>
|
||||
<group col="-1" colspan="3" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft" icon="tryton-back"/>
|
||||
<button name="validate_invoice" icon="tryton-forward"/>
|
||||
<button name="post" icon="tryton-ok"/>
|
||||
<button name="pay" icon="tryton-forward"/>
|
||||
</group>
|
||||
<field name="party_lang" invisible="1" colspan="6"/>
|
||||
</form>
|
||||
@@ -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="invoice"/>
|
||||
<field name="invoice" expand="1"/>
|
||||
<field name="type"/>
|
||||
<field name="product"/>
|
||||
<field name="account"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="account" expand="1"/>
|
||||
<field name="quantity"/>
|
||||
<field name="unit"/>
|
||||
<field name="unit_price"/>
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
<!-- 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="invoice"/>
|
||||
<field name="invoice" expand="1"/>
|
||||
<field name="type"/>
|
||||
<field name="product"/>
|
||||
<field name="account"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="account" expand="1"/>
|
||||
<field name="quantity"/>
|
||||
<field name="unit"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="taxes"/>
|
||||
<field name="amount" expand="1"/>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
@@ -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="invoice"/>
|
||||
<field name="tax"/>
|
||||
<field name="description"/>
|
||||
<field name="account"/>
|
||||
<field name="invoice" expand="1"/>
|
||||
<field name="tax" expand="1"/>
|
||||
<field name="description" expand="1"/>
|
||||
<field name="account" expand="1"/>
|
||||
<field name="manual"/>
|
||||
<field name="base"/>
|
||||
<field name="amount"/>
|
||||
|
||||
@@ -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 sequence="sequence">
|
||||
<field name="description"/>
|
||||
<field name="description" expand="1"/>
|
||||
<field name="base"/>
|
||||
<field name="amount" expand="1"/>
|
||||
<field name="amount"/>
|
||||
<field name="sequence" tree_invisible="1"/>
|
||||
<field name="manual" tree_invisible="1"/>
|
||||
<field name="account" tree_invisible="1"/>
|
||||
|
||||
@@ -6,14 +6,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="number"/>
|
||||
<field name="reference"/>
|
||||
<field name="invoice_date"/>
|
||||
<field name="party"/>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="currency"/>
|
||||
<field name="untaxed_amount"/>
|
||||
<field name="tax_amount"/>
|
||||
<field name="total_amount"/>
|
||||
<field name="state"/>
|
||||
<field name="amount_to_pay_today"/>
|
||||
<field name="description"/>
|
||||
<field name="description" expand="1"/>
|
||||
<button name="cancel" tree_invisible="1"/>
|
||||
<button name="draft" tree_invisible="1"/>
|
||||
<button name="validate_invoice" tree_invisible="1"/>
|
||||
|
||||
@@ -8,6 +8,4 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="amount_second_currency"
|
||||
sum="Amount Second Currency"/>
|
||||
<field name="second_currency"/>
|
||||
<field name="currency_digits" tree_invisible="1"/>
|
||||
<field name="second_currency_digits" tree_invisible="1"/>
|
||||
</tree>
|
||||
@@ -2,6 +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="company"/>
|
||||
<field name="name"/>
|
||||
<field name="name" expand="2"/>
|
||||
<field name="journal" expand="1"/>
|
||||
<field name="company" expand="1"/>
|
||||
</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>
|
||||
<field name="payment"/>
|
||||
<field name="payment" expand="1"/>
|
||||
<field name="type"/>
|
||||
<field name="ratio" factor="100">
|
||||
<suffix string="%" name="ratio"/>
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
<!-- 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="name" expand="1"/>
|
||||
</tree>
|
||||
Reference in new issue
Block a user