trytond-patches/party_after_account.diff

40 lines
1.5 KiB
Diff

# HG changeset patch
# User Cédric Krier <ced@b2ck.com>
# Date 1418659399 -3600
# Mon Dec 15 17:03:19 2014 +0100
# Node ID b03d02a0f664a87fa2bb77021a2654bcc39a2c26
# Parent 31de0a6f728459962f36db68456cfc6ed619b99b
Move party after account
Since changeset b122de923ef9, party visiblity depends on the account so it is
better to move the field after the account.
review5851002
diff -r 31de0a6f7284 -r b03d02a0f664 view/move_line_tree.xml
--- a/trytond/trytond/modules/account/view/move_line_tree.xml Mon Dec 08 16:18:41 2014 +0100
+++ b/trytond/trytond/modules/account/view/move_line_tree.xml Mon Dec 15 17:03:19 2014 +0100
@@ -9,8 +9,8 @@
<field name="description"/>
<field name="move_description"/>
<field name="date"/>
+ <field name="account"/>
<field name="party"/>
- <field name="account"/>
<field name="debit" sum="Debit"/>
<field name="credit" sum="Credit"/>
<field name="tax_lines"/>
diff -r 31de0a6f7284 -r b03d02a0f664 view/move_line_tree_move.xml
--- a/trytond/trytond/modules/account/view/move_line_tree_move.xml Mon Dec 08 16:18:41 2014 +0100
+++ b/trytond/trytond/modules/account/view/move_line_tree_move.xml Mon Dec 15 17:03:19 2014 +0100
@@ -4,8 +4,8 @@
<tree string="Account Move Lines" editable="top">
<field name="move"/>
<field name="description"/>
+ <field name="account"/>
<field name="party"/>
- <field name="account"/>
<field name="debit" sum="Debit"/>
<field name="credit" sum="Credit"/>
<field name="tax_lines"/>