changeset 49fa589a7bd4 in modules/analytic_account:default
details: 
https://hg.tryton.org/modules/analytic_account?cmd=changeset;node=49fa589a7bd4
description:
        Position new record based on order

        We sent an order to the client for action and xxx2Many so its screen has
        always a default order set.
        To position a new record on non editable tree, we use the order of the 
'id'
        column if presents.

        issue8880
        review276501003
diffstat:

 view/account_distribution_list.xml   |  2 +-
 view/analytic_account_entry_tree.xml |  2 +-
 view/line_tree.xml                   |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r b5537bc01354 -r 49fa589a7bd4 view/account_distribution_list.xml
--- a/view/account_distribution_list.xml        Fri Dec 06 17:33:46 2019 +0100
+++ b/view/account_distribution_list.xml        Sat Dec 28 18:16:28 2019 +0100
@@ -1,7 +1,7 @@
 <?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. -->
-<tree editable="bottom">
+<tree editable="1">
     <field name="parent"/>
     <field name="account"/>
     <field name="ratio" factor="100">
diff -r b5537bc01354 -r 49fa589a7bd4 view/analytic_account_entry_tree.xml
--- a/view/analytic_account_entry_tree.xml      Fri Dec 06 17:33:46 2019 +0100
+++ b/view/analytic_account_entry_tree.xml      Sat Dec 28 18:16:28 2019 +0100
@@ -1,7 +1,7 @@
 <?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. -->
-<tree editable="bottom">
+<tree editable="1">
     <field name="root" expand="1"/>
     <field name="account" expand="2"/>
     <field name="origin" expand="1"/>
diff -r b5537bc01354 -r 49fa589a7bd4 view/line_tree.xml
--- a/view/line_tree.xml        Fri Dec 06 17:33:46 2019 +0100
+++ b/view/line_tree.xml        Sat Dec 28 18:16:28 2019 +0100
@@ -1,7 +1,7 @@
 <?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. -->
-<tree editable="top">
+<tree editable="1">
     <field name="move_line"/>
     <field name="account" expand="1"/>
     <field name="date"/>

Reply via email to